Package com.highdeal.admin.hci
Class SetMaintenanceModeOp
java.lang.Object
com.highdeal.admin.hci.SetMaintenanceModeOp
- All Implemented Interfaces:
MessageOperation,XMLMarshallable
This operation allows to enable or disable the maintenance mode for the Core Server system.
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="setMaintenanceMode">
<xs:complexType>
<xs:attribute name="enabled" type="xs:boolean" use="required"/>
</xs:complexType>
</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
Constructors -
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()Gets the XML name of the service operation.booleanGets whether the maintenance mode is enabled.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.voidsetEnabled(boolean enabled) Sets whether the maintenance mode is enabled.
-
Field Details
-
OPERATION_NAME
The XML element name of the operation.- See Also:
-
ENABLED_NAME
The XML attribute name of the enabled status.- See Also:
-
-
Constructor Details
-
SetMaintenanceModeOp
public SetMaintenanceModeOp()
-
-
Method Details
-
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
-
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
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data 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
-
setEnabled
public void setEnabled(boolean enabled) Sets whether the maintenance mode is enabled.- Parameters:
enabled-trueif the maintenance mode is enabled,falseotherwise
-
isEnabled
public boolean isEnabled()Gets whether the maintenance mode is enabled.- Returns:
trueif the maintenance mode is enabled,falseotherwise
-
getName
Description copied from interface:MessageOperationGets the XML name of the service operation. This name identifies the operation request in the HCI messages. It is used to marshal theJava objectrepresenting an HCI operation into an XML representation that can be exchanged via the HCI communication interface between your client application and the SAP CC system.Example
activateAllping
- Specified by:
getNamein interfaceMessageOperation- Returns:
- The technical name of the HCI operation
-