Package io.jmix.flowui.xml.facet
Class DataLoadCoordinatorFacetProvider
java.lang.Object
io.jmix.flowui.xml.facet.DataLoadCoordinatorFacetProvider
- All Implemented Interfaces:
FacetProvider<DataLoadCoordinator>
@Component("flowui_DataLoadCoordinatorFacetProvider")
public class DataLoadCoordinatorFacetProvider
extends Object
implements FacetProvider<DataLoadCoordinator>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected LoaderSupport
protected QueryParamValuesManager
protected ViewControllerReflectionInspector
-
Constructor Summary
ConstructorDescriptionDataLoadCoordinatorFacetProvider
(LoaderSupport loaderSupport, ViewControllerReflectionInspector reflectionInspector, QueryParamValuesManager queryParamValuesManager) -
Method Summary
Modifier and TypeMethodDescriptioncreate()
protected void
loadAuto
(DataLoadCoordinator facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) protected String
loadEventRequiredAttribute
(org.dom4j.Element element, String name, ComponentLoader.ComponentContext context) void
loadFromXml
(DataLoadCoordinator facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) Loads properties of the facet from XML.protected DataLoadCoordinator.LikeClause
loadLikeClause
(org.dom4j.Element element) protected void
loadOnComponentValueChanged
(DataLoadCoordinator facet, ComponentLoader.ComponentContext context, String loaderId, org.dom4j.Element element) protected void
loadOnContainerItemChanged
(DataLoadCoordinator facet, ComponentLoader.ComponentContext context, String loaderId, org.dom4j.Element element) protected void
loadOnViewEvent
(DataLoadCoordinator facet, ComponentLoader.ComponentContext context, String loaderId, org.dom4j.Element element) protected String
loadParam
(org.dom4j.Element element) protected void
loadRefresh
(DataLoadCoordinator facet, ComponentLoader.ComponentContext context, org.dom4j.Element element)
-
Field Details
-
loaderSupport
-
reflectionInspector
-
queryParamValuesManager
-
-
Constructor Details
-
DataLoadCoordinatorFacetProvider
public DataLoadCoordinatorFacetProvider(LoaderSupport loaderSupport, ViewControllerReflectionInspector reflectionInspector, QueryParamValuesManager queryParamValuesManager)
-
-
Method Details
-
getFacetClass
- Specified by:
getFacetClass
in interfaceFacetProvider<DataLoadCoordinator>
- Returns:
- facet interface
-
create
- Specified by:
create
in interfaceFacetProvider<DataLoadCoordinator>
- Returns:
- new instance of the facet class
-
getFacetTag
- Specified by:
getFacetTag
in interfaceFacetProvider<DataLoadCoordinator>
- Returns:
- facet XML tag
-
loadFromXml
public void loadFromXml(DataLoadCoordinator 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<DataLoadCoordinator>
- Parameters:
facet
- facetelement
- XML elementcontext
- loading context
-
loadAuto
protected void loadAuto(DataLoadCoordinator facet, org.dom4j.Element element, ComponentLoader.ComponentContext context) -
loadRefresh
protected void loadRefresh(DataLoadCoordinator facet, ComponentLoader.ComponentContext context, org.dom4j.Element element) -
loadOnViewEvent
protected void loadOnViewEvent(DataLoadCoordinator facet, ComponentLoader.ComponentContext context, String loaderId, org.dom4j.Element element) -
loadOnContainerItemChanged
protected void loadOnContainerItemChanged(DataLoadCoordinator facet, ComponentLoader.ComponentContext context, String loaderId, org.dom4j.Element element) -
loadOnComponentValueChanged
protected void loadOnComponentValueChanged(DataLoadCoordinator facet, ComponentLoader.ComponentContext context, String loaderId, org.dom4j.Element element) -
loadEventRequiredAttribute
protected String loadEventRequiredAttribute(org.dom4j.Element element, String name, ComponentLoader.ComponentContext context) -
loadParam
-
loadLikeClause
-