|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SecurityLevel>
gov.nih.nci.caarray.domain.permissions.SecurityLevel
public enum SecurityLevel
For access profiles, what type of access is permitted.
Enum Constant Summary | |
---|---|
NO_VISIBILITY
No access to project or any samples - public profile version. |
|
NONE
No access to project or any samples. |
|
READ
Read access to project and all samples. |
|
READ_SELECTIVE
Partial Read access to project and specified samples. |
|
READ_WRITE_SELECTIVE
Partial Write access to project. |
|
VISIBLE
Limited access to project and no access to samples. |
|
WRITE
Write access to project and all samples. |
Method Summary | |
---|---|
static java.util.List<SecurityLevel> |
collaboratorGroupLevels()
|
java.lang.String |
getResourceKey()
|
java.util.List<SampleSecurityLevel> |
getSampleSecurityLevels()
|
boolean |
isAllowsRead()
|
boolean |
isAllowsWrite()
|
boolean |
isAvailableToGroups()
|
boolean |
isAvailableToPublic()
|
boolean |
isPartialRead()
|
boolean |
isPartialWrite()
|
boolean |
isSampleLevelPermissionsAllowed()
|
static java.util.List<SecurityLevel> |
publicLevels()
|
static SecurityLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SecurityLevel[] |
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 SecurityLevel NONE
public static final SecurityLevel VISIBLE
public static final SecurityLevel READ
public static final SecurityLevel READ_SELECTIVE
public static final SecurityLevel WRITE
public static final SecurityLevel READ_WRITE_SELECTIVE
public static final SecurityLevel NO_VISIBILITY
Method Detail |
---|
public static SecurityLevel[] values()
for (SecurityLevel c : SecurityLevel.values()) System.out.println(c);
public static SecurityLevel 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 boolean isAvailableToGroups()
public java.util.List<SampleSecurityLevel> getSampleSecurityLevels()
public boolean isSampleLevelPermissionsAllowed()
public static java.util.List<SecurityLevel> publicLevels()
public static java.util.List<SecurityLevel> collaboratorGroupLevels()
public boolean isAllowsRead()
public boolean isAllowsWrite()
public boolean isPartialRead()
public boolean isPartialWrite()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |