Package io.jmix.ui.model.impl
Class ScreenDataXmlLoader
java.lang.Object
io.jmix.ui.model.impl.ScreenDataXmlLoader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected ConditionXmlLoaderprotected DatatypeRegistryprotected DataComponentsprotected FetchPlanLoaderprotected FetchPlanRepositorystatic final Stringprotected Metadataprotected MetadataTools -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckProvided(org.dom4j.Element element, ScreenData hostScreenData) protected CollectionLoader<Object>createCollectionLoader(org.dom4j.Element element) protected StringgetEntityClass(org.dom4j.Element element) protected StringgetRequiredAttr(org.dom4j.Element element, String attributeName) voidload(ScreenData screenData, org.dom4j.Element element, ScreenData hostScreenData) protected voidloadAdditionalLoaderProperties(org.dom4j.Element element, DataLoader loader) protected voidloadCacheable(org.dom4j.Element element, CollectionLoader<Object> loader) protected voidloadCollectionContainer(ScreenData screenData, org.dom4j.Element element, ScreenData hostScreenData) protected voidloadCollectionLoader(ScreenData screenData, org.dom4j.Element element, CollectionContainer<Object> container, ScreenData hostScreenData) protected voidloadEntityId(org.dom4j.Element element, InstanceLoader<Object> loader) protected voidloadFetchPlan(org.dom4j.Element element, Class<Object> entityClass, InstanceContainer<Object> container) protected voidloadFirstResult(org.dom4j.Element element, BaseCollectionLoader loader) protected FetchPlanloadInlineFetchPlan(org.dom4j.Element viewElem, Class<?> entityClass) protected voidloadInstanceContainer(ScreenData screenData, org.dom4j.Element element, ScreenData hostScreenData) protected voidloadInstanceLoader(ScreenData screenData, org.dom4j.Element element, InstanceContainer<Object> container, ScreenData hostScreenData) protected voidloadKeyValueCollectionContainer(ScreenData screenData, org.dom4j.Element element, ScreenData hostScreenData) protected voidloadKeyValueCollectionLoader(ScreenData screenData, org.dom4j.Element element, KeyValueCollectionContainer container, ScreenData hostScreenData) protected voidloadKeyValueInstanceContainer(ScreenData screenData, org.dom4j.Element element, ScreenData hostScreenData) protected voidloadKeyValueInstanceLoader(ScreenData screenData, org.dom4j.Element element, KeyValueContainer container, ScreenData hostScreenData) protected voidloadMaxResults(org.dom4j.Element element, BaseCollectionLoader loader) protected voidloadNestedContainer(ScreenData screenData, org.dom4j.Element element, InstanceContainer<Object> masterContainer, ScreenData hostScreenData) protected voidloadQuery(org.dom4j.Element element, DataLoader loader) protected StringloadQueryText(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
-