public interface

SearchSort

com.atlassian.confluence.search.v2.SearchSort
Known Indirect Subclasses

Class Overview

Represents some method for sorting search results, and the order in which to search them. Implementations should be immutable.

Summary

Nested Classes
enum SearchSort.Order Enum defining the types of ordering supported. 
Public Methods
abstract String getKey()
Gets the key that uniquely identifies this sort method.
abstract SearchSort.Order getOrder()
Returns the order (whether ASCENDING or DESCENDING) of the sort.

Public Methods

public abstract String getKey ()

Gets the key that uniquely identifies this sort method.

Returns
  • the sort key

public abstract SearchSort.Order getOrder ()

Returns the order (whether ASCENDING or DESCENDING) of the sort.

Returns