org.apache.directory.api.ldap.aci
Enum MicroOperation

java.lang.Object
  extended by java.lang.Enum<MicroOperation>
      extended by 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
ADD
          The Add permission, may be used in conjunction with any component of ProtectedItems.
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 of ProtectedItems.
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 of ProtectedItems.
REMOVE
          The Remove permission, may be used in conjunction with any component of ProtectedItems.
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
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADD

public static final MicroOperation ADD
The Add permission, may be used in conjunction with any component of ProtectedItems.


DISCLOSE_ON_ERROR

public static final MicroOperation DISCLOSE_ON_ERROR
The DiscloseOnError permission, may be used in conjunction with any component of ProtectedItems.


READ

public static final MicroOperation READ
The Read permission, may be used in conjunction with any component of ProtectedItems.


REMOVE

public static final MicroOperation REMOVE
The Remove permission, may be used in conjunction with any component of ProtectedItems.


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 name
NullPointerException - if the argument is null

getName

public String getName()
Gets the name of this micro-operation.

Returns:
the name

toString

public String toString()

Overrides:
toString in class Enum<MicroOperation>


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.