Module is.codion.framework.model
Package is.codion.framework.model
Interface EntityTableModel.Config
- Enclosing interface:
EntityTableModel<E extends EntityEditModel<R>,R extends EntityEditor<R>>
public static interface EntityTableModel.Config
Configures an
EntityTableModel when instantiated.-
Method Summary
Modifier and TypeMethodDescriptionconditions(Consumer<EntityConditions.Builder> conditions) Configures the query condition model, the builder received being initialized with the entity type and connection of the edit model.filters(Consumer<TableConditions.Builder<Attribute<?>>> filters) Configures the column filters, the builder received providing a filter for each filterable column, initialized with its defaults.
-
Method Details
-
conditions
Configures the query condition model, the builder received being initialized with the entity type and connection of the edit model. Replaces any previous configuration.- Parameters:
conditions- configures the condition model builder- Returns:
- this Config instance
- See Also:
-
filters
Configures the column filters, the builder received providing a filter for each filterable column, initialized with its defaults. Replaces any previous configuration.- Parameters:
filters- configures the filters- Returns:
- this Config instance
- See Also:
-