@MTOM(enabled=true,
threshold=2048)
public class DmSoapOrganization
extends DmSoapService
Modifier and Type | Field and Description |
---|---|
protected javax.xml.ws.WebServiceContext |
_context
The WebServiceContext that called this service.
|
Constructor and Description |
---|
DmSoapOrganization() |
Modifier and Type | Method and Description |
---|---|
int |
createOrganization(OrganizationInfo organizationInfo,
java.lang.String reason)
Web service operation for the CreateOrganizationCmd.
|
void |
deleteOrganization(java.lang.String abbreviation,
java.lang.String reason)
Web service operation for the DeleteOrganizationCmd.
|
boolean |
exists(java.lang.String abbreviation)
Web service operation to see if the specified organization exists.
|
void |
modifyOrganization(java.lang.String abbreviation,
OrganizationInfo newOrganizationInfo,
java.lang.String reason)
Web service operation for the ModifyOrganizationCmd.
|
OrganizationInfo |
showOrganization(java.lang.String abbreviation)
Web service operation for showing a specific organization
specified by the abbreviation.
|
protected javax.xml.ws.WebServiceContext _context
public int createOrganization(OrganizationInfo organizationInfo, java.lang.String reason) throws DmSoapException
organizationInfo
- A OrganizationInfo object for the org 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 deleteOrganization(java.lang.String abbreviation, java.lang.String reason) throws DmSoapException
abbreviation
- The organization 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 organization abbreviation.DmSoapException
- A DmSoapException if an error occurs.public void modifyOrganization(java.lang.String abbreviation, OrganizationInfo newOrganizationInfo, java.lang.String reason) throws DmSoapException
abbreviation
- The abbreviation of the existing org to modify.newOrganizationInfo
- A modified OrganizationInfo object.reason
- The reason for executing this command, or null to use
the default SOAP TechDoc reason.DmSoapException
- A DmSoapException if an error occurs.public OrganizationInfo showOrganization(java.lang.String abbreviation) throws DmSoapException
abbreviation
- The organization abbreviation.DmSoapException
- A DmSoapException if an error occurs.