Enum MicroOperation
- java.lang.Object
-
- java.lang.Enum<MicroOperation>
-
- org.apache.directory.api.ldap.aci.MicroOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<MicroOperation>
public enum MicroOperation extends Enum<MicroOperation>
An enumeration that represents all micro-operations that makes up LDAP operations.- Author:
- Apache Directory Project
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
The Add permission, may be used in conjunction with any component ofProtectedItem
s.BROWSE
The Browse permission, may be used only in conjunction with the entry component.COMPARE
The Compare permission, may be used in conjunction with any component, except entry.DISCLOSE_ON_ERROR
The DiscloseOnError permission, may be used in conjunction with any component ofProtectedItem
s.EXPORT
The Export permission, may be used only in conjunction with the entry component.FILTER_MATCH
The FilterMatch permission, may be used in conjunction with any component, except entry.IMPORT
The Import permission, may be used only in conjunction with the entry component.INVOKE
The Invoke permission, may be used in conjunction with any component, except entry.MODIFY
The Modify permission, may be used only in conjunction with the entry component.READ
The Read permission, may be used in conjunction with any component ofProtectedItem
s.REMOVE
The Remove permission, may be used in conjunction with any component ofProtectedItem
s.RENAME
The Rename permission, may be used only in conjunction with the entry component.RETURN_DN
The ReturnDN permission, may be used only in conjunction with the entry component.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Gets the name of this micro-operation.String
toString()
static MicroOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static MicroOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final MicroOperation ADD
The Add permission, may be used in conjunction with any component ofProtectedItem
s.
-
DISCLOSE_ON_ERROR
public static final MicroOperation DISCLOSE_ON_ERROR
The DiscloseOnError permission, may be used in conjunction with any component ofProtectedItem
s.
-
READ
public static final MicroOperation READ
The Read permission, may be used in conjunction with any component ofProtectedItem
s.
-
REMOVE
public static final MicroOperation REMOVE
The Remove permission, may be used in conjunction with any component ofProtectedItem
s.
-
BROWSE
public static final MicroOperation BROWSE
The Browse permission, may be used only in conjunction with the entry component.
-
EXPORT
public static final MicroOperation EXPORT
The Export permission, may be used only in conjunction with the entry component.
-
IMPORT
public static final MicroOperation IMPORT
The Import permission, may be used only in conjunction with the entry component.
-
MODIFY
public static final MicroOperation MODIFY
The Modify permission, may be used only in conjunction with the entry component.
-
RENAME
public static final MicroOperation RENAME
The Rename permission, may be used only in conjunction with the entry component.
-
RETURN_DN
public static final MicroOperation RETURN_DN
The ReturnDN permission, may be used only in conjunction with the entry component.
-
COMPARE
public static final MicroOperation COMPARE
The Compare permission, may be used in conjunction with any component, except entry.
-
FILTER_MATCH
public static final MicroOperation FILTER_MATCH
The FilterMatch permission, may be used in conjunction with any component, except entry.
-
INVOKE
public static final MicroOperation INVOKE
The Invoke permission, may be used in conjunction with any component, except entry.
-
-
Method Detail
-
values
public static MicroOperation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MicroOperation c : MicroOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MicroOperation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<MicroOperation>
-
-