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
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected LoaderSupport
protected RouteSupport
protected UrlParamSerializer
-
Constructor Summary
ConstructorDescriptionQueryParametersFacetProvider
(LoaderSupport loaderSupport, RouteSupport routeSupport, UrlParamSerializer urlParamSerializer) -
Method Summary
Modifier and TypeMethodDescriptioncreate()
protected String
loadAttribute
(org.dom4j.Element element, String name) protected void
loadBinder
(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) void
loadFromXml
(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads properties of the facet from XML.protected void
loadGenericFilterQueryParametersBinder
(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected void
loadPaginationQueryParametersBinder
(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected void
loadPropertyFilterQueryParametersBinder
(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected String
loadRequiredAttribute
(org.dom4j.Element element, String name, ComponentLoader.ComponentContext context) void
setApplicationContext
(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:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getFacetClass
- Specified by:
getFacetClass
in interfaceFacetProvider<QueryParametersFacet>
- Returns:
- facet interface
-
create
- Specified by:
create
in interfaceFacetProvider<QueryParametersFacet>
- Returns:
- new instance of the facet class
-
getFacetTag
- Specified by:
getFacetTag
in interfaceFacetProvider<QueryParametersFacet>
- Returns:
- facet XML tag
-
loadFromXml
public void loadFromXml(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Description copied from interface:FacetProvider
Loads properties of the facet from XML.- Specified by:
loadFromXml
in 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)
-