Interface SyncStateValue

All Superinterfaces:
org.apache.directory.api.ldap.model.message.Control
All Known Implementing Classes:
SyncStateValueImpl

public interface SyncStateValue extends org.apache.directory.api.ldap.model.message.Control
A syncStateValue object, as defined in RFC 4533 :
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.
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
    byte[]
    Get the entryUUID
    Get the the syncState's type
    void
    setCookie(byte[] cookie)
    Set the cookie
    void
    setEntryUUID(byte[] entryUUID)
    Set the entryUUID
    void
    set the syncState's type

    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 - The cookie to set
    • getSyncStateType

      SyncStateTypeEnum getSyncStateType()
      Get the the syncState's type
      Returns:
      The syncState's type
    • setSyncStateType

      void setSyncStateType(SyncStateTypeEnum syncStateType)
      set the syncState's type
      Parameters:
      syncStateType - the syncState's type
    • getEntryUUID

      byte[] getEntryUUID()
      Get the entryUUID
      Returns:
      the entryUUID
    • setEntryUUID

      void setEntryUUID(byte[] entryUUID)
      Set the entryUUID
      Parameters:
      entryUUID - The entryUUID