Package org.alfresco.query
Class CannedQuerySortDetails
java.lang.Object
org.alfresco.query.CannedQuerySortDetails
Details for canned queries supporting sorted results
- Since:
- 4.0
- Author:
- Derek Hulley
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Sort ordering for the sort pairs. -
Constructor Summary
ConstructorsConstructorDescriptionCannedQuerySortDetails
(List<Pair<? extends Object, CannedQuerySortDetails.SortOrder>> sortPairs) Construct the sort details from a list of sort pairs.CannedQuerySortDetails
(Pair<? extends Object, CannedQuerySortDetails.SortOrder>... sortPairs) Construct the sort details with a variable number of sort pairs. -
Method Summary
Modifier and TypeMethodDescriptionList<Pair<? extends Object,
CannedQuerySortDetails.SortOrder>> Get the sort definitions.toString()
-
Constructor Details
-
CannedQuerySortDetails
Construct the sort details with a variable number of sort pairs. Sorting is done by:
key: the key type to sort on
sortOrder: the ordering of values associated with the key- Parameters:
sortPairs
- the sort pairs, which will be applied in order
-
CannedQuerySortDetails
public CannedQuerySortDetails(List<Pair<? extends Object, CannedQuerySortDetails.SortOrder>> sortPairs) Construct the sort details from a list of sort pairs. Sorting is done by:
key: the key type to sort on
sortOrder: the ordering of values associated with the key- Parameters:
sortPairs
- the sort pairs, which will be applied in order
-
-
Method Details