Class DataViewSortingServiceImpl
java.lang.Object
ch.tocco.nice2.netui.actions.impl.sorting.DataViewSortingServiceImpl
- All Implemented Interfaces:
DataViewSortingService
-
Nested Class Summary
Nested classes/interfaces inherited from interface DataViewSortingService
DataViewSortingService.DataViewSorting, DataViewSortingService.SortingField -
Constructor Summary
ConstructorsConstructorDescriptionDataViewSortingServiceImpl(FormModel formModel, TextResources textResources) -
Method Summary
Modifier and TypeMethodDescriptiongetSortings(DataViewSortingService.SortingField[] sortingFields, String formName) handles sorting configs
-
Constructor Details
-
DataViewSortingServiceImpl
-
-
Method Details
-
getSortings
public List<DataViewSortingService.DataViewSorting> getSortings(DataViewSortingService.SortingField[] sortingFields, String formName) Description copied from interface:DataViewSortingServicehandles sorting configs- Specified by:
getSortingsin interfaceDataViewSortingService- Parameters:
sortingFields- the sortings that were defined on the formformName- the form used- Returns:
- a list of sortings with the path to sort by and a label
-