Class ContentIdSort
java.lang.Object
com.atlassian.confluence.search.v2.sort.AbstractSort
com.atlassian.confluence.search.v2.sort.ContentIdSort
- All Implemented Interfaces:
Expandable<SearchSort>
,SearchSort
Sort content by its id that is stored as part of the handle field in Lucene index.
This class is a copy of ContentIdSort
from confluence-cql-plugin inorder to deprecate the former one.
- Since:
- 7.12
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.confluence.search.v2.SearchSort
SearchSort.Order, SearchSort.Type
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ContentIdSort
static final ContentIdSort
static final String
-
Constructor Summary
ConstructorDescriptionContentIdSort
(SearchSort.Order order) Constructs a sort, private, use staticASCENDING
orDESCENDING
-
Method Summary
Modifier and TypeMethodDescriptionexpand()
Expand this query/filter into a composite query/filter (that composes others).Methods inherited from class com.atlassian.confluence.search.v2.sort.AbstractSort
equals, getKey, getOrder, hashCode
-
Field Details
-
KEY
- See Also:
-
ASCENDING
-
DESCENDING
-
-
Constructor Details
-
ContentIdSort
Constructs a sort, private, use staticASCENDING
orDESCENDING
- Parameters:
order
- (required) the direction of the sort (SearchSort.Order
).
-
-
Method Details
-
expand
Description copied from interface:Expandable
Expand this query/filter into a composite query/filter (that composes others).- Returns:
- a query/filter
-