Interface PersistentSearch
- All Superinterfaces:
Control
- All Known Implementing Classes:
PersistentSearchImpl
A persistence search object, as defined in https://tools.ietf.org/html/draft-ietf-ldapext-psearch-03
PersistentSearch ::= SEQUENCE {
changeTypes INTEGER,
changesOnly BOOLEAN,
returnECs BOOLEAN
}
- Author:
- Apache Directory Project
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe maximum value for the possible combined changes typestatic final intMin and Max values for the possible combined change typesstatic final StringThis control OID -
Method Summary
Modifier and TypeMethodDescriptionvoiddisableNotification(ChangeType changeType) Unsets the notification for a given changeTypevoidenableNotification(ChangeType changeType) Sets the notification for a given changeTypeintbooleanbooleanisNotificationEnabled(ChangeType changeType) For each changeType, tells if the notification is enabledbooleanvoidsetChangesOnly(boolean changesOnly) Sets the ChangesOnly flagvoidsetChangeTypes(int changeTypes) Set the changeType value we want to get back ( a combinaison of Add, Delete, Modify and ModifyDN)voidsetReturnECs(boolean returnECs) Sets the return entry changes flagMethods inherited from interface Control
getOid, isCritical, setCritical
-
Field Details
-
OID
-
CHANGE_TYPES_MIN
static final int CHANGE_TYPES_MINMin and Max values for the possible combined change types -
CHANGE_TYPES_MAX
static final int CHANGE_TYPES_MAXThe maximum value for the possible combined changes type
-
-
Method Details
-
setChangesOnly
void setChangesOnly(boolean changesOnly) Sets the ChangesOnly flag- Parameters:
changesOnly- The ChangesOnly flag
-
isChangesOnly
boolean isChangesOnly()- Returns:
trueif the changesOnly flag is set
-
setReturnECs
void setReturnECs(boolean returnECs) Sets the return entry changes flag- Parameters:
returnECs- the return entry changes flag
-
isReturnECs
boolean isReturnECs()- Returns:
trueif the return entry changes flag is set
-
setChangeTypes
void setChangeTypes(int changeTypes) Set the changeType value we want to get back ( a combinaison of Add, Delete, Modify and ModifyDN)- Parameters:
changeTypes- The changeType values (Add, Modify, Delete and ModifyDn)
-
getChangeTypes
int getChangeTypes()- Returns:
- The changeTypes value
-
isNotificationEnabled
For each changeType, tells if the notification is enabled- Parameters:
changeType- The ChnageType we are interested in- Returns:
trueif the notification is set for this ChangeType
-
enableNotification
Sets the notification for a given changeType- Parameters:
changeType- The chnageType we want some notification to be set
-
disableNotification
Unsets the notification for a given changeType- Parameters:
changeType- The chnageType we want some notification to be unset
-