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 ADDThe Add permission, may be used in conjunction with any component ofProtectedItems.BROWSEThe Browse permission, may be used only in conjunction with the entry component.COMPAREThe Compare permission, may be used in conjunction with any component, except entry.DISCLOSE_ON_ERRORThe DiscloseOnError permission, may be used in conjunction with any component ofProtectedItems.EXPORTThe Export permission, may be used only in conjunction with the entry component.FILTER_MATCHThe FilterMatch permission, may be used in conjunction with any component, except entry.IMPORTThe Import permission, may be used only in conjunction with the entry component.INVOKEThe Invoke permission, may be used in conjunction with any component, except entry.MODIFYThe Modify permission, may be used only in conjunction with the entry component.READThe Read permission, may be used in conjunction with any component ofProtectedItems.REMOVEThe Remove permission, may be used in conjunction with any component ofProtectedItems.RENAMEThe Rename permission, may be used only in conjunction with the entry component.RETURN_DNThe 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 StringgetName()Gets the name of this micro-operation.StringtoString()static MicroOperationvalueOf(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 ofProtectedItems.
-
DISCLOSE_ON_ERROR
public static final MicroOperation DISCLOSE_ON_ERROR
The DiscloseOnError permission, may be used in conjunction with any component ofProtectedItems.
-
READ
public static final MicroOperation READ
The Read permission, may be used in conjunction with any component ofProtectedItems.
-
REMOVE
public static final MicroOperation REMOVE
The Remove permission, may be used in conjunction with any component ofProtectedItems.
-
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
-
getName
public String getName()
Gets the name of this micro-operation.- Returns:
- the name
-
toString
public String toString()
- Overrides:
toStringin classEnum<MicroOperation>
-
-