Package io.jmix.flowui.model.impl
Class BaseContainerSorter
java.lang.Object
io.jmix.flowui.model.impl.BaseContainerSorter
- All Implemented Interfaces:
Sorter
- Direct Known Subclasses:
CollectionContainerSorter,CollectionPropertyContainerSorter
Base implementation of sorting collection containers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.beans.factory.BeanFactory -
Constructor Summary
ConstructorsConstructorDescriptionBaseContainerSorter(CollectionContainer<?> container, org.springframework.beans.factory.BeanFactory beanFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected Comparator<?>createComparator(Sort.Order sortOrder, MetaClass metaClass) protected abstract voidsetItemsToContainer(List<?> list) voidSorts data according to the givenSortparameters.protected voidsortInMemory(Sort sort)
-
Field Details
-
beanFactory
protected org.springframework.beans.factory.BeanFactory beanFactory
-
-
Constructor Details
-
BaseContainerSorter
public BaseContainerSorter(CollectionContainer<?> container, org.springframework.beans.factory.BeanFactory beanFactory)
-
-
Method Details