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 |
disableNotification(ChangeType changeType)
Unsets the notification for a given changeType
|
void |
enableNotification(ChangeType changeType)
Sets the notification for a given changeType
|
boolean |
equals(Object other) |
int |
getChangeTypes() |
int |
hashCode() |
boolean |
isChangesOnly() |
boolean |
isNotificationEnabled(ChangeType changeType)
For each changeType, tells if the notification is enabled
|
boolean |
isReturnECs() |
void |
setChangesOnly(boolean changesOnly)
Sets the ChangesOnly flag
|
void |
setChangeTypes(int changeTypes)
Set the changeType value we want to get back ( a combinaison of Add, Delete,
Modify and ModifyDN)
|
void |
setReturnECs(boolean returnECs)
Sets the return entry changes flag
|
String |
toString()
Return a String representing this PSearchControl.
|
getOid, 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 PersistentSearchchangesOnly - The ChangesOnly flagpublic boolean isChangesOnly()
isChangesOnly in interface PersistentSearchpublic void setReturnECs(boolean returnECs)
setReturnECs in interface PersistentSearchreturnECs - the return entry changes flagpublic boolean isReturnECs()
isReturnECs in interface PersistentSearchpublic void setChangeTypes(int changeTypes)
setChangeTypes in interface PersistentSearchchangeTypes - The changeType values (Add, Modify, Delete and ModifyDn)public int getChangeTypes()
getChangeTypes in interface PersistentSearchpublic boolean isNotificationEnabled(ChangeType changeType)
isNotificationEnabled in interface PersistentSearchchangeType - The ChnageType we are interested inpublic void enableNotification(ChangeType changeType)
enableNotification in interface PersistentSearchchangeType - The chnageType we want some notification to be setpublic void disableNotification(ChangeType changeType)
disableNotification in interface PersistentSearchchangeType - The chnageType we want some notification to be unsetpublic int hashCode()
hashCode in class AbstractControlObject.hashCode()public boolean equals(Object other)
equals in class AbstractControlObject.equals(Object)public String toString()
toString in class AbstractControlCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.