Package io.jmix.flowui.xml.facet
Class QueryParametersFacetProvider
java.lang.Object
io.jmix.flowui.xml.facet.QueryParametersFacetProvider
- All Implemented Interfaces:
FacetProvider<QueryParametersFacet>
@Component("flowui_QueryParametersFacetProvider")
public class QueryParametersFacetProvider
extends Object
implements FacetProvider<QueryParametersFacet>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Modifier and TypeFieldDescriptionprotected 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
loadPaginationQueryParametersBinder
(QueryParametersFacet facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected String
loadRequiredAttribute
(org.dom4j.Element element, String name, ComponentLoader.ComponentContext context)
-
Field Details
-
loaderSupport
-
routeSupport
-
urlParamSerializer
-
-
Constructor Details
-
Method Details
-
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) -
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)
-