Package com.highdeal.hci
Class DisconnectUserOp
java.lang.Object
com.highdeal.hci.DisconnectUserOp
- All Implemented Interfaces:
MessageOperation,XMLMarshallable
This operation allows you to close a user session that has been previously opened using the
Authenticate User operation.
The identifier of the user session must be specified in the operation, and must be the same as
the session identifier present in the originator of the enclosing envelope. Otherwise an
AuthenticationFailedException is thrown
with the reason invalid_session_id.
Other Related Operation
Authenticate User operation- See Also:
Operation Result
DisconnectUserResult Operation Failure Exceptions
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="disconnectUser">
<xs:complexType>
<xs:attribute name="sessionId" type="xs:string" 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 | Yes | No | No | No | No |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe XML tag name of this service operation: "disconnectUser" -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String data) 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.Gets the identifier of the user session to close.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.voidsetSessionId(String sessionId) Sets the identifier of the user session to close.
-
Field Details
-
OPERATION_NAME
The XML tag name of this service operation: "disconnectUser"- See Also:
-
-
Constructor Details
-
DisconnectUserOp
public DisconnectUserOp()Builds an empty DisconnectUserOp.
-
-
Method Details
-
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
-
getSessionId
Gets the identifier of the user session to close.- Returns:
- The identifier of the session to close
-
setSessionId
Sets the identifier of the user session to close.- Parameters:
sessionId- The identifier of the session to close
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
data- 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
-
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
-