ome.system
Interface EventContext

All Known Subinterfaces:
SessionContext
All Known Implementing Classes:
SessionContextImpl, 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
Version:
$Revision$, $Date$
Author:
Josh Moore, josh.moore at gmx.de
See Also:
Experimenter, ExperimenterGroup

Method Summary
 Long getCurrentEventId()
           
 String getCurrentEventType()
           
 Long getCurrentGroupId()
           
 String getCurrentGroupName()
           
 ome.model.internal.Permissions getCurrentGroupPermissions()
           
 Long getCurrentSessionId()
           
 String getCurrentSessionUuid()
           
 Long getCurrentShareId()
           
 Long getCurrentUserId()
           
 String getCurrentUserName()
           
 List<Long> getLeaderOfGroupsList()
           
 List<Long> getMemberOfGroupsList()
           
 boolean isCurrentUserAdmin()
           
 boolean isReadOnly()
           
 

Method Detail

getCurrentShareId

Long getCurrentShareId()

getCurrentSessionId

Long getCurrentSessionId()

getCurrentSessionUuid

String getCurrentSessionUuid()

getCurrentUserId

Long getCurrentUserId()

getCurrentUserName

String getCurrentUserName()

getCurrentGroupId

Long getCurrentGroupId()

getCurrentGroupName

String getCurrentGroupName()

isCurrentUserAdmin

boolean isCurrentUserAdmin()

isReadOnly

boolean isReadOnly()

getCurrentEventId

Long getCurrentEventId()

getCurrentEventType

String getCurrentEventType()

getMemberOfGroupsList

List<Long> getMemberOfGroupsList()

getLeaderOfGroupsList

List<Long> getLeaderOfGroupsList()

getCurrentGroupPermissions

ome.model.internal.Permissions getCurrentGroupPermissions()


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

Copyright © 2009 The University of Dundee. All Rights Reserved.