Class DataComponentsLoaderSupport
java.lang.Object
io.jmix.flowui.xml.layout.support.DataComponentsLoaderSupport
@Component("flowui_DataComponentsLoaderSupport")
public class DataComponentsLoaderSupport
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.springframework.context.ApplicationContext
static final String
protected final ConditionXmlLoader
protected final DatatypeRegistry
protected final DataComponents
protected final FetchPlanLoader
protected final FetchPlanRepository
static final String
static final String
protected final LoaderSupport
protected final Metadata
protected final MetadataTools
-
Constructor Summary
ConstructorDescriptionDataComponentsLoaderSupport
(org.springframework.context.ApplicationContext applicationContext, FetchPlanRepository fetchPlanRepository, FetchPlanLoader fetchPlanLoader, Metadata metadata, MetadataTools metadataTools, DataComponents factory, ConditionXmlLoader conditionXmlLoader, DatatypeRegistry datatypeRegistry, LoaderSupport loaderSupport) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkProvided
(org.dom4j.Element element, HasDataComponents hostDataHolder) protected String
protected Class<?>
getEntityClass
(org.dom4j.Element element) void
load
(HasDataComponents dataHolder, org.dom4j.Element element) void
load
(HasDataComponents dataHolder, org.dom4j.Element element, HasDataComponents hostDataHolder) protected void
loadCollectionContainer
(HasDataComponents dataHolder, org.dom4j.Element element, HasDataComponents hostDataHolder) protected void
loadCollectionLoader
(HasDataComponents dataHolder, org.dom4j.Element element, CollectionContainer<?> container, HasDataComponents hostDataHolder) protected void
loadEntityId
(org.dom4j.Element element, InstanceLoader<?> loader) protected void
loadFetchPlan
(org.dom4j.Element element, Class<?> entityClass, InstanceContainer<?> container) protected String
loadIdOrGenerate
(org.dom4j.Element element) protected FetchPlan
loadInlineFetchPlan
(org.dom4j.Element fetchPlanElement, Class<?> entityClass) protected void
loadInstanceContainer
(HasDataComponents dataHolder, org.dom4j.Element element, HasDataComponents hostDataHolder) protected void
loadInstanceLoader
(HasDataComponents dataHolder, org.dom4j.Element element, InstanceContainer<?> container, HasDataComponents hostDataHolder) protected void
loadKeyValueCollectionContainer
(HasDataComponents dataHolder, org.dom4j.Element element, HasDataComponents hostDataHolder) protected void
loadKeyValueCollectionLoader
(HasDataComponents dataHolder, org.dom4j.Element element, KeyValueCollectionContainer container, HasDataComponents hostDataHolder) protected void
loadKeyValueInstanceContainer
(HasDataComponents dataHolder, org.dom4j.Element element, HasDataComponents hostDataHolder) protected void
loadKeyValueInstanceLoader
(HasDataComponents dataHolder, org.dom4j.Element element, KeyValueContainer container, HasDataComponents hostDataHolder) protected void
loadNestedContainer
(HasDataComponents dataHolder, org.dom4j.Element element, InstanceContainer<?> masterContainer, HasDataComponents hostDataHolder) protected void
loadQuery
(org.dom4j.Element element, DataLoader loader) protected String
loadQueryText
(org.dom4j.Element queryElement) protected boolean
loadReadOnly
(org.dom4j.Element element) protected String
loadRequiredAttribute
(org.dom4j.Element element, String attributeName)
-
Field Details
-
GENERATED_PREFIX
- See Also:
-
COLLECTION_CONTAINER_ELEMENT
- See Also:
-
INSTANCE_CONTAINER_ELEMENT
- See Also:
-
applicationContext
protected final org.springframework.context.ApplicationContext applicationContext -
fetchPlanRepository
-
fetchPlanLoader
-
metadata
-
metadataTools
-
factory
-
conditionXmlLoader
-
datatypeRegistry
-
loaderSupport
-
-
Constructor Details
-
DataComponentsLoaderSupport
public DataComponentsLoaderSupport(org.springframework.context.ApplicationContext applicationContext, FetchPlanRepository fetchPlanRepository, FetchPlanLoader fetchPlanLoader, Metadata metadata, MetadataTools metadataTools, DataComponents factory, ConditionXmlLoader conditionXmlLoader, DatatypeRegistry datatypeRegistry, LoaderSupport loaderSupport)
-
-
Method Details
-
load
-
load
public void load(HasDataComponents dataHolder, org.dom4j.Element element, @Nullable HasDataComponents hostDataHolder) -
loadInstanceContainer
protected void loadInstanceContainer(HasDataComponents dataHolder, org.dom4j.Element element, @Nullable HasDataComponents hostDataHolder) -
loadCollectionContainer
protected void loadCollectionContainer(HasDataComponents dataHolder, org.dom4j.Element element, @Nullable HasDataComponents hostDataHolder) -
loadKeyValueCollectionContainer
protected void loadKeyValueCollectionContainer(HasDataComponents dataHolder, org.dom4j.Element element, @Nullable HasDataComponents hostDataHolder) -
loadKeyValueInstanceContainer
protected void loadKeyValueInstanceContainer(HasDataComponents dataHolder, org.dom4j.Element element, @Nullable HasDataComponents hostDataHolder) -
loadNestedContainer
protected void loadNestedContainer(HasDataComponents dataHolder, org.dom4j.Element element, InstanceContainer<?> masterContainer, @Nullable HasDataComponents hostDataHolder) -
loadInstanceLoader
protected void loadInstanceLoader(HasDataComponents dataHolder, org.dom4j.Element element, InstanceContainer<?> container, @Nullable HasDataComponents hostDataHolder) -
loadCollectionLoader
protected void loadCollectionLoader(HasDataComponents dataHolder, org.dom4j.Element element, CollectionContainer<?> container, @Nullable HasDataComponents hostDataHolder) -
loadKeyValueCollectionLoader
protected void loadKeyValueCollectionLoader(HasDataComponents dataHolder, org.dom4j.Element element, KeyValueCollectionContainer container, @Nullable HasDataComponents hostDataHolder) -
loadKeyValueInstanceLoader
protected void loadKeyValueInstanceLoader(HasDataComponents dataHolder, org.dom4j.Element element, KeyValueContainer container, @Nullable HasDataComponents hostDataHolder) -
getEntityClass
-
loadFetchPlan
protected void loadFetchPlan(org.dom4j.Element element, Class<?> entityClass, InstanceContainer<?> container) -
loadInlineFetchPlan
-
loadQuery
-
loadQueryText
-
loadEntityId
-
loadRequiredAttribute
-
loadIdOrGenerate
-
loadReadOnly
protected boolean loadReadOnly(org.dom4j.Element element) -
checkProvided
protected boolean checkProvided(org.dom4j.Element element, @Nullable HasDataComponents hostDataHolder) -
generateId
-