|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<BasicACLPermission>
org.jboss.security.acl.BasicACLPermission
public enum BasicACLPermission
This enum defines the basic ACL permissions. Each permission defined here is represented by a unique integer mask value that is a power of 2 (that is, each permission's bitmask has only one bit on).
| Enum Constant Summary | |
|---|---|
CREATE
|
|
DELETE
|
|
READ
|
|
UPDATE
|
|
| Method Summary | |
|---|---|
int |
getMaskValue()
Obtains this permission's mask value. |
static BasicACLPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BasicACLPermission[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final BasicACLPermission CREATE
public static final BasicACLPermission READ
public static final BasicACLPermission UPDATE
public static final BasicACLPermission DELETE
| Method Detail |
|---|
public static final BasicACLPermission[] values()
for(BasicACLPermission c : BasicACLPermission.values())
System.out.println(c);
public static BasicACLPermission valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic int getMaskValue()
Obtains this permission's mask value.
getMaskValue in interface BitMaskPermissionint representing the value of the bitmask.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||