Class FullTextFilterConverter
java.lang.Object
io.jmix.ui.component.filter.converter.AbstractFilterComponentConverter<FullTextFilter,FullTextFilterCondition>
io.jmix.searchui.component.fulltextfilter.FullTextFilterConverter
- All Implemented Interfaces:
FilterConverter<FullTextFilter,
FullTextFilterCondition>
@Component("search_FullTextFilterConverter")
@Scope("prototype")
public class FullTextFilterConverter
extends AbstractFilterComponentConverter<FullTextFilter,FullTextFilterCondition>
-
Field Summary
Fields inherited from class io.jmix.ui.component.filter.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
(FullTextFilter fullTextFilter) Returns an instance of model whose state was retrieved from the UI filter component.protected FilterValueComponent
convertValueComponentToModel
(FullTextFilter component) protected FullTextFilter
protected FullTextFilterCondition
protected String
getLocalizedModelCaption
(FullTextFilter component)
-
Field Details
-
uiComponents
-
metadata
-
-
Constructor Details
-
FullTextFilterConverter
-
-
Method Details
-
createComponent
- Specified by:
createComponent
in classAbstractFilterComponentConverter<FullTextFilter,
FullTextFilterCondition>
-
createModel
- Specified by:
createModel
in classAbstractFilterComponentConverter<FullTextFilter,
FullTextFilterCondition>
-
getLocalizedModelCaption
- Specified by:
getLocalizedModelCaption
in classAbstractFilterComponentConverter<FullTextFilter,
FullTextFilterCondition>
-
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<FullTextFilter,
FullTextFilterCondition> - Overrides:
convertToComponent
in classAbstractFilterComponentConverter<FullTextFilter,
FullTextFilterCondition> - 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<FullTextFilter,
FullTextFilterCondition> - Overrides:
convertToModel
in classAbstractFilterComponentConverter<FullTextFilter,
FullTextFilterCondition> - Parameters:
fullTextFilter
- a filter component instance- Returns:
- a model instance
-
convertValueComponentToComponent
-
convertValueComponentToModel
-