Interface SyncInfoValue

All Superinterfaces:
org.apache.directory.api.ldap.model.message.IntermediateResponse, org.apache.directory.api.ldap.model.message.Message, org.apache.directory.api.ldap.model.message.Response, org.apache.directory.api.ldap.model.message.ResultResponse
All Known Implementing Classes:
SyncInfoValueImpl

public interface SyncInfoValue extends org.apache.directory.api.ldap.model.message.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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    This intermediate response OID
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addSyncUUID(byte[] syncUUID)
    Set the syncUUID
    byte[]
    Get the cookie
    Get the value type.
    List<byte[]>
    Get the syncUUIDs
    boolean
    Tells if the refreshDeletes flag is set to true
    boolean
    Tells if the refreshDone flag is set to true
    void
    setCookie(byte[] cookie)
    Set the cookie
    void
    setRefreshDeletes(boolean refreshDeletes)
    Set the refreshDeletes flag
    void
    setRefreshDone(boolean refreshDone)
    Set the refreshDone flag
    void
    Set the the synchronization type
    void
    setSyncUUIDs(List<byte[]> syncUUIDs)
    Set the 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 Details

  • Method Details

    • getSyncInfoValueType

      SynchronizationInfoEnum getSyncInfoValueType()
      Get the value type.
      Returns:
      the type : one of newCookie, refreshDelete, refreshPresent or syncIdSet
    • setSyncInfoValueType

      void setSyncInfoValueType(SynchronizationInfoEnum type)
      Set the the synchronization type
      Parameters:
      type - the synchronization type to set
    • getCookie

      byte[] getCookie()
      Get the cookie
      Returns:
      the cookie
    • setCookie

      void setCookie(byte[] cookie)
      Set the cookie
      Parameters:
      cookie - the cookie to set
    • isRefreshDone

      boolean isRefreshDone()
      Tells if the refreshDone flag is set to true
      Returns:
      the refreshDone
    • setRefreshDone

      void setRefreshDone(boolean refreshDone)
      Set the refreshDone flag
      Parameters:
      refreshDone - the refreshDone to set
    • isRefreshDeletes

      boolean isRefreshDeletes()
      Tells if the refreshDeletes flag is set to true
      Returns:
      the refreshDeletes
    • setRefreshDeletes

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

      List<byte[]> getSyncUUIDs()
      Get the syncUUIDs
      Returns:
      the syncUUIDs
    • setSyncUUIDs

      void setSyncUUIDs(List<byte[]> syncUUIDs)
      Set the syncUUIDs
      Parameters:
      syncUUIDs - the syncUUIDs to set
    • addSyncUUID

      void addSyncUUID(byte[] syncUUID)
      Set the syncUUID
      Parameters:
      syncUUID - the syncUUIDs to set