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
    Modifier and Type
    Field
    Description
    static final String
    This control OID
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    get the cookie
    boolean
    Tells if the refreshDeletes flag is set to true
    void
    setCookie(byte[] cookie)
    Set the cookie
    void
    setRefreshDeletes(boolean refreshDeletes)
    Set the refreshDeletes flag

    Methods inherited from interface org.apache.directory.api.ldap.model.message.Control

    getOid, isCritical, setCritical
  • Field Details

  • 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 to true
      Returns:
      true, if refreshDeletes flag is set, false otherwise
    • setRefreshDeletes

      void setRefreshDeletes(boolean refreshDeletes)
      Set the refreshDeletes flag
      Parameters:
      refreshDeletes - set the refreshDeletes flag