|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<PermissionLevel>
org.persvr.security.PermissionLevel
public enum PermissionLevel
| Enum Constant Summary | |
|---|---|
APPEND_LEVEL
Deprecated. |
|
EXECUTE_LEVEL
Deprecated. |
|
FULL_LEVEL
Deprecated. |
|
LIMITED_LEVEL
Deprecated. |
|
NONE_LEVEL
Deprecated. |
|
READ_LEVEL
Deprecated. |
|
WRITE_LEVEL
Deprecated. |
|
| Field Summary | |
|---|---|
int |
level
Deprecated. |
java.lang.String |
name
Deprecated. |
| Method Summary | |
|---|---|
boolean |
canAppend()
Deprecated. |
boolean |
canBrowse()
Deprecated. |
boolean |
canExecute()
Deprecated. |
boolean |
canRead()
Deprecated. |
boolean |
canWrite()
Deprecated. |
static PermissionLevel |
valueOf(java.lang.String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static PermissionLevel[] |
values()
Deprecated. 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 |
|---|
equals, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.security.acl.Permission |
|---|
equals, toString |
| Enum Constant Detail |
|---|
public static final PermissionLevel NONE_LEVEL
public static final PermissionLevel LIMITED_LEVEL
public static final PermissionLevel READ_LEVEL
public static final PermissionLevel EXECUTE_LEVEL
public static final PermissionLevel APPEND_LEVEL
public static final PermissionLevel WRITE_LEVEL
public static final PermissionLevel FULL_LEVEL
| Field Detail |
|---|
public int level
public java.lang.String name
| Method Detail |
|---|
public static PermissionLevel[] values()
for (PermissionLevel c : PermissionLevel.values()) System.out.println(c);
public static PermissionLevel 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 boolean canExecute()
public boolean canWrite()
public boolean canRead()
public boolean canAppend()
public boolean canBrowse()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||