Package io.jmix.flowui.xml.facet
Class QueryParametersFacetProvider
java.lang.Object
io.jmix.flowui.xml.facet.QueryParametersFacetProvider
- All Implemented Interfaces:
FacetProvider<QueryParametersFacet>,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@Component("flowui_QueryParametersFacetProvider")
public class QueryParametersFacetProvider
extends Object
implements FacetProvider<QueryParametersFacet>, org.springframework.context.ApplicationContextAware
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected LoaderSupportprotected RouteSupportprotected UrlParamSerializer -
Constructor Summary
ConstructorsConstructorDescriptionQueryParametersFacetProvider(LoaderSupport loaderSupport, RouteSupport routeSupport, UrlParamSerializer urlParamSerializer) -
Method Summary
Modifier and TypeMethodDescriptioncreate()protected StringloadAttribute(org.dom4j.Element element, String name) protected voidloadBinder(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) voidloadFromXml(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads properties of the facet from XML.protected voidloadGenericFilterQueryParametersBinder(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected voidloadPaginationQueryParametersBinder(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected voidloadPropertyFilterQueryParametersBinder(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected StringloadRequiredAttribute(org.dom4j.Element element, String name, ComponentLoader.ComponentContext context) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Field Details
-
loaderSupport
-
routeSupport
-
urlParamSerializer
-
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
-
getFacetClass
- Specified by:
getFacetClassin interfaceFacetProvider<QueryParametersFacet>- Returns:
- facet interface
-
create
- Specified by:
createin interfaceFacetProvider<QueryParametersFacet>- Returns:
- new instance of the facet class
-
getFacetTag
- Specified by:
getFacetTagin interfaceFacetProvider<QueryParametersFacet>- Returns:
- facet XML tag
-
loadFromXml
public void loadFromXml(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Description copied from interface:FacetProviderLoads properties of the facet from XML.- Specified by:
loadFromXmlin interfaceFacetProvider<QueryParametersFacet>- Parameters:
facet- facetelement- XML elementcontext- loading context
-
loadBinder
protected void loadBinder(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadPropertyFilterQueryParametersBinder
protected void loadPropertyFilterQueryParametersBinder(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadGenericFilterQueryParametersBinder
protected void loadGenericFilterQueryParametersBinder(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadPaginationQueryParametersBinder
protected void loadPaginationQueryParametersBinder(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadAttribute
-
loadRequiredAttribute
protected String loadRequiredAttribute(org.dom4j.Element element, String name, ComponentLoader.ComponentContext context)
-