Class GenericFilterUrlQueryParametersBinderProvider
java.lang.Object
io.jmix.flowui.facet.urlqueryparameters.AbstractUrlQueryParametersBinderProvider
io.jmix.flowui.facet.urlqueryparameters.GenericFilterUrlQueryParametersBinderProvider
- All Implemented Interfaces:
UrlQueryParametersBinderProvider
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Component("flowui_GenericFilterUrlQueryParametersBinderProvider")
public class GenericFilterUrlQueryParametersBinderProvider
extends AbstractUrlQueryParametersBinderProvider
implements org.springframework.context.ApplicationContextAware
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
Fields inherited from class io.jmix.flowui.facet.urlqueryparameters.AbstractUrlQueryParametersBinderProvider
loaderSupport, urlParamSerializer
-
Constructor Summary
ConstructorDescriptionGenericFilterUrlQueryParametersBinderProvider
(UrlParamSerializer urlParamSerializer, LoaderSupport loaderSupport) -
Method Summary
Modifier and TypeMethodDescriptionvoid
load
(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.void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) boolean
supports
(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
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
supports
public boolean supports(org.dom4j.Element element) Description copied from interface:UrlQueryParametersBinderProvider
Checks whether the provided element can be loaded by provider.- Specified by:
supports
in interfaceUrlQueryParametersBinderProvider
- Parameters:
element
- element to check- Returns:
true
if element is supported
-
load
public void load(UrlQueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Description copied from interface:UrlQueryParametersBinderProvider
Loads 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:
load
in interfaceUrlQueryParametersBinderProvider
- Parameters:
facet
- the facetelement
- element to loadcontext
- loader context
-