Class SearchQuerySort

    • Constructor Detail

      • SearchQuerySort

        public SearchQuerySort​(String fieldId,
                               SearchQuerySort.Order order)
        Creates a new instance.
        Parameters:
        fieldId - the field identifier.
        order - the sort order.
        Since:
        8.1.0
      • SearchQuerySort

        public SearchQuerySort​(DocumentTypeField field,
                               SearchQuerySort.Order order)
        Creates a new instance.
        Parameters:
        field - the field.
        order - the sort order.
        Since:
        10.0.0
    • Method Detail

      • getFieldId

        public String getFieldId()
        Returns the field id.
        Returns:
        the field id.
        Since:
        8.1.0
      • getOrder

        public SearchQuerySort.Order getOrder()
        Returns the sort order.
        Returns:
        the sort order.
        Since:
        8.1.0