Interface SortRequest

  • All Superinterfaces:
    Control
    All Known Implementing Classes:
    SortRequestImpl

    public interface SortRequest
    extends Control
    Implementation of Server Side Sort request control based on the RFC 2891

           SortKeyList ::= SEQUENCE OF SEQUENCE {
                   attributeType   AttributeDescription,
                   orderingRule    [0] MatchingRuleId OPTIONAL,
                   reverseOrder    [1] BOOLEAN DEFAULT FALSE }
     
    Author:
    Apache Directory Project
    • Method Detail

      • setSortKeys

        void setSortKeys​(List<SortKey> sortKeys)
        sets the sort keys
        Parameters:
        sortKeys - The list of keys to be sorted
      • getSortKeys

        List<SortKey> getSortKeys()
        Returns:
        the list of sort keys
      • addSortKey

        void addSortKey​(SortKey sortKey)
        adds a sort key
        Parameters:
        sortKey - The list of keys to be sorted