public class PersistentSearchImpl extends AbstractControl implements PersistentSearch
| Modifier and Type | Field and Description |
|---|---|
private boolean |
changesOnly
If changesOnly is TRUE, the server MUST NOT return any existing entries
that match the search criteria.
|
private int |
changeTypes
As changes are made to the server, the effected entries MUST be returned
to the client if they match the standard search criteria and if the
operation that caused the change is included in the changeTypes field.
|
private boolean |
returnECs
If returnECs is TRUE, the server MUST return an Entry Change Notification
control with each entry returned as the result of changes.
|
CHANGE_TYPES_MAX, CHANGE_TYPES_MIN, OID| Constructor and Description |
|---|
PersistentSearchImpl()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
enableNotification(ChangeType changeType) |
int |
getChangeTypes() |
boolean |
isChangesOnly() |
boolean |
isNotificationEnabled(ChangeType changeType) |
boolean |
isReturnECs() |
void |
setChangesOnly(boolean changesOnly) |
void |
setChangeTypes(int changeTypes) |
void |
setReturnECs(boolean returnECs) |
java.lang.String |
toString()
Return a String representing this PSearchControl.
|
equals, getOid, hashCode, isCritical, setCriticalclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetOid, isCritical, setCriticalprivate boolean changesOnly
private boolean returnECs
private int changeTypes
public void setChangesOnly(boolean changesOnly)
setChangesOnly in interface PersistentSearchpublic boolean isChangesOnly()
isChangesOnly in interface PersistentSearchpublic void setReturnECs(boolean returnECs)
setReturnECs in interface PersistentSearchpublic boolean isReturnECs()
isReturnECs in interface PersistentSearchpublic void setChangeTypes(int changeTypes)
setChangeTypes in interface PersistentSearchpublic int getChangeTypes()
getChangeTypes in interface PersistentSearchpublic boolean isNotificationEnabled(ChangeType changeType)
isNotificationEnabled in interface PersistentSearchpublic void enableNotification(ChangeType changeType)
enableNotification in interface PersistentSearchpublic java.lang.String toString()
toString in class AbstractControl