|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xiruss.xirussrepository.client.RepositoryObjectProxy org.xiruss.xirussrepository.client.SessionProxy
public class SessionProxy
Trivial session object. Just used as a key for operations.
Field Summary |
---|
Fields inherited from class org.xiruss.xirussrepository.client.RepositoryObjectProxy |
---|
cHelper, logger, objectTypeCode, pathToMe |
Constructor Summary | |
---|---|
SessionProxy(XirussHttpApiClientHelper cHelper,
org.w3c.dom.Element dataSource)
|
Method Summary | |
---|---|
void |
end()
Ends a session, making it inactive |
User |
getUser()
Gets the user associated with this session. |
void |
initialize(MultiUserRepository rep,
java.lang.String objId,
User user)
|
boolean |
isActive()
Returns true if the session is active (has not been closed by the user or by the server). |
Methods inherited from class org.xiruss.xirussrepository.client.RepositoryObjectProxy |
---|
accept, compareTo, doPost, doStringReturnPost, equals, getBooleanValue, getId, getName, getOriginalClassName, getPathToMe, getProperties, getProperty, getPropertyNames, getRepository, getStringReturnValue, getStringSetReturnValue, getType, hasProperty, initialize, initialize, isNull, loadRepositoryObjectData, setId, setName, setProperty, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.xiruss.snapcm.api.RepositoryObject |
---|
accept, compareTo, getId, getName, getProperties, getProperty, getPropertyNames, getRepository, getType, hasProperty, initialize, isNull, setId, setName, setProperty, toString |
Constructor Detail |
---|
public SessionProxy(XirussHttpApiClientHelper cHelper, org.w3c.dom.Element dataSource) throws XirussRepositoryException
XirussRepositoryException
Method Detail |
---|
public User getUser()
Session
getUser
in interface Session
public void initialize(MultiUserRepository rep, java.lang.String objId, User user)
initialize
in interface Session
public boolean isActive()
Session
isActive
in interface Session
public void end()
Session
end
in interface Session
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |