Package io.jmix.flowui.model
Interface CollectionContainerSortProvider
@NullMarked
public interface CollectionContainerSortProvider
Provides sorting functionality for
CollectionContainers based on a specific context.
This interface is used to obtain a Sorter instance that can be applied to
a CollectionContainer according to the information provided in the CollectionContainerSortContext.-
Method Summary
Modifier and TypeMethodDescription@Nullable SortergetSorter(CollectionContainerSortContext context) Returns a sorter for the specified context.
-
Method Details
-
getSorter
Returns a sorter for the specified context.Implementations should return
nullif the context is not supported.- Parameters:
context- context containing the target container and optional loader- Returns:
- sorter for the context, or
nullif this provider does not support it
-