public class SearchUserSessionResult extends Object implements OperationResult
Search User Session operation
that contains the list of user sessions currently running in the connected SAP CC system.
See UserSessionModel.
SearchUserSessionOp The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="searchUserSessionResult">
<xs:complexType>
<xs:sequence>
<xs:element ref="userSession" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchUserSessionResult.UserSessionModel
This
Java class represents a user session. |
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME
The XML tag name of the operation result:
OPERATION_NAME |
| Constructor and Description |
|---|
SearchUserSessionResult()
Builds an empty SearchUserSessionResult.
|
| 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. |
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. |
Vector<SearchUserSessionResult.UserSessionModel> |
getUserSessions()
Gets the list of
user sessions. |
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.
|
public static final String OPERATION_NAME
OPERATION_NAMEpublic SearchUserSessionResult()
public Vector<SearchUserSessionResult.UserSessionModel> getUserSessions()
user sessions.public 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