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
@SearchPrimitive public final class ContentIdSort extends AbstractSort
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
Fields Modifier and Type Field Description static ContentIdSort
ASCENDING
static ContentIdSort
DESCENDING
static String
KEY
-
Constructor Summary
Constructors Constructor Description ContentIdSort(SearchSort.Order order)
Constructs a sort, private, use staticASCENDING
orDESCENDING
-
Method Summary
-
Methods inherited from class com.atlassian.confluence.search.v2.sort.AbstractSort
equals, getKey, getOrder, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.search.v2.SearchSort
expand
-
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
ASCENDING
public static final ContentIdSort ASCENDING
-
DESCENDING
public static final ContentIdSort DESCENDING
-
-
Constructor Detail
-
ContentIdSort
public ContentIdSort(SearchSort.Order order)
Constructs a sort, private, use staticASCENDING
orDESCENDING
- Parameters:
order
- (required) the direction of the sort (SearchSort.Order
).
-
-