Class FieldSort
java.lang.Object
com.atlassian.confluence.search.v2.sort.FieldSort
- All Implemented Interfaces:
Expandable<SearchSort>
,SearchSort
Sort based on value of a field.
- Since:
- 7.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.confluence.search.v2.SearchSort
SearchSort.Order, SearchSort.Type
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Gets the key that uniquely identifies this sort method.getOrder()
Returns the order (whetherSearchSort.Order.ASCENDING
orSearchSort.Order.DESCENDING
) of the sort.getType()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.search.v2.SearchSort
expand
-
Field Details
-
KEY
- See Also:
-
-
Constructor Details
-
FieldSort
-
-
Method Details
-
getKey
Description copied from interface:SearchSort
Gets the key that uniquely identifies this sort method.- Specified by:
getKey
in interfaceSearchSort
- Returns:
- the sort key
-
getOrder
Description copied from interface:SearchSort
Returns the order (whetherSearchSort.Order.ASCENDING
orSearchSort.Order.DESCENDING
) of the sort.- Specified by:
getOrder
in interfaceSearchSort
- Returns:
- the order (whether
SearchSort.Order.ASCENDING
orSearchSort.Order.DESCENDING
) of the sort.
-
getType
-
getFieldName
-