Interface VirtualListViewResponse

  • All Superinterfaces:
    Control
    All Known Implementing Classes:
    VirtualListViewResponseImpl

    public interface VirtualListViewResponse
    extends 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
    • Method Detail

      • getTargetPosition

        int getTargetPosition()
        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()
        Returns:
        The number of returned entries
      • setContentCount

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

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

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

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