Class ModifiedSort
- java.lang.Object
-
- com.atlassian.confluence.search.v2.sort.AbstractSort
-
- com.atlassian.confluence.search.v2.sort.ModifiedSort
-
- All Implemented Interfaces:
Expandable<SearchSort>
,SearchSort
public class ModifiedSort extends AbstractSort
Order search results by time last modified
-
-
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 ModifiedSort
ASCENDING
Sorts by last modified (ascending)static ModifiedSort
DEFAULT
Sorts by last modified (defaults to descending order)static ModifiedSort
DESCENDING
Sorts by last modified (descending)static String
KEY
-
Constructor Summary
Constructors Constructor Description ModifiedSort(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 ModifiedSort DESCENDING
Sorts by last modified (descending)
-
ASCENDING
public static final ModifiedSort ASCENDING
Sorts by last modified (ascending)
-
DEFAULT
public static final ModifiedSort DEFAULT
Sorts by last modified (defaults to descending order)
-
-
Constructor Detail
-
ModifiedSort
public ModifiedSort(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
-
-