|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xiruss.repository.server.RepositoryObjectBase
org.xiruss.repository.multiuser.server.SessionBase
public class SessionBase
| Field Summary | |
|---|---|
protected boolean |
isActive
|
| Fields inherited from class org.xiruss.repository.server.RepositoryObjectBase |
|---|
id, name, objectTypeConstant, properties, rep |
| Constructor Summary | |
|---|---|
SessionBase()
|
|
| 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.repository.server.RepositoryObjectBase |
|---|
accept, compareTo, getId, getName, getProperties, getProperty, getPropertyNames, getRepository, getType, hasProperty, initialize, initialize, isNull, setId, setName, setProperties, setProperty, setRepository, setType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, 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 |
| Field Detail |
|---|
protected boolean isActive
| Constructor Detail |
|---|
public SessionBase()
| Method Detail |
|---|
public User getUser()
Session
getUser in interface Session
public void initialize(MultiUserRepository rep,
java.lang.String objId,
User user)
initialize in interface Sessionpublic boolean isActive()
Session
isActive in interface Sessionpublic void end()
Session
end in interface Session
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||