Interface AutoFilterModel

All Known Implementing Classes:
DBTableModel, FilterSortPivotWidget, IrisTreeTableModel

public interface AutoFilterModel
Interface for models that support auto filter
  • Method Details

    • getColumnSet

      com.fishlib.dataobjects.WColumnSet getColumnSet()
      Gets teh column set for the model.
      Returns:
      the column set
    • isFilterable

      boolean isFilterable(String column)
      Checks if a given column is filterable.
      Parameters:
      column - the name of the column to check
      Returns:
      true if it is filterable, false otherwise
    • getInitialFetchSize

      int getInitialFetchSize(String column)
      Get the number of unique values to initially fetch for the specified column.
      Parameters:
      column - The column to get the fetch size for
      Returns:
      The number of unique values to fetch
    • getFilterStrategy

      FilterStrategyImpl getFilterStrategy()
      Gets the filter strategy.
      Returns:
      the filter strategy
    • requestAutoFilterData

      AutoFilterModel.AutoFilterRequestHandler requestAutoFilterData(String columnName, int maxUniqueValues, AutoFilterModel.AutoFilterListener listener)
      Requests auto filter data for a given column name.
      Parameters:
      columnName - the name of the column
      maxUniqueValues - the maximum number of unique values to return
      listener - a listener for the data
      Returns:
      a handler for the request
    • requestMoreAutoFilterData

      Requests more data for the given column.
      Parameters:
      columnName - the name of the column
      listener - a listener for the data
      Returns:
      a handler for the request