public class PersistentSearchRequestControl extends AbstractControl implements RequestControl
   PersistentSearch ::= SEQUENCE {
      changeTypes INTEGER,
      changesOnly BOOLEAN,
      returnECs BOOLEAN }
 | Modifier and Type | Field and Description | 
|---|---|
private boolean | 
changesOnly
whether to return only changed entries. 
 | 
private EnumSet<PersistentSearchChangeType> | 
changeTypes
persistent search change types. 
 | 
private static int | 
HASH_CODE_SEED
hash code seed. 
 | 
static String | 
OID
OID of this control. 
 | 
private boolean | 
returnEcs
whether to return an Entry Change Notification control. 
 | 
logger| Constructor and Description | 
|---|
PersistentSearchRequestControl()
Default constructor. 
 | 
PersistentSearchRequestControl(EnumSet<PersistentSearchChangeType> types)
Creates a new persistent search request control. 
 | 
PersistentSearchRequestControl(EnumSet<PersistentSearchChangeType> types,
                              boolean critical)
Creates a new persistent search request control. 
 | 
PersistentSearchRequestControl(EnumSet<PersistentSearchChangeType> types,
                              boolean co,
                              boolean re)
Creates a new persistent search request control. 
 | 
PersistentSearchRequestControl(EnumSet<PersistentSearchChangeType> types,
                              boolean co,
                              boolean re,
                              boolean critical)
Creates a new persistent search request control. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
encode()
Provides the BER encoding of this control. 
 | 
boolean | 
equals(Object o)  | 
boolean | 
getChangesOnly()
Returns whether only changed entries are returned. 
 | 
EnumSet<PersistentSearchChangeType> | 
getChangeTypes()
Returns the persistent search change types. 
 | 
boolean | 
getReturnEcs()
Returns whether to return an Entry Change Notification control. 
 | 
int | 
hashCode()
Returns the hash code for this object. 
 | 
void | 
setChangesOnly(boolean b)
Sets whether only changed entries are returned. 
 | 
void | 
setChangeTypes(EnumSet<PersistentSearchChangeType> types)
Sets the persistent search change types. 
 | 
void | 
setReturnEcs(boolean b)
Sets whether to return an Entry Change Notification control. 
 | 
String | 
toString()  | 
getCriticality, getOIDclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCriticality, getOIDpublic static final String OID
private static final int HASH_CODE_SEED
private EnumSet<PersistentSearchChangeType> changeTypes
private boolean changesOnly
private boolean returnEcs
public PersistentSearchRequestControl()
public PersistentSearchRequestControl(EnumSet<PersistentSearchChangeType> types)
types - persistent search change typespublic PersistentSearchRequestControl(EnumSet<PersistentSearchChangeType> types, boolean critical)
types - persistent search change typescritical - whether this control is criticalpublic PersistentSearchRequestControl(EnumSet<PersistentSearchChangeType> types, boolean co, boolean re)
types - persistent search change typesco - whether only changed entries are returnedre - return an Entry Change Notification controlpublic PersistentSearchRequestControl(EnumSet<PersistentSearchChangeType> types, boolean co, boolean re, boolean critical)
types - persistent search change typesco - whether only changed entries are returnedre - return an Entry Change Notification controlcritical - whether this control is criticalpublic EnumSet<PersistentSearchChangeType> getChangeTypes()
public void setChangeTypes(EnumSet<PersistentSearchChangeType> types)
types - persistent search change typespublic boolean getChangesOnly()
public void setChangesOnly(boolean b)
b - whether only changed entries are returnedpublic boolean getReturnEcs()
public void setReturnEcs(boolean b)
b - return an Entry Change Notification controlpublic boolean equals(Object o)
equals in class AbstractControlpublic int hashCode()
AbstractControlhashCode in class AbstractControlpublic byte[] encode()
RequestControlencode in interface RequestControlCopyright © 2003-2019 Virginia Tech. All Rights Reserved.