public interface SyncStateValue
extends org.apache.directory.api.ldap.model.message.Control
2.3. Sync State Control
The Sync State Control is an LDAP Control [RFC4511] where the
controlType is the object identifier 1.3.6.1.4.1.4203.1.9.1.2 and the
controlValue, an OCTET STRING, contains a BER-encoded syncStateValue.
The criticality is FALSE.
syncStateValue ::= SEQUENCE {
state ENUMERATED {
present (0),
add (1),
modify (2),
delete (3)
},
entryUUID syncUUID,
cookie syncCookie OPTIONAL
}
The Sync State Control is only applicable to SearchResultEntry and
SearchResultReference Messages.
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getCookie() |
byte[] |
getEntryUUID() |
SyncStateTypeEnum |
getSyncStateType() |
void |
setCookie(byte[] cookie) |
void |
setEntryUUID(byte[] entryUUID)
set the entryUUID
|
void |
setSyncStateType(SyncStateTypeEnum syncStateType)
set the syncState's type
|
static final String OID
byte[] getCookie()
void setCookie(byte[] cookie)
cookie - the cookie to setSyncStateTypeEnum getSyncStateType()
void setSyncStateType(SyncStateTypeEnum syncStateType)
syncStateType - the syncState's typebyte[] getEntryUUID()
void setEntryUUID(byte[] entryUUID)
entryUUID - the entryUUIDCopyright © 2003–2017 The Apache Software Foundation. All rights reserved.