Package com.highdeal.admin.hci
Class DeleteUserSessionResult
java.lang.Object
com.highdeal.admin.hci.DeleteUserSessionResult
- All Implemented Interfaces:
OperationResult,XMLMarshallable
This operation result is sent in response to a
Delete User Session operation when the
user session has been successfully deleted.
The identifier of the deleted session is stored in the sessionId attribute.
Operation Request
DeleteUserSessionOp XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="deleteUserSessionResult">
<xs:complexType>
<xs:attribute name="count" type="xs:integer" use="required"/>
<xs:attribute name="sessionId" type="xs:string" />
</xs:complexType>
</xs:element>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe XML name of the operation result: "deleteUserSessionResult" -
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.intgetCount()Gets the count of the deleted user session.Gets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference isnull.Gets the identifier of the deleted user session.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.voidsetCount(int count) Sets the count of the deleted user session.voidsetSessionId(String sessionId) Sets the identifier of the deleted user session.
-
Field Details
-
OPERATION_NAME
The XML name of the operation result: "deleteUserSessionResult"- See Also:
-
-
Constructor Details
-
DeleteUserSessionResult
public DeleteUserSessionResult()Builds an empty DeleteUserSessionResult.
-
-
Method Details
-
getCount
public int getCount()Gets the count of the deleted user session.- Returns:
- The count of the deleted user session
-
setCount
public void setCount(int count) Sets the count of the deleted user session.- Parameters:
count- The count of the deleted user session
-
getSessionId
Gets the identifier of the deleted user session.- Returns:
- The identifier of the deleted user session
-
setSessionId
Sets the identifier of the deleted user session.- Parameters:
sessionId- The identifier of the deleted user session
-
getOperandReference
Description copied from interface:OperationResultGets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference isnull.- Specified by:
getOperandReferencein interfaceOperationResult- Returns:
- The operand reference of the operation result
-
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
-