Package com.saperion.ngc.model.resultset
Class ClientSideSorting
java.lang.Object
com.saperion.ngc.model.resultset.ClientSideSorting
Utility class to sort a query result on the client side.
-
Constructor Summary
ConstructorsConstructorDescriptionClientSideSorting
(List<ResultProperties> resultToSort, Map<String, SortDirection> columns) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionPerforms the sorting and returns a sorted copy of the property list.
-
Constructor Details
-
ClientSideSorting
Constructor.- Parameters:
resultToSort
- result to sortcolumns
- columns and directions to use for sorting
-
-
Method Details
-
getSortedResult
Performs the sorting and returns a sorted copy of the property list.- Returns:
- sorted copy of property list
-