Package com.vaadin.flow.component.crud
Class CrudFilter
java.lang.Object
com.vaadin.flow.component.crud.CrudFilter
- All Implemented Interfaces:
Serializable
The filter type for use with
CrudGrid
. This provides information
about the filter constraints and sort orders applied to the grid by the user.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the filter constraint applied to the grid as a map of column to filter text.Returns the sort orders applied to the grid as a map of column to sort direction.
-
Constructor Details
-
CrudFilter
public CrudFilter()
-
-
Method Details
-
getConstraints
Returns the filter constraint applied to the grid as a map of column to filter text.- Returns:
- all constraints for the grid
-
getSortOrders
Returns the sort orders applied to the grid as a map of column to sort direction. Only columns with active sorting are present.- Returns:
- the sort orders for the grid
-