public interface SessionContext extends EventContext
EventContext to hold a Session. This is used by the
 SessionManager to store information in the SessionCache.| Modifier and Type | Interface and Description | 
|---|---|
| static class  | SessionContext.CountSynchronized counter which can be passed between  SessionContextinstances as they are recreated. | 
| Modifier and Type | Method and Description | 
|---|---|
| SessionContext.Count | count()Returns the  SessionContext.Countinstance held by this context. | 
| Session | getSession() | 
| java.util.List<java.lang.String> | getUserRoles() | 
| void | setShareId(java.lang.Long shareId)The Share id is the only mutable bit in the  SessionContext. | 
| SessionStats | stats()Return a  SessionStatsimplementation for this session. | 
getCurrentAdminPrivileges, getCurrentEventId, getCurrentEventType, getCurrentGroupId, getCurrentGroupName, getCurrentGroupPermissions, getCurrentSessionId, getCurrentSessionUuid, getCurrentShareId, getCurrentSudoerId, getCurrentSudoerName, getCurrentUserId, getCurrentUserName, getLeaderOfGroupsList, getMemberOfGroupsList, isCurrentUserAdmin, isReadOnlySession getSession()
java.util.List<java.lang.String> getUserRoles()
void setShareId(java.lang.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.
                
                
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.