Class Overview
This class implements the LDAPv3 Request Control for the persistent search
mechanism as defined in
draft-ietf-ldapext-psearch-02.txt.
The control's value has the following ASN.1 definition:
PersistentSearch ::= SEQUENCE {
changeTypes INTEGER,
changesOnly BOOLEAN,
returnECs BOOLEAN
}
Summary
Constants |
int |
ADD |
Indicates interest in entries which have been added. |
int |
ANY |
Indicates interest in entries which have been added, deleted,
modified or renamed. |
int |
DELETE |
Indicates interest in entries which have been deleted. |
int |
MODIFY |
Indicates interest in entries which have been modified. |
String |
OID |
The persistent search control's assigned object identifier
is 2.16.840.1.113730.3.4.3. |
int |
RENAME |
Indicates interest in entries which have been renamed. |
Public Constructors |
|
PersistentSearchControl()
Constructs a persistent search non-critical control.
|
|
PersistentSearchControl(int changeTypes, boolean changesOnly, boolean returnControls, boolean criticality)
Constructs a persistent search control.
|
[Expand]
Inherited Methods |
From class
com.sun.jndi.ldap.BasicControl
byte[]
|
getEncodedValue()
Retrieves the control's ASN.1 BER encoded value.
|
String
|
getID()
Retrieves the control's object identifier string.
|
boolean
|
isCritical()
Determines the control's criticality.
|
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
From interface
javax.naming.ldap.Control
abstract
byte[]
|
getEncodedValue()
Retrieves the ASN.1 BER encoded value of the LDAP control.
|
abstract
String
|
getID()
Retrieves the object identifier assigned for the LDAP control.
|
abstract
boolean
|
isCritical()
Determines the criticality of the LDAP control.
|
|
Constants
public
static
final
int
ADD
Indicates interest in entries which have been added.
Constant Value:
1
(0x00000001)
public
static
final
int
ANY
Indicates interest in entries which have been added, deleted,
modified or renamed.
Constant Value:
15
(0x0000000f)
public
static
final
int
DELETE
Indicates interest in entries which have been deleted.
Constant Value:
2
(0x00000002)
public
static
final
int
MODIFY
Indicates interest in entries which have been modified.
Constant Value:
4
(0x00000004)
public
static
final
String
OID
The persistent search control's assigned object identifier
is 2.16.840.1.113730.3.4.3.
Constant Value:
"2.16.840.1.113730.3.4.3"
public
static
final
int
RENAME
Indicates interest in entries which have been renamed.
Constant Value:
8
(0x00000008)
Public Constructors
public
PersistentSearchControl
()
Constructs a persistent search non-critical control.
The original entries, any changed entries (additions,
deletions, modifications or renames) and entry change
controls are requested.
public
PersistentSearchControl
(int changeTypes, boolean changesOnly, boolean returnControls, boolean criticality)
Constructs a persistent search control.
Parameters
changeTypes
| The change types of interest. |
changesOnly
| Return original entries and changed entries
or only the changed entries. |
returnControls
| Return entry change controls. |
criticality
| The control's criticality. |