|
||||||||||
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
.
Nested Class Summary | |
---|---|
static class |
SessionContext.Count
Synchronized counter which can be passed between SessionContext
instances as they are recreated. |
Method Summary | |
---|---|
SessionContext.Count |
count()
Returns the SessionContext.Count instance held by this context. |
ome.model.meta.Session |
getSession()
|
List<String> |
getUserRoles()
|
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.
SessionContext.Count count()
SessionContext.Count
instance held by this context. This may be
shared with other contexts, so that in critical phases as when the context
is being copied, the reference count will be kept in sync.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.