|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.control.AbstractControl
org.ldaptive.control.PersistentSearchRequestControl
public class PersistentSearchRequestControl
Request control for persistent search. See http://tools.ietf.org/id/draft-ietf-ldapext-psearch-03.txt. Control is defined as:
PersistentSearch ::= SEQUENCE {
changeTypes INTEGER,
changesOnly BOOLEAN,
returnECs BOOLEAN }
| Field Summary | |
|---|---|
static String |
OID
OID of this control. |
| Fields inherited from class org.ldaptive.control.AbstractControl |
|---|
logger |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.ldaptive.control.AbstractControl |
|---|
getCriticality, getOID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ldaptive.control.Control |
|---|
getCriticality, getOID |
| Field Detail |
|---|
public static final String OID
| Constructor Detail |
|---|
public PersistentSearchRequestControl()
public PersistentSearchRequestControl(EnumSet<PersistentSearchChangeType> types)
types - persistent search change types
public PersistentSearchRequestControl(EnumSet<PersistentSearchChangeType> types,
boolean critical)
types - persistent search change typescritical - whether this control is critical
public PersistentSearchRequestControl(EnumSet<PersistentSearchChangeType> types,
boolean co,
boolean re)
types - persistent search change typesco - whether only changed entries are returnedre - return an Entry Change Notification control
public 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 critical| Method Detail |
|---|
public 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()
AbstractControl
hashCode in class AbstractControlpublic String toString()
toString in class Objectpublic byte[] encode()
encode in interface RequestControl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||