Interface VirtualListViewRequest

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

public interface VirtualListViewRequest extends org.apache.directory.api.ldap.model.message.Control
Virtual List View control as specified in draft-ietf-ldapext-ldapv3-vlv-09. VirtualListViewRequest ::= SEQUENCE { beforeCount INTEGER (0..maxInt), afterCount INTEGER (0..maxInt), target CHOICE { byOffset [0] SEQUENCE { offset INTEGER (1 .. maxInt), contentCount INTEGER (0 .. maxInt) }, greaterThanOrEqual [1] AssertionValue }, contextID OCTET STRING OPTIONAL } Note : the target is set accordingly to which of the setOffset() or assertionValue() method is called last.
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
    int
    Get the number of entries after the target entry that are going to be sent
    byte[]
    Get the AssertionValue
    int
    Get the number of entries before the target entry that are going to be sent
    int
    Get the number of expected entries
    byte[]
    Get the ID used for this request
    int
    Get the position of the target entry
    boolean
    Tells if the VLV target is an assertionValue
    boolean
    Tells if the VLV target is an offset
    void
    setAfterCount(int afterCount)
    Set the number of entries to be returned after the target entry
    void
    setAssertionValue(byte[] assertionValue)
    Set the AssertionValue
    void
    setBeforeCount(int beforeCount)
    Set the number of entries to be returned before the target entry
    void
    setContentCount(int contentCount)
    Set the number of entries
    void
    setContextId(byte[] contextId)
    Set the context ID
    void
    setOffset(int offset)
    Set the position of the target entry

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

    getOid, isCritical, setCritical
  • Field Details

  • Method Details

    • getBeforeCount

      int getBeforeCount()
      Get the number of entries before the target entry that are going to be sent
      Returns:
      The number of entries before the target entry that are going to be sent
    • setBeforeCount

      void setBeforeCount(int beforeCount)
      Set the number of entries to be returned before the target entry
      Parameters:
      beforeCount - The number of entries to be returned before the target entry
    • getAfterCount

      int getAfterCount()
      Get the number of entries after the target entry that are going to be sent
      Returns:
      The number of entries after the target entry that are going to be sent
    • setAfterCount

      void setAfterCount(int afterCount)
      Set the number of entries to be returned after the target entry
      Parameters:
      afterCount - The number of entries to be returned after the target entry
    • getOffset

      int getOffset()
      Get the position of the target entry
      Returns:
      The position of the target entry
    • setOffset

      void setOffset(int offset)
      Set the position of the target entry
      Parameters:
      offset - the position of the target entry
    • getContentCount

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

      void setContentCount(int contentCount)
      Set the number of entries
      Parameters:
      contentCount - The number of entries
    • getAssertionValue

      byte[] getAssertionValue()
      Get the AssertionValue
      Returns:
      The AssertionValue
    • setAssertionValue

      void setAssertionValue(byte[] assertionValue)
      Set the AssertionValue
      Parameters:
      assertionValue - The AssertionValue
    • getContextId

      byte[] getContextId()
      Get the ID used for this request
      Returns:
      The ID used for this request
    • setContextId

      void setContextId(byte[] contextId)
      Set the context ID
      Parameters:
      contextId - The context ID
    • hasOffset

      boolean hasOffset()
      Tells if the VLV target is an offset
      Returns:
      true if the VLV target is an offset, false otherwise
    • hasAssertionValue

      boolean hasAssertionValue()
      Tells if the VLV target is an assertionValue
      Returns:
      true if the VLV target is an assertionValue, false otherwise