public class DeleteUserSessionResult extends Object implements OperationResult
Delete User Session operation when the
user session has been successfully deleted.
The identifier of the deleted session is stored in the sessionId attribute.
DeleteUserSessionOp 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>
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME
The XML name of the operation result: "deleteUserSessionResult"
|
| Constructor and Description |
|---|
DeleteUserSessionResult()
Builds an empty DeleteUserSessionResult.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String data)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
int |
getCount()
Gets the count of the deleted user session.
|
String |
getOperandReference()
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 is
null. |
String |
getSessionId()
Gets the identifier of the deleted user session.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setCount(int count)
Sets the count of the deleted user session.
|
void |
setSessionId(String sessionId)
Sets the identifier of the deleted user session.
|
public static final String OPERATION_NAME
public DeleteUserSessionResult()
public int getCount()
public void setCount(int count)
count - The count of the deleted user sessionpublic String getSessionId()
public void setSessionId(String sessionId)
sessionId - The identifier of the deleted user sessionpublic String getOperandReference()
OperationResultnull.getOperandReference in interface OperationResultpublic void addCharacterData(String data)
XMLMarshallableaddCharacterData in interface XMLMarshallabledata - The character data to be addedpublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current element