Class CreatedSort
- java.lang.Object
-
- com.atlassian.confluence.search.v2.sort.AbstractSort
-
- com.atlassian.confluence.search.v2.sort.CreatedSort
-
- All Implemented Interfaces:
Expandable<SearchSort>
,SearchSort
public class CreatedSort extends AbstractSort
Order search results by time created
-
-
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 CreatedSort
ASCENDING
Sorts by created date (ascending)static CreatedSort
DEFAULT
Sorts by created date (defaults to descending order)static CreatedSort
DESCENDING
Sorts by created date (descending)static String
KEY
-
Constructor Summary
Constructors Constructor Description CreatedSort(SearchSort.Order order)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchSort
expand()
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 Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
DESCENDING
public static final CreatedSort DESCENDING
Sorts by created date (descending)
-
ASCENDING
public static final CreatedSort ASCENDING
Sorts by created date (ascending)
-
DEFAULT
public static final CreatedSort DEFAULT
Sorts by created date (defaults to descending order)
-
-
Constructor Detail
-
CreatedSort
public CreatedSort(SearchSort.Order order)
-
-
Method Detail
-
expand
public SearchSort expand()
Description copied from interface:Expandable
Expand this query/filter into a composite query/filter (that composes others).- Returns:
- a query/filter
-
-