|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.system.SimpleEventContext
public class SimpleEventContext
simple, non-thread-safe, serializable EventContext
EventContext
,
Serialized FormField Summary | |
---|---|
protected Long |
ceId
|
protected String |
ceType
|
protected Long |
cgId
|
protected String |
cgName
|
protected Long |
csId
|
protected String |
csName
|
protected Long |
cuId
|
protected String |
cuName
|
protected ome.model.internal.Permissions |
groupPermissions
|
protected boolean |
isAdmin
|
protected boolean |
isReadOnly
|
protected List<Long> |
leaderOfGroups
|
protected List<Long> |
memberOfGroups
|
protected Long |
shareId
|
protected ome.model.internal.Permissions |
umask
|
Constructor Summary | |
---|---|
protected |
SimpleEventContext()
Constructor for subclasses |
|
SimpleEventContext(EventContext ec)
copy constructor. |
Method Summary | |
---|---|
protected void |
copy(EventContext ec)
Copies all values directly from the given instance into this instance. |
Long |
getCurrentEventId()
|
String |
getCurrentEventType()
|
Long |
getCurrentGroupId()
|
String |
getCurrentGroupName()
|
ome.model.internal.Permissions |
getCurrentGroupPermissions()
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Long shareId
protected Long csId
protected Long cgId
protected Long cuId
protected Long ceId
protected String csName
protected String cgName
protected String cuName
protected String ceType
protected boolean isAdmin
protected boolean isReadOnly
protected List<Long> memberOfGroups
protected List<Long> leaderOfGroups
protected ome.model.internal.Permissions umask
protected ome.model.internal.Permissions groupPermissions
Constructor Detail |
---|
protected SimpleEventContext()
public SimpleEventContext(EventContext ec)
Method Detail |
---|
protected void copy(EventContext ec)
getCurrentEventId()
, isCurrentUserAdmin()
,
isReadOnly()
, or getCurrentUmask()
throws an
exception, those fields will remain null assuming that the
SecuritySystem
will reload them later.
public Long getCurrentShareId()
getCurrentShareId
in interface EventContext
public Long getCurrentSessionId()
getCurrentSessionId
in interface EventContext
public String getCurrentSessionUuid()
getCurrentSessionUuid
in interface EventContext
public Long getCurrentGroupId()
getCurrentGroupId
in interface EventContext
public String getCurrentGroupName()
getCurrentGroupName
in interface EventContext
public Long getCurrentUserId()
getCurrentUserId
in interface EventContext
public String getCurrentUserName()
getCurrentUserName
in interface EventContext
public boolean isCurrentUserAdmin()
isCurrentUserAdmin
in interface EventContext
public boolean isReadOnly()
isReadOnly
in interface EventContext
public List<Long> getMemberOfGroupsList()
getMemberOfGroupsList
in interface EventContext
public List<Long> getLeaderOfGroupsList()
getLeaderOfGroupsList
in interface EventContext
public Long getCurrentEventId()
getCurrentEventId
in interface EventContext
public String getCurrentEventType()
getCurrentEventType
in interface EventContext
public ome.model.internal.Permissions getCurrentUmask()
public ome.model.internal.Permissions getCurrentGroupPermissions()
getCurrentGroupPermissions
in interface EventContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.