Class GenericFilterQueryParametersBinder
java.lang.Object
io.jmix.flowui.facet.queryparameters.AbstractQueryParametersBinder
io.jmix.flowui.facet.queryparameters.GenericFilterQueryParametersBinder
- All Implemented Interfaces:
QueryParametersFacet.Binder
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
static final String
static final String
static final String
static final String
static final String
protected String
protected GenericFilter
protected com.vaadin.flow.shared.Registration
static final String
static final String
protected QueryParametersSupport
protected SingleFilterSupport
protected UiComponents
protected UrlParamSerializer
Fields inherited from class io.jmix.flowui.facet.queryparameters.AbstractQueryParametersBinder
id
-
Constructor Summary
ConstructorDescriptionGenericFilterQueryParametersBinder
(GenericFilter filter, UrlParamSerializer urlParamSerializer, org.springframework.context.ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
bindDataLoaderListener
(GenericFilter filter) protected void
protected List<FilterComponent>
deserializeConditions
(String conditionsValue, DataLoader dataLoader) protected com.vaadin.flow.component.HasValueAndElement<?,
?> generatePropertyFilterValueComponent
(PropertyFilter<?> propertyFilter) protected SingleFilterSupport
protected void
initComponent
(GenericFilter filter) protected void
protected void
protected void
onPostLoad
(EventObject event) protected FilterComponent
parseCondition
(String conditionString, DataLoader dataLoader) protected PropertyFilter<?>
parsePropertyCondition
(String conditionString, DataLoader dataLoader) protected String
serializePropertyCondition
(PropertyCondition condition) void
setConditionsParam
(String conditionsParam) protected void
protected void
void
updateState
(com.vaadin.flow.router.QueryParameters queryParameters) Informs query parameters binder that view query parameters has been changed.Methods inherited from class io.jmix.flowui.facet.queryparameters.AbstractQueryParametersBinder
addQueryParametersChangeListener, fireQueryParametersChanged, getEventBus, getId, setId
-
Field Details
-
NAME
- See Also:
-
PROPERTY_CONDITION_PREFIX
- See Also:
-
CONDITIONS_PARAM
- See Also:
-
CONDITIONS_SEPARATOR
- See Also:
-
CONDITIONS_EMPTY_VALUE
- See Also:
-
CONDITION_TYPE_SEPARATOR
- See Also:
-
CONDITION_VALUES_SEPARATOR
- See Also:
-
filter
-
conditionsParam
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
urlParamSerializer
-
uiComponents
-
singleFilterSupport
-
queryParametersSupport
-
filterComponentsChangeRegistration
protected com.vaadin.flow.shared.Registration filterComponentsChangeRegistration
-
-
Constructor Details
-
Method Details
-
autowireDependencies
protected void autowireDependencies() -
initComponent
-
bindDataLoaderListener
-
onPostLoad
-
onConfigurationChanged
-
onFilterComponentsChanged
protected void onFilterComponentsChanged(LogicalFilterComponent.FilterComponentsChangeEvent<?> event) -
updateQueryParameters
protected void updateQueryParameters() -
serializePropertyCondition
-
updateState
public void updateState(com.vaadin.flow.router.QueryParameters queryParameters) Description copied from interface:QueryParametersFacet.Binder
Informs query parameters binder that view query parameters has been changed.- Parameters:
queryParameters
- a view query parameters
-
deserializeConditions
protected List<FilterComponent> deserializeConditions(String conditionsValue, DataLoader dataLoader) -
parseCondition
-
parsePropertyCondition
-
generatePropertyFilterValueComponent
protected com.vaadin.flow.component.HasValueAndElement<?,?> generatePropertyFilterValueComponent(PropertyFilter<?> propertyFilter) -
bindFilterComponentsChangeListener
-
unbindFilterComponentsChange
protected void unbindFilterComponentsChange() -
getConditionsParam
-
setConditionsParam
-
getSingleFilterSupport
-