Class PropertyFilterUrlQueryParametersBinderProvider
java.lang.Object
io.jmix.flowui.facet.urlqueryparameters.AbstractUrlQueryParametersBinderProvider
io.jmix.flowui.facet.urlqueryparameters.PropertyFilterUrlQueryParametersBinderProvider
- All Implemented Interfaces:
UrlQueryParametersBinderProvider,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@Component("flowui_PropertyFilterUrlQueryParametersBinderProvider")
public class PropertyFilterUrlQueryParametersBinderProvider
extends AbstractUrlQueryParametersBinderProvider
implements org.springframework.context.ApplicationContextAware
Provides a specific implementation of
UrlQueryParametersBinderProvider
that supports the binding of URL query parameters to PropertyFilter components.
The provider is responsible for parsing XML configuration and initializing the binding
between PropertyFilter components and URL query parameters.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA task responsible for initializing a property filter component and binding it to URL query parameters within the context of aUrlQueryParametersFacet. -
Field Summary
Fields inherited from class io.jmix.flowui.facet.urlqueryparameters.AbstractUrlQueryParametersBinderProvider
loaderSupport, urlParamSerializer -
Constructor Summary
ConstructorsConstructorDescriptionPropertyFilterUrlQueryParametersBinderProvider(UrlParamSerializer urlParamSerializer, LoaderSupport loaderSupport) -
Method Summary
Modifier and TypeMethodDescriptionvoidload(UrlQueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads parameters from XML to create a binder that binds the parameters of the URL query and the state of the component.voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) booleansupports(org.dom4j.Element element) Checks whether the provided element can be loaded by provider.Methods inherited from class io.jmix.flowui.facet.urlqueryparameters.AbstractUrlQueryParametersBinderProvider
loadAttribute, loadRequiredAttribute
-
Constructor Details
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
supports
public boolean supports(org.dom4j.Element element) Description copied from interface:UrlQueryParametersBinderProviderChecks whether the provided element can be loaded by provider.- Specified by:
supportsin interfaceUrlQueryParametersBinderProvider- Parameters:
element- element to check- Returns:
trueif element is supported
-
load
public void load(UrlQueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Description copied from interface:UrlQueryParametersBinderProviderLoads parameters from XML to create a binder that binds the parameters of the URL query and the state of the component.See example:
PaginationUrlQueryParametersBinderProvider.- Specified by:
loadin interfaceUrlQueryParametersBinderProvider- Parameters:
facet- the facetelement- element to loadcontext- loader context
-