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 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()