Package io.jmix.ui.model.impl
Class CollectionContainerSorter
java.lang.Object
io.jmix.ui.model.impl.BaseContainerSorter
io.jmix.ui.model.impl.CollectionContainerSorter
- All Implemented Interfaces:
Sorter
Standard implementation of sorting
CollectionContainer
s.-
Field Summary
Fields inherited from class io.jmix.ui.model.impl.BaseContainerSorter
beanFactory
-
Constructor Summary
ConstructorDescriptionCollectionContainerSorter
(CollectionContainer container, BaseCollectionLoader loader, org.springframework.beans.factory.BeanFactory beanFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
setItemsToContainer
(List list) void
Sorts data according to the givenSort
parameters.Methods inherited from class io.jmix.ui.model.impl.BaseContainerSorter
createComparator, getContainer, sortInMemory
-
Constructor Details
-
CollectionContainerSorter
public CollectionContainerSorter(CollectionContainer container, @Nullable BaseCollectionLoader loader, org.springframework.beans.factory.BeanFactory beanFactory)
-
-
Method Details
-
setItemsToContainer
- Specified by:
setItemsToContainer
in classBaseContainerSorter
-
sort
Description copied from interface:Sorter
Sorts data according to the givenSort
parameters.- Specified by:
sort
in interfaceSorter
- Overrides:
sort
in classBaseContainerSorter
-