public class PersistentSearchImpl extends AbstractControl implements PersistentSearch
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
|
int |
getChangeTypes() |
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.
|
equals, getOid, hashCode, isCritical, setCritical
getOid, isCritical, setCritical
public PersistentSearchImpl()
public void setChangesOnly(boolean changesOnly)
setChangesOnly
in interface PersistentSearch
changesOnly
- The ChangesOnly flagpublic boolean isChangesOnly()
isChangesOnly
in interface PersistentSearch
public void setReturnECs(boolean returnECs)
setReturnECs
in interface PersistentSearch
returnECs
- the return entry changes flagpublic boolean isReturnECs()
isReturnECs
in interface PersistentSearch
public void setChangeTypes(int changeTypes)
setChangeTypes
in interface PersistentSearch
changeTypes
- The changeType values (Add, Modify, Delete and ModifyDn)public int getChangeTypes()
getChangeTypes
in interface PersistentSearch
public boolean isNotificationEnabled(ChangeType changeType)
isNotificationEnabled
in interface PersistentSearch
changeType
- The ChnageType we are interested inpublic void enableNotification(ChangeType changeType)
enableNotification
in interface PersistentSearch
changeType
- The chnageType we want some notification to be setpublic void disableNotification(ChangeType changeType)
disableNotification
in interface PersistentSearch
changeType
- The chnageType we want some notification to be unsetpublic String toString()
toString
in class AbstractControl
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.