Interface VirtualListViewResponse

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

public interface VirtualListViewResponse extends org.apache.directory.api.ldap.model.message.Control
Virtual List View response control as specified in draft-ietf-ldapext-ldapv3-vlv-09.
 VirtualListViewResponse ::= SEQUENCE {
        targetPosition    INTEGER (0 .. maxInt),
        contentCount     INTEGER (0 .. maxInt),
        virtualListViewResult ENUMERATED {
             success (0),
             operationsError (1),
             protocolError (3),
             unwillingToPerform (53),
             insufficientAccessRights (50),
             timeLimitExceeded (3),
             adminLimitExceeded (11),
             innapropriateMatching (18),
             sortControlMissing (60),
             offsetRangeError (61),
             other(80),
             ... 
        },
        contextID     OCTET STRING OPTIONAL 
}
Author:
Apache Directory Project
  • Field Details

  • Method Details

    • getTargetPosition

      int getTargetPosition()
      Get the position in the list of entries
      Returns:
      the position in the list of entries
    • setTargetPosition

      void setTargetPosition(int targetPosition)
      Sets the position in the list of entries
      Parameters:
      targetPosition - the position in the list of entries
    • getContentCount

      int getContentCount()
      Get the number of returned entries
      Returns:
      The number of returned entries
    • setContentCount

      void setContentCount(int contentCount)
      Sets the number of returned entries
      Parameters:
      contentCount - The number of returned entries
    • getVirtualListViewResult

      VirtualListViewResultCode getVirtualListViewResult()
      Get the VLV result
      Returns:
      The VLV result
    • setVirtualListViewResult

      void setVirtualListViewResult(VirtualListViewResultCode virtualListViewResultCode)
      Store the VLV result
      Parameters:
      virtualListViewResultCode - The result
    • getContextId

      byte[] getContextId()
      Get the context ID
      Returns:
      The context ID
    • setContextId

      void setContextId(byte[] contextId)
      Sets the context ID
      Parameters:
      contextId - The context ID