Package ome.system
Interface EventContext
-
- All Known Implementing Classes:
SimpleEventContext
public interface EventContext
manages authenticated principals and other context for a given event. Just as all API method calls take place in a transaction and a session (in that order), they also take place within an Event.- Since:
- 3.0
- See Also:
Experimenter
,ExperimenterGroup
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<ome.model.enums.AdminPrivilege>
getCurrentAdminPrivileges()
java.lang.Long
getCurrentEventId()
java.lang.String
getCurrentEventType()
java.lang.Long
getCurrentGroupId()
java.lang.String
getCurrentGroupName()
ome.model.internal.Permissions
getCurrentGroupPermissions()
java.lang.Long
getCurrentSessionId()
java.lang.String
getCurrentSessionUuid()
java.lang.Long
getCurrentShareId()
java.lang.Long
getCurrentSudoerId()
java.lang.String
getCurrentSudoerName()
java.lang.Long
getCurrentUserId()
java.lang.String
getCurrentUserName()
java.util.List<java.lang.Long>
getLeaderOfGroupsList()
java.util.List<java.lang.Long>
getMemberOfGroupsList()
boolean
isCurrentUserAdmin()
boolean
isReadOnly()
-
-
-
Method Detail
-
getCurrentShareId
java.lang.Long getCurrentShareId()
-
getCurrentSessionId
java.lang.Long getCurrentSessionId()
-
getCurrentSessionUuid
java.lang.String getCurrentSessionUuid()
-
getCurrentUserId
java.lang.Long getCurrentUserId()
-
getCurrentUserName
java.lang.String getCurrentUserName()
-
getCurrentSudoerId
java.lang.Long getCurrentSudoerId()
-
getCurrentSudoerName
java.lang.String getCurrentSudoerName()
-
getCurrentGroupId
java.lang.Long getCurrentGroupId()
-
getCurrentGroupName
java.lang.String getCurrentGroupName()
-
isCurrentUserAdmin
boolean isCurrentUserAdmin()
-
getCurrentAdminPrivileges
java.util.Set<ome.model.enums.AdminPrivilege> getCurrentAdminPrivileges()
-
isReadOnly
boolean isReadOnly()
-
getCurrentEventId
java.lang.Long getCurrentEventId()
-
getCurrentEventType
java.lang.String getCurrentEventType()
-
getMemberOfGroupsList
java.util.List<java.lang.Long> getMemberOfGroupsList()
-
getLeaderOfGroupsList
java.util.List<java.lang.Long> getLeaderOfGroupsList()
-
getCurrentGroupPermissions
ome.model.internal.Permissions getCurrentGroupPermissions()
-
-