Class CrudFilter

java.lang.Object
com.vaadin.flow.component.crud.CrudFilter
All Implemented Interfaces:
Serializable

public class CrudFilter extends Object implements 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 Details

    • CrudFilter

      public CrudFilter()
  • Method Details

    • getConstraints

      public Map<String,String> getConstraints()
      Returns the filter constraint applied to the grid as a map of column to filter text.
      Returns:
      all constraints for the grid
    • getSortOrders

      public Map<String,SortDirection> 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