Class FilenameSort
- java.lang.Object
-
- com.atlassian.confluence.search.v2.sort.AbstractSort
-
- com.atlassian.confluence.search.v2.sort.FilenameSort
-
- All Implemented Interfaces:
Expandable<SearchSort>
,SearchSort
public class FilenameSort extends AbstractSort
Sort based on an attachment's filename. Ideally this should be folded into TitleSort.
-
-
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 FilenameSort
ASCENDING
Sorts by filename (ascending)static FilenameSort
DEFAULT
Sorts by filename (defaults to ascending order)static FilenameSort
DESCENDING
Sorts by filename (descending)static String
KEY
-
Constructor Summary
Constructors Constructor Description FilenameSort(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 FilenameSort DESCENDING
Sorts by filename (descending)
-
ASCENDING
public static final FilenameSort ASCENDING
Sorts by filename (ascending)
-
DEFAULT
public static final FilenameSort DEFAULT
Sorts by filename (defaults to ascending order)
-
-
Constructor Detail
-
FilenameSort
public FilenameSort(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
-
-