Package com.vaadin.featurepack.data.sort
Class Sort
java.lang.Object
com.vaadin.featurepack.data.sort.Sort
- All Implemented Interfaces:
Serializable
Deprecated.
Fluid Sort API. Provides a convenient, human-readable way of specifying
multi-column sort order.
- Since:
- 7.4
- Author:
- Vaadin Ltd
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.Build a sort order list, ready to be passed to Grid.static SortDeprecated.Start building a Sort order by sorting a provided column in ascending order.static Sortby(Object propertyId, SortDirection direction) Deprecated.Start building a Sort order by sorting a provided column.Deprecated.Continue building a Sort order.then(Object propertyId, SortDirection direction) Deprecated.Continue building a Sort order.
-
Method Details
-
by
Deprecated.Start building a Sort order by sorting a provided column in ascending order.- Parameters:
propertyId- a property id, corresponding to a data source property- Returns:
- a sort object
-
by
Deprecated.Start building a Sort order by sorting a provided column.- Parameters:
propertyId- a property id, corresponding to a data source propertydirection- a sort direction value- Returns:
- a sort object
-
then
Deprecated.Continue building a Sort order. The provided property is sorted in ascending order if the previously added properties have been evaluated as equals.- Parameters:
propertyId- a property id, corresponding to a data source property- Returns:
- a sort object
-
then
Deprecated.Continue building a Sort order. The provided property is sorted in specified order if the previously added properties have been evaluated as equals.- Parameters:
propertyId- a property id, corresponding to a data source propertydirection- a sort direction value- Returns:
- a sort object
-
build
Deprecated.Build a sort order list, ready to be passed to Grid.- Returns:
- a sort order list.
-