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 ch.tocco.nice2.netui.actions.impl.sorting.DataViewSortingService
DataViewSortingService.DataViewSorting, DataViewSortingService.SortingField
-
Constructor Summary
ConstructorDescriptionDataViewSortingServiceImpl
(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:DataViewSortingService
handles sorting configs- Specified by:
getSortings
in 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
-