Class GroupFilterConverter
java.lang.Object
io.jmix.flowui.component.genericfilter.converter.AbstractFilterComponentConverter<GroupFilter,GroupFilterCondition>
io.jmix.flowui.component.logicalfilter.GroupFilterConverter
- All Implemented Interfaces:
FilterConverter<GroupFilter,
GroupFilterCondition>
@Component("flowui_GroupFilterConverter")
@Scope("prototype")
public class GroupFilterConverter
extends AbstractFilterComponentConverter<GroupFilter,GroupFilterCondition>
-
Field Summary
Modifier and TypeFieldDescriptionprotected FilterComponents
protected LogicalFilterSupport
protected Metadata
protected UiComponents
Fields inherited from class io.jmix.flowui.component.genericfilter.converter.AbstractFilterComponentConverter
filter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns an instance of the UI filter component whose state was retrieved from the model.convertToModel
(GroupFilter groupFilter) Returns an instance of model whose state was retrieved from the UI filter component.protected GroupFilter
protected GroupFilterCondition
protected String
getLocalizedModelLabel
(GroupFilter component) void
setFilterComponents
(FilterComponents filterComponents) void
setLogicalFilterComponent
(LogicalFilterSupport logicalFilterSupport) void
setMetadata
(Metadata metadata) void
setUiComponents
(UiComponents uiComponents)
-
Field Details
-
metadata
-
uiComponents
-
filterComponents
-
logicalFilterSupport
-
-
Constructor Details
-
GroupFilterConverter
-
-
Method Details
-
setMetadata
-
setUiComponents
-
setFilterComponents
-
setLogicalFilterComponent
-
convertToComponent
Description copied from interface:FilterConverter
Returns an instance of the UI filter component whose state was retrieved from the model.- Specified by:
convertToComponent
in interfaceFilterConverter<GroupFilter,
GroupFilterCondition> - Overrides:
convertToComponent
in classAbstractFilterComponentConverter<GroupFilter,
GroupFilterCondition> - Parameters:
model
- a model instance- Returns:
- an instance of the UI filter component
-
convertToModel
Description copied from interface:FilterConverter
Returns an instance of model whose state was retrieved from the UI filter component.- Specified by:
convertToModel
in interfaceFilterConverter<GroupFilter,
GroupFilterCondition> - Overrides:
convertToModel
in classAbstractFilterComponentConverter<GroupFilter,
GroupFilterCondition> - Parameters:
groupFilter
- a filter component instance- Returns:
- a model instance
-
createComponent
- Specified by:
createComponent
in classAbstractFilterComponentConverter<GroupFilter,
GroupFilterCondition>
-
createModel
- Specified by:
createModel
in classAbstractFilterComponentConverter<GroupFilter,
GroupFilterCondition>
-
getLocalizedModelLabel
- Specified by:
getLocalizedModelLabel
in classAbstractFilterComponentConverter<GroupFilter,
GroupFilterCondition>
-