|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.system.Roles
public final class Roles
encapsulates the naming scheme for critical system groups and accounts. These values are also used during install to initialize the database.
Experimenter
,
ExperimenterGroup
,
Serialized FormConstructor Summary | |
---|---|
Roles()
default constructor which assigns hard-coded values to all roles |
|
Roles(long rootId,
String rootName,
long systemGroupId,
String systemGroupName,
long userGroupId,
String userGroupName)
constructor which allows full specification of all roles |
Method Summary | |
---|---|
String |
getGuestGroupName()
|
long |
getRootId()
|
String |
getRootName()
|
long |
getSystemGroupId()
|
String |
getSystemGroupName()
|
long |
getUserGroupId()
|
String |
getUserGroupName()
|
boolean |
isRootUser(ome.model.meta.Experimenter user)
|
boolean |
isSystemGroup(ome.model.meta.ExperimenterGroup group)
|
boolean |
isUserGroup(ome.model.meta.ExperimenterGroup group)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Roles()
public Roles(long rootId, String rootName, long systemGroupId, String systemGroupName, long userGroupId, String userGroupName)
Method Detail |
---|
public boolean isRootUser(ome.model.meta.Experimenter user)
public boolean isUserGroup(ome.model.meta.ExperimenterGroup group)
public boolean isSystemGroup(ome.model.meta.ExperimenterGroup group)
public long getRootId()
public String getRootName()
Experimenter.getOmeName()
of the root userpublic long getSystemGroupId()
public String getSystemGroupName()
ExperimenterGroup.getName()
of the system grouppublic long getUserGroupId()
public String getUserGroupName()
ExperimenterGroup.getName()
of the user grouppublic String getGuestGroupName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.