org.xiruss.repository.multiuser.api
Interface Session

All Superinterfaces:
RepositoryObject
All Known Implementing Classes:
NullSession, SessionBase, SessionProxy

public interface Session
extends RepositoryObject

Xiruss Repository server session.


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 interface org.xiruss.snapcm.api.RepositoryObject
accept, compareTo, getId, getName, getProperties, getProperty, getPropertyNames, getRepository, getType, hasProperty, initialize, isNull, setId, setName, setProperty, toString
 

Method Detail

getUser

User getUser()
Gets the user associated with this session.


initialize

void initialize(MultiUserRepository rep,
                java.lang.String objId,
                User user)

isActive

boolean isActive()
Returns true if the session is active (has not been closed by the user or by the server).


end

void end()
Ends a session, making it inactive