|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionContext
Extends EventContext
to hold a Session
. This is used by the
SessionManager
to store information in the SessionCache
.
Method Summary | |
---|---|
int |
decrement()
Decrement the current reference count and return the
new value atomically. |
ome.model.meta.Session |
getSession()
|
List<String> |
getUserRoles()
|
int |
increment()
Increment the current reference count and return the
new value atomically. |
int |
refCount()
Return the current number of references which this session is aware of. |
void |
setShareId(Long shareId)
The Share id is the only mutable bit in the SessionContext . |
SessionStats |
stats()
Return a SessionStats implementation for this session. |
Methods inherited from interface ome.system.EventContext |
---|
getCurrentEventId, getCurrentEventType, getCurrentGroupId, getCurrentGroupName, getCurrentGroupPermissions, getCurrentSessionId, getCurrentSessionUuid, getCurrentShareId, getCurrentUserId, getCurrentUserName, getLeaderOfGroupsList, getMemberOfGroupsList, isCurrentUserAdmin, isReadOnly |
Method Detail |
---|
ome.model.meta.Session getSession()
List<String> getUserRoles()
void setShareId(Long shareId)
SessionContext
.
SessionStats stats()
SessionStats
implementation for this session.
int refCount()
int increment()
reference count
and return the
new value atomically.
int decrement()
reference count
and return the
new value atomically.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.