Package io.jmix.ui.model.impl
Class ScreenDataXmlLoader
java.lang.Object
io.jmix.ui.model.impl.ScreenDataXmlLoader
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected ConditionXmlLoader
protected DatatypeRegistry
protected DataComponents
protected FetchPlanLoader
protected FetchPlanRepository
static final String
protected Metadata
protected MetadataTools
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkProvided
(org.dom4j.Element element, ScreenData hostScreenData) protected CollectionLoader<Object>
createCollectionLoader
(org.dom4j.Element element) protected String
getEntityClass
(org.dom4j.Element element) protected String
getRequiredAttr
(org.dom4j.Element element, String attributeName) void
load
(ScreenData screenData, org.dom4j.Element element, ScreenData hostScreenData) protected void
loadAdditionalLoaderProperties
(org.dom4j.Element element, DataLoader loader) protected void
loadCacheable
(org.dom4j.Element element, CollectionLoader<Object> loader) protected void
loadCollectionContainer
(ScreenData screenData, org.dom4j.Element element, ScreenData hostScreenData) protected void
loadCollectionLoader
(ScreenData screenData, org.dom4j.Element element, CollectionContainer<Object> container, ScreenData hostScreenData) protected void
loadEntityId
(org.dom4j.Element element, InstanceLoader<Object> loader) protected void
loadFetchPlan
(org.dom4j.Element element, Class<Object> entityClass, InstanceContainer<Object> container) protected void
loadFirstResult
(org.dom4j.Element element, BaseCollectionLoader loader) protected FetchPlan
loadInlineFetchPlan
(org.dom4j.Element viewElem, Class<?> entityClass) protected void
loadInstanceContainer
(ScreenData screenData, org.dom4j.Element element, ScreenData hostScreenData) protected void
loadInstanceLoader
(ScreenData screenData, org.dom4j.Element element, InstanceContainer<Object> container, ScreenData hostScreenData) protected void
loadKeyValueCollectionContainer
(ScreenData screenData, org.dom4j.Element element, ScreenData hostScreenData) protected void
loadKeyValueCollectionLoader
(ScreenData screenData, org.dom4j.Element element, KeyValueCollectionContainer container, ScreenData hostScreenData) protected void
loadKeyValueInstanceContainer
(ScreenData screenData, org.dom4j.Element element, ScreenData hostScreenData) protected void
loadKeyValueInstanceLoader
(ScreenData screenData, org.dom4j.Element element, KeyValueContainer container, ScreenData hostScreenData) protected void
loadMaxResults
(org.dom4j.Element element, BaseCollectionLoader loader) protected void
loadNestedContainer
(ScreenData screenData, org.dom4j.Element element, InstanceContainer<Object> masterContainer, ScreenData hostScreenData) protected void
loadQuery
(org.dom4j.Element element, DataLoader loader) protected String
loadQueryText
(org.dom4j.Element queryEl)
-
Field Details
-
GENERATED_PREFIX
- See Also:
-
fetchPlanRepository
-
fetchPlanLoader
-
metadata
-
metadataTools
-
factory
-
conditionXmlLoader
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext -
datatypeRegistry
-
-
Constructor Details
-
ScreenDataXmlLoader
public ScreenDataXmlLoader()
-
-
Method Details
-
load
public void load(ScreenData screenData, org.dom4j.Element element, @Nullable ScreenData hostScreenData) -
loadInstanceContainer
protected void loadInstanceContainer(ScreenData screenData, org.dom4j.Element element, @Nullable ScreenData hostScreenData) -
loadCollectionContainer
protected void loadCollectionContainer(ScreenData screenData, org.dom4j.Element element, @Nullable ScreenData hostScreenData) -
loadKeyValueCollectionContainer
protected void loadKeyValueCollectionContainer(ScreenData screenData, org.dom4j.Element element, @Nullable ScreenData hostScreenData) -
loadKeyValueInstanceContainer
protected void loadKeyValueInstanceContainer(ScreenData screenData, org.dom4j.Element element, @Nullable ScreenData hostScreenData) -
loadNestedContainer
protected void loadNestedContainer(ScreenData screenData, org.dom4j.Element element, InstanceContainer<Object> masterContainer, @Nullable ScreenData hostScreenData) -
loadInstanceLoader
protected void loadInstanceLoader(ScreenData screenData, org.dom4j.Element element, InstanceContainer<Object> container, @Nullable ScreenData hostScreenData) -
loadCollectionLoader
protected void loadCollectionLoader(ScreenData screenData, org.dom4j.Element element, CollectionContainer<Object> container, @Nullable ScreenData hostScreenData) -
createCollectionLoader
-
loadKeyValueCollectionLoader
protected void loadKeyValueCollectionLoader(ScreenData screenData, org.dom4j.Element element, KeyValueCollectionContainer container, @Nullable ScreenData hostScreenData) -
loadKeyValueInstanceLoader
protected void loadKeyValueInstanceLoader(ScreenData screenData, org.dom4j.Element element, KeyValueContainer container, @Nullable ScreenData hostScreenData) -
getEntityClass
-
loadFetchPlan
protected void loadFetchPlan(org.dom4j.Element element, Class<Object> entityClass, InstanceContainer<Object> container) -
loadInlineFetchPlan
-
loadQuery
-
loadQueryText
-
loadAdditionalLoaderProperties
-
loadEntityId
-
loadFirstResult
-
loadMaxResults
-
loadCacheable
-
getRequiredAttr
-
checkProvided
-
generateId
-