|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SampleSecurityLevel>
gov.nih.nci.caarray.domain.permissions.SampleSecurityLevel
public enum SampleSecurityLevel
Enum of access types for sample-level security.
Enum Constant Summary | |
---|---|
NONE
No access to the sample. |
|
READ
Read access to the sample. |
|
READ_WRITE
Read / write access to the sample. |
Method Summary | |
---|---|
java.lang.String |
getResourceKey()
|
boolean |
isAllowsRead()
|
boolean |
isAllowsWrite()
|
boolean |
isAvailableToPublic()
|
static java.util.List<SampleSecurityLevel> |
publicLevels()
|
static SampleSecurityLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SampleSecurityLevel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SampleSecurityLevel NONE
public static final SampleSecurityLevel READ
public static final SampleSecurityLevel READ_WRITE
Method Detail |
---|
public static SampleSecurityLevel[] values()
for (SampleSecurityLevel c : SampleSecurityLevel.values()) System.out.println(c);
public static SampleSecurityLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getResourceKey()
getResourceKey
in interface ResourceBasedEnum
public boolean isAvailableToPublic()
public static java.util.List<SampleSecurityLevel> publicLevels()
public boolean isAllowsRead()
public boolean isAllowsWrite()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |