|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jndi.ldap.BasicControl
com.sun.jndi.ldap.PersistentSearchControl
public final class PersistentSearchControl
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
}
EntryChangeResponseControl,
Serialized Form| Field Summary | |
|---|---|
static int |
ADD
Indicates interest in entries which have been added. |
static int |
ANY
Indicates interest in entries which have been added, deleted, modified or renamed. |
static int |
DELETE
Indicates interest in entries which have been deleted. |
static int |
MODIFY
Indicates interest in entries which have been modified. |
static String |
OID
The persistent search control's assigned object identifier is 2.16.840.1.113730.3.4.3. |
static int |
RENAME
Indicates interest in entries which have been renamed. |
| Fields inherited from class com.sun.jndi.ldap.BasicControl |
|---|
criticality, id, value |
| Fields inherited from interface javax.naming.ldap.Control |
|---|
CRITICAL, NONCRITICAL |
| Constructor Summary | |
|---|---|
PersistentSearchControl()
Constructs a persistent search non-critical control. |
|
PersistentSearchControl(int changeTypes,
boolean changesOnly,
boolean returnControls,
boolean criticality)
Constructs a persistent search control. |
|
| Method Summary |
|---|
| Methods inherited from class com.sun.jndi.ldap.BasicControl |
|---|
getEncodedValue, getID, isCritical |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OID
public static final int ADD
public static final int DELETE
public static final int MODIFY
public static final int RENAME
public static final int ANY
| Constructor Detail |
|---|
public PersistentSearchControl()
throws IOException
IOException - If a BER encoding error occurs.
public PersistentSearchControl(int changeTypes,
boolean changesOnly,
boolean returnControls,
boolean criticality)
throws IOException
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.
IOException - If a BER encoding error occurs.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||