org.apache.directory.shared.ldap.message.control.replication
Class SyncInfoValueSyncIdSetControl

java.lang.Object
  extended by org.apache.directory.shared.ldap.message.control.InternalAbstractControl
      extended by 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

Field Summary
 
Fields inherited from interface org.apache.directory.shared.ldap.message.control.replication.SyncInfoValueControl
CONTROL_OID
 
Fields inherited from interface javax.naming.ldap.Control
CRITICAL, NONCRITICAL
 
Constructor Summary
SyncInfoValueSyncIdSetControl()
           
 
Method Summary
 void addSyncUUID(byte[] syncUUID)
           
 byte[] getCookie()
          
 byte[] getEncodedValue()
          
 java.lang.String getID()
          Retrieves the object identifier assigned for the LDAP control.
 java.util.List<byte[]> getSyncUUIDs()
           
 boolean isRefreshDeletes()
           
 void setCookie(byte[] cookie)
          
 void setRefreshDeletes(boolean refreshDeletes)
           
 
Methods inherited from class org.apache.directory.shared.ldap.message.control.InternalAbstractControl
isCritical, setCritical, setID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncInfoValueSyncIdSetControl

public SyncInfoValueSyncIdSetControl()
Method Detail

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.