|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PersistentSearchChangeType>
org.opends.server.controls.PersistentSearchChangeType
public enum PersistentSearchChangeType
This enumeration defines the set of possible change types that may be used in conjunction with the persistent search control, as defined in draft-ietf-ldapext-psearch.
Enum Constant Summary | |
---|---|
ADD
The change type that will be used for add operations. |
|
DELETE
The change type that will be used for delete operations. |
|
MODIFY
The change type that will be used for modify operations. |
|
MODIFY_DN
The change type that will be used for modify DN operations. |
Method Summary | |
---|---|
static int |
changeTypesToInt(java.util.Set<PersistentSearchChangeType> changeTypes)
Retrieves the integer representation of the provided set of change types. |
static java.lang.String |
changeTypesToString(java.util.Set<PersistentSearchChangeType> changeTypes)
Retrieves a string representation of the provided set of change types. |
static void |
changeTypesToString(java.util.Set<PersistentSearchChangeType> changeTypes,
java.lang.StringBuilder buffer)
Appends a string representation of the specified set of change types to the provided buffer. |
static java.util.Set<PersistentSearchChangeType> |
intToTypes(int intValue)
Decodes the provided int value into a set of change types as per the specification in draft-ietf-ldapext-psearch. |
int |
intValue()
Retrieves the integer value associated with this change type. |
java.lang.String |
toString()
Retrieves a string representation of this persistent search change type. |
static PersistentSearchChangeType |
valueOf(int intValue)
Retrieves the change type associated with the provided integer value. |
static PersistentSearchChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PersistentSearchChangeType[] |
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 |
---|
public static final PersistentSearchChangeType ADD
public static final PersistentSearchChangeType DELETE
public static final PersistentSearchChangeType MODIFY
public static final PersistentSearchChangeType MODIFY_DN
Method Detail |
---|
public static PersistentSearchChangeType[] values()
for (PersistentSearchChangeType c : PersistentSearchChangeType.values()) System.out.println(c);
public static PersistentSearchChangeType 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 int intValue()
public java.lang.String toString()
toString
in class java.lang.Enum<PersistentSearchChangeType>
public static PersistentSearchChangeType valueOf(int intValue) throws LDAPException
intValue
- The integer value to decode as a change type.
LDAPException
- If the provided integer value is not associated
with a valid change type.public static java.util.Set<PersistentSearchChangeType> intToTypes(int intValue) throws LDAPException
intValue
- The integer value representing the encoded change types.
LDAPException
- If the provided integer value does not represent a
valid encoded set of change types.public static int changeTypesToInt(java.util.Set<PersistentSearchChangeType> changeTypes)
changeTypes
- The set of change types to be encoded.
public static java.lang.String changeTypesToString(java.util.Set<PersistentSearchChangeType> changeTypes)
changeTypes
- The set of change types to encode.
public static void changeTypesToString(java.util.Set<PersistentSearchChangeType> changeTypes, java.lang.StringBuilder buffer)
changeTypes
- The set of change types to encode.buffer
- The buffer to which the information should be written.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |