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: 2648 $, $Date: 2008-07-30 21:58:45 +0100 (Wed, 30 Jul 2008) $
Author:
Josh Moore, josh.moore at gmx.de
See Also:
Experimenter, ExperimenterGroup

Method Summary
 Long getCurrentEventId()
           
 String getCurrentEventType()
           
 Long getCurrentGroupId()
           
 String getCurrentGroupName()
           
 Long getCurrentSessionId()
           
 String getCurrentSessionUuid()
           
 Long getCurrentShareId()
           
 ome.model.internal.Permissions getCurrentUmask()
           
 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()

getCurrentUmask

ome.model.internal.Permissions getCurrentUmask()


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

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