| java.lang.Object com.sun.jndi.ldap.BasicControl com.sun.jndi.ldap.PersistentSearchControl
PersistentSearchControl | final public class PersistentSearchControl extends BasicControl (Code) | | 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
}
See Also: EntryChangeResponseControl author: Vincent Ryan |
Field Summary | |
final public static int | ADD Indicates interest in entries which have been added. | final public static int | ANY Indicates interest in entries which have been added, deleted,
modified or renamed. | final public static int | DELETE Indicates interest in entries which have been deleted. | final public static int | MODIFY Indicates interest in entries which have been modified. | final public static String | OID The persistent search control's assigned object identifier
is 2.16.840.1.113730.3.4.3. | final public static int | RENAME Indicates interest in entries which have been renamed. |
Constructor Summary | |
public | PersistentSearchControl() Constructs a persistent search non-critical control. | public | PersistentSearchControl(int changeTypes, boolean changesOnly, boolean returnControls, boolean criticality) Constructs a persistent search control. |
ADD | final public static int ADD(Code) | | Indicates interest in entries which have been added.
|
ANY | final public static int ANY(Code) | | Indicates interest in entries which have been added, deleted,
modified or renamed.
|
DELETE | final public static int DELETE(Code) | | Indicates interest in entries which have been deleted.
|
MODIFY | final public static int MODIFY(Code) | | Indicates interest in entries which have been modified.
|
OID | final public static String OID(Code) | | The persistent search control's assigned object identifier
is 2.16.840.1.113730.3.4.3.
|
RENAME | final public static int RENAME(Code) | | Indicates interest in entries which have been renamed.
|
PersistentSearchControl | public PersistentSearchControl() throws IOException(Code) | | Constructs a persistent search non-critical control.
The original entries, any changed entries (additions,
deletions, modifications or renames) and entry change
controls are requested.
exception: IOException - If a BER encoding error occurs. |
PersistentSearchControl | public PersistentSearchControl(int changeTypes, boolean changesOnly, boolean returnControls, boolean criticality) throws IOException(Code) | | Constructs a persistent search control.
Parameters: changeTypes - The change types of interest. Parameters: changesOnly - Return original entries and changed entriesor only the changed entries. Parameters: returnControls - Return entry change controls. Parameters: criticality - The control's criticality. exception: IOException - If a BER encoding error occurs. |
|
|