Interface SyncInfoValue
-
- All Superinterfaces:
IntermediateResponse
,Message
,Response
,ResultResponse
- All Known Implementing Classes:
SyncInfoValueImpl
public interface SyncInfoValue extends IntermediateResponse
A syncInfoValue object, as defined in RFC 4533 ;2.5. Sync Info Message The Sync Info Message is an LDAP Intermediate Response Message [RFC4511] where responseName is the object identifier 1.3.6.1.4.1.4203.1.9.1.4 and responseValue contains a BER-encoded syncInfoValue. The criticality is FALSE (and hence absent). syncInfoValue ::= CHOICE { newcookie [0] syncCookie, refreshDelete [1] SEQUENCE { cookie syncCookie OPTIONAL, refreshDone BOOLEAN DEFAULT TRUE }, refreshPresent [2] SEQUENCE { cookie syncCookie OPTIONAL, refreshDone BOOLEAN DEFAULT TRUE }, syncIdSet [3] SEQUENCE { cookie syncCookie OPTIONAL, refreshDeletes BOOLEAN DEFAULT FALSE, syncUUIDs SET OF syncUUID } }
- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSyncUUID(byte[] syncUUID)
byte[]
getCookie()
SynchronizationInfoEnum
getSyncInfoValueType()
Get the value type.List<byte[]>
getSyncUUIDs()
boolean
isRefreshDeletes()
boolean
isRefreshDone()
void
setCookie(byte[] cookie)
void
setRefreshDeletes(boolean refreshDeletes)
void
setRefreshDone(boolean refreshDone)
void
setSyncInfoValueType(SynchronizationInfoEnum type)
void
setSyncUUIDs(List<byte[]> syncUUIDs)
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.IntermediateResponse
getResponseName, getResponseValue, setResponseName, setResponseValue
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponse
getLdapResult
-
-
-
-
Field Detail
-
OID
static final String OID
This intermediate response OID- See Also:
- Constant Field Values
-
-
Method Detail
-
getSyncInfoValueType
SynchronizationInfoEnum getSyncInfoValueType()
Get the value type.- Returns:
- the type : one of newCookie, refreshDelete, refreshPresent or syncIdSet
-
setSyncInfoValueType
void setSyncInfoValueType(SynchronizationInfoEnum type)
- Parameters:
type
- the synchronization type to set
-
getCookie
byte[] getCookie()
- Returns:
- the cookie
-
setCookie
void setCookie(byte[] cookie)
- Parameters:
cookie
- the cookie to set
-
isRefreshDone
boolean isRefreshDone()
- Returns:
- the refreshDone
-
setRefreshDone
void setRefreshDone(boolean refreshDone)
- Parameters:
refreshDone
- the refreshDone to set
-
isRefreshDeletes
boolean isRefreshDeletes()
- Returns:
- the refreshDeletes
-
setRefreshDeletes
void setRefreshDeletes(boolean refreshDeletes)
- Parameters:
refreshDeletes
- the refreshDeletes to set
-
getSyncUUIDs
List<byte[]> getSyncUUIDs()
- Returns:
- the syncUUIDs
-
setSyncUUIDs
void setSyncUUIDs(List<byte[]> syncUUIDs)
- Parameters:
syncUUIDs
- the syncUUIDs to set
-
addSyncUUID
void addSyncUUID(byte[] syncUUID)
- Parameters:
syncUUID
- the syncUUIDs to set
-
-