|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EnumRight>
org.opends.server.authorization.dseecompat.EnumRight
public enum EnumRight
This class provides an enumeration of the allowed rights.
Enum Constant Summary | |
---|---|
ADD
This enumeration is returned when the result of the right is "add". |
|
ADDWRITE
This enumerations is used internally by the modify operation processing and is not part of the ACI syntax. |
|
ALL
This enumeration is returned when the result of the right is "all". |
|
COMPARE
This enumeration is returned when the result of the right is "compare". |
|
DELETE
This enumeration is returned when the result of the right is "delete". |
|
DELWRITE
This enumeration is used internally by the modify operation processing and is not part of the ACI syntax. |
|
EXPORT
This enumeration is returned when the result of the right is "export". |
|
IMPORT
This enumeration is returned when the result of the right is "import". |
|
PROXY
This enumeration is returned when the result of the right is "proxy". |
|
READ
This enumeration is returned when the result of the right is "read". |
|
SEARCH
This enumeration is returned when the result of the right is "search". |
|
SELFWRITE
This enumeration is returned when the result of the right is "selfwrite". |
|
WRITE
This enumeration is returned when the result of the right is "write". |
Method Summary | |
---|---|
static EnumRight |
decode(java.lang.String right)
Creates an enumeration of the right name. |
static int |
getMask(EnumRight right)
Returns bit mask associated with the specified right. |
boolean |
isRight(java.lang.String right)
Checks if the enumeration is equal to the right name. |
static EnumRight |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EnumRight[] |
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 EnumRight READ
public static final EnumRight WRITE
public static final EnumRight ADD
public static final EnumRight DELETE
public static final EnumRight SEARCH
public static final EnumRight COMPARE
public static final EnumRight SELFWRITE
public static final EnumRight PROXY
public static final EnumRight IMPORT
public static final EnumRight EXPORT
public static final EnumRight ALL
public static final EnumRight DELWRITE
public static final EnumRight ADDWRITE
Method Detail |
---|
public static EnumRight[] values()
for (EnumRight c : EnumRight.values()) System.out.println(c);
public static EnumRight 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 isRight(java.lang.String right)
right
- The name of the right to check.
public static EnumRight decode(java.lang.String right)
right
- The name of the right.
public static int getMask(EnumRight right)
right
- The right enumeration to return the mask for.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |