@MTOM(enabled=true,
threshold=2048)
public class DmSoapMetricType
extends DmSoapService
Modifier and Type | Field and Description |
---|---|
protected javax.xml.ws.WebServiceContext |
_context
The WebServiceContext that called this service.
|
Constructor and Description |
---|
DmSoapMetricType() |
Modifier and Type | Method and Description |
---|---|
int |
createMetricType(MetricTypeInfo metricTypeInfo,
java.lang.String reason)
Web service operation for the CreateMetricTypeCmd.
|
void |
deleteMetricType(java.lang.String name,
java.lang.String reason)
Web service operation for the DeleteMetricTypeCmd.
|
boolean |
exists(java.lang.String name)
Web service operation to see if the specified metric type exists.
|
void |
modifyMetricType(java.lang.String name,
MetricTypeInfo newMetricTypeInfo,
java.lang.String reason)
Web service operation for the ModifyMetricTypeCmd.
|
MetricTypeInfo |
showMetricType(java.lang.String name)
Web service operation for showing a specific metric type specified by
the name.
|
protected javax.xml.ws.WebServiceContext _context
public int createMetricType(MetricTypeInfo metricTypeInfo, java.lang.String reason) throws DmSoapException
metricTypeInfo
- A MetricTypeInfo object for the metric type 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 deleteMetricType(java.lang.String name, java.lang.String reason) throws DmSoapException
name
- The metric type name.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 name) throws DmSoapException
name
- The metric type name.DmSoapException
- A DmSoapException if an error occurs.public void modifyMetricType(java.lang.String name, MetricTypeInfo newMetricTypeInfo, java.lang.String reason) throws DmSoapException
name
- The name of the metric type to modify.newMetricTypeInfo
- A modified MetricTypeInfo 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 MetricTypeInfo showMetricType(java.lang.String name) throws DmSoapException
name
- The metric type name.DmSoapException
- A DmSoapException if an error occurs.