Package com.highdeal.admin.hci
Class DeleteUserSessionOp
java.lang.Object
com.highdeal.admin.hci.DeleteUserSessionOp
- All Implemented Interfaces:
MessageOperation,XMLMarshallable
This operation allows you to delete a user session from the list of running user sessions.
This operation can be used to delete a user session linked to a tool (user interface) that has been terminated abnormally and could not disconnect properly from the server system, thus preventing a new session to be opened with the same
The identifier of the user session to delete must be specified in the
If the session identifier of the user session is not set, or if the session identifier does not correspond to a running user session, an
This operation can be used to delete a user session linked to a tool (user interface) that has been terminated abnormally and could not disconnect properly from the server system, thus preventing a new session to be opened with the same
SAP CC user and tool.The identifier of the user session to delete must be specified in the
sessionId attribute of the operation.If the session identifier of the user session is not set, or if the session identifier does not correspond to a running user session, an
InvalidDeletionException with the reason does_not_exist
will be thrown.Operation Result
DeleteUserSessionResult XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="deleteUserSession">
<xs:complexType>
<xs:attribute name="sessionId" type="xs:string" use="optional" />
<xs:attribute name="login" type="xs:string" use="optional" />
<xs:attribute name="toolName" type="xs:string" use="optional"/>
</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
FieldsModifier and TypeFieldDescriptionstatic final StringThe XML tag name of this service operation: "deleteUserSession" -
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.getLogin()Gets the login of the user session(s) to delete.getName()Gets the XML name of the service operation.Gets the identifier of the user session to delete.Gets the name of the tool of the user session(s) to delete.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.voidSets the login of the user session(s) to delete.voidsetSessionId(String sessionId) Sets the identifier of the user session to delete.voidsetToolName(String toolName) Sets the name of the tool of the user session(s) to delete.
-
Field Details
-
OPERATION_NAME
The XML tag name of this service operation: "deleteUserSession"- See Also:
-
-
Constructor Details
-
DeleteUserSessionOp
public DeleteUserSessionOp()Builds an empty DeleteUserSessionOp.
-
-
Method Details
-
getSessionId
Gets the identifier of the user session to delete.- Returns:
- The identifier of the user session to delete
-
setSessionId
Sets the identifier of the user session to delete.- Parameters:
sessionId- The identifier of the user session to delete
-
getLogin
Gets the login of the user session(s) to delete.- Returns:
- The login of the user session(s) to delete
-
setLogin
Sets the login of the user session(s) to delete.- Parameters:
login- The login of the user session(s) to delete
-
setToolName
Sets the name of the tool of the user session(s) to delete.- Parameters:
toolName- The name of the tool of the user session(s) to delete
-
getToolName
Gets the name of the tool of the user session(s) to delete.- Returns:
- The name of the tool of the user session(s) to delete
-
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
-
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
-