Class StopChargingContractActivationOp
- All Implemented Interfaces:
MessageOperation,XMLMarshallable
Charging Contract Activate operation.
This operation sends a message to all the rater instances of the SAP CC system for stopping the current activation running on each of them. No parameter is required for this operation.
Normally, this operation should not take more than few seconds. However, if the server side cannot reach all the rater instances or if the rater instances do not send an acknowledge before a while of 30 seconds, the operation will be aborted and an "incomplete" status will be returned into the StopActivationResult.
In any case, (even if the returned status is set to "incomplete") this operation will release the activation running mutex which forbids to execute two activation processes in a concurrent way.
This operation returns a StopActivationResult which
will contain an execution status and the total count of activated charging contracts.
Operation Result:
StopActivationResultOperation Failure Exceptions
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="stopChargingContractActivation"> </xs:element>
Operation Availability
You can send this operation request in HCI messages to the following final target types of instances in the connected SAP CC system:
| Edition | Final Target Instances | |||||
| rater | updater | guider | bulkLoader | taxer | dispatcher | |
| charge | No | No | No | No | No | Yes |
Audit Domain
This operation is audited by the system as part of the audit domain: ADMINISTRATION. Consult the IT administrator.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty StopActivation Operation. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.getName()Returns the name of this operation is "stopChargingContractActivation".voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.
-
Field Details
-
OPERATION_NAME
- See Also:
-
-
Constructor Details
-
StopChargingContractActivationOp
public StopChargingContractActivationOp()Constructs an empty StopActivation Operation.
-
-
Method Details
-
getName
Returns the name of this operation is "stopChargingContractActivation".- Specified by:
getNamein interfaceMessageOperation- Returns:
- "stopActivation"
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-