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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextFields inherited from class io.jmix.flowui.facet.urlqueryparameters.AbstractUrlQueryParametersBinderProvider
loaderSupport, urlParamSerializer -
Constructor Summary
ConstructorsConstructorDescriptionGenericFilterUrlQueryParametersBinderProvider(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
-
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:
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
-