Interface SyncDoneValue
- All Superinterfaces:
org.apache.directory.api.ldap.model.message.Control
- All Known Implementing Classes:
SyncDoneValueImpl
public interface SyncDoneValue
extends org.apache.directory.api.ldap.model.message.Control
A syncDoneValue object as described in rfc4533 :
2.4. Sync Done Control
The Sync Done Control is an LDAP Control [RFC4511] where the
controlType is the object identifier 1.3.6.1.4.1.4203.1.9.1.3 and the
controlValue contains a BER-encoded syncDoneValue. The criticality
is FALSE (and hence absent).
syncDoneValue ::= SEQUENCE {
cookie syncCookie OPTIONAL,
refreshDeletes BOOLEAN DEFAULT FALSE
}
The Sync Done Control is only applicable to the SearchResultDone
Message.
- Author:
- Apache Directory Project
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbyte[]get the cookiebooleanTells if the refreshDeletes flag is set totruevoidsetCookie(byte[] cookie) Set the cookievoidsetRefreshDeletes(boolean refreshDeletes) Set the refreshDeletes flagMethods inherited from interface org.apache.directory.api.ldap.model.message.Control
getOid, isCritical, setCritical
-
Field Details
-
OID
-
-
Method Details
-
getCookie
byte[] getCookie()get the cookie- Returns:
- the cookie
-
setCookie
void setCookie(byte[] cookie) Set the cookie- Parameters:
cookie- cookie to be set
-
isRefreshDeletes
boolean isRefreshDeletes()Tells if the refreshDeletes flag is set totrue- Returns:
true, if refreshDeletes flag is set,falseotherwise
-
setRefreshDeletes
void setRefreshDeletes(boolean refreshDeletes) Set the refreshDeletes flag- Parameters:
refreshDeletes- set the refreshDeletes flag
-