org.apache.directory.shared.ldap.message.control.replication
Class SyncInfoValueSyncIdSetControl
java.lang.Object
org.apache.directory.shared.ldap.message.control.InternalAbstractControl
org.apache.directory.shared.ldap.message.control.replication.SyncInfoValueSyncIdSetControl
- All Implemented Interfaces:
- java.io.Serializable, javax.naming.ldap.Control, SyncInfoValueControl, InternalControl
public class SyncInfoValueSyncIdSetControl
- extends InternalAbstractControl
- implements SyncInfoValueControl
This class implement the SyncInfoValue interface, and represent the forth
choice : syncIdSet.
The structure for this control is :
syncInfoValue ::= CHOICE {
...
syncIdSet [3] SEQUENCE {
cookie syncCookie OPTIONAL,
refreshDeletes BOOLEAN DEFAULT FALSE,
syncUUIDs SET OF syncUUID
}
}
- Version:
- $Rev: $
- Author:
- Apache Directory Project
- See Also:
- RFC 4533,
Serialized Form
| Fields inherited from interface javax.naming.ldap.Control |
CRITICAL, NONCRITICAL |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyncInfoValueSyncIdSetControl
public SyncInfoValueSyncIdSetControl()
getCookie
public byte[] getCookie()
-
- Specified by:
getCookie in interface SyncInfoValueControl
- Returns:
- the cookie
setCookie
public void setCookie(byte[] cookie)
-
- Specified by:
setCookie in interface SyncInfoValueControl
- Parameters:
cookie - the cookie to set
isRefreshDeletes
public boolean isRefreshDeletes()
- Returns:
- the refreshDeletes
setRefreshDeletes
public void setRefreshDeletes(boolean refreshDeletes)
- Parameters:
refreshDone - the refreshDeletes to set
getSyncUUIDs
public java.util.List<byte[]> getSyncUUIDs()
- Returns:
- the syncUUIDs
addSyncUUID
public void addSyncUUID(byte[] syncUUID)
- Parameters:
syncUUIDs - the syncUUIDs to set
getID
public java.lang.String getID()
- Retrieves the object identifier assigned for the LDAP control.
- Specified by:
getID in interface javax.naming.ldap.Control- Overrides:
getID in class InternalAbstractControl
- Returns:
- The non-null object identifier string.
getEncodedValue
public byte[] getEncodedValue()
-
- Specified by:
getEncodedValue in interface javax.naming.ldap.Control
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.