@MTOM(enabled=true,
threshold=2048)
public class DmSoapEmployer
extends DmSoapService
Modifier and Type | Field and Description |
---|---|
protected javax.xml.ws.WebServiceContext |
_context
The WebServiceContext that called this service.
|
Constructor and Description |
---|
DmSoapEmployer() |
Modifier and Type | Method and Description |
---|---|
int |
createEmployer(EmployerInfo employerInfo,
java.lang.String reason)
Web service operation for the CreateEmployerCmd.
|
void |
deleteEmployer(java.lang.String abbreviation,
java.lang.String reason)
Web service operation for the DeleteEmployerCmd.
|
boolean |
exists(java.lang.String abbreviation)
Web service operation to see if the specified employer exists.
|
void |
modifyEmployer(java.lang.String abbreviation,
EmployerInfo newEmployerInfo,
java.lang.String reason)
Web service operation for the ModifyEmployerCmd.
|
EmployerInfo |
showEmployer(java.lang.String abbreviation)
Web service operation for showing a specific employer specified by the
abbreviation.
|
protected javax.xml.ws.WebServiceContext _context
public int createEmployer(EmployerInfo employerInfo, java.lang.String reason) throws DmSoapException
employerInfo
- A EmployerInfo object for the employer to create.reason
- The reason for executing this command, or null to use
the default SOAP TechDoc reason.DmSoapException
- A DmSoapException if an error occurs.public void deleteEmployer(java.lang.String abbreviation, java.lang.String reason) throws DmSoapException
abbreviation
- The employer abbreviation.reason
- The reason for executing this command, or null to use
the default SOAP TechDoc reason.DmSoapException
- A DmSoapException if an error occurs.public boolean exists(java.lang.String abbreviation) throws DmSoapException
abbreviation
- The employer abbreviation.DmSoapException
- A DmSoapException if an error occurs.public void modifyEmployer(java.lang.String abbreviation, EmployerInfo newEmployerInfo, java.lang.String reason) throws DmSoapException
abbreviation
- The employer abbreviation of the existing employer
to modify.newEmployerInfo
- A modified EmployerInfo object for the
employer abbreviation specified.reason
- The reason for executing this command, or null to use
the default SOAP TechDoc reason.DmSoapException
- A DmSoapException if an error occurs.public EmployerInfo showEmployer(java.lang.String abbreviation) throws DmSoapException
abbreviation
- The employer abbreviation.DmSoapException
- A DmSoapException if an error occurs.