Package io.jmix.flowui.model
Class DataComponents
java.lang.Object
io.jmix.flowui.model.DataComponents
Factory bean for data API components.
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected org.springframework.beans.factory.config.AutowireCapableBeanFactory
protected Metadata
protected SorterFactory
protected Stores
-
Constructor Summary
ConstructorDescriptionDataComponents
(org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory, Metadata metadata, SorterFactory sorterFactory, AccessManager accessManager, Stores stores) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
<E> CollectionContainer<E>
createCollectionContainer
(Class<E> entityClass) CreatesCollectionContainer
.<E> CollectionPropertyContainer<E>
createCollectionContainer
(Class<E> entityClass, InstanceContainer<?> masterContainer, String property) CreatesCollectionPropertyContainer
.<E> CollectionLoader<E>
CreatesCollectionLoader
.CreatesDataContext
.<E> InstanceContainer<E>
createInstanceContainer
(Class<E> entityClass) CreatesInstanceContainer
.<E> InstancePropertyContainer<E>
createInstanceContainer
(Class<E> entityClass, InstanceContainer<?> masterContainer, String property) CreatesInstancePropertyContainer
.<E> InstanceLoader<E>
CreatesInstanceLoader
.CreatesKeyValueCollectionContainer
.CreatesKeyValueCollectionLoader
.CreatesKeyValueContainer
.createKeyValueContainer
(MetaClass metaClass) CreatesKeyValueContainer
for the given MetaClass.CreatesKeyValueInstanceLoader
.
-
Field Details
-
beanFactory
protected org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory -
metadata
-
sorterFactory
-
accessManager
-
stores
-
-
Constructor Details
-
DataComponents
public DataComponents(org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory, Metadata metadata, SorterFactory sorterFactory, AccessManager accessManager, Stores stores)
-
-
Method Details
-
autowire
-
createDataContext
CreatesDataContext
. -
createInstanceContainer
CreatesInstanceContainer
. -
createInstanceContainer
public <E> InstancePropertyContainer<E> createInstanceContainer(Class<E> entityClass, InstanceContainer<?> masterContainer, String property) CreatesInstancePropertyContainer
. -
createCollectionContainer
CreatesCollectionContainer
. -
createCollectionContainer
public <E> CollectionPropertyContainer<E> createCollectionContainer(Class<E> entityClass, InstanceContainer<?> masterContainer, String property) CreatesCollectionPropertyContainer
. -
createKeyValueContainer
CreatesKeyValueContainer
. -
createKeyValueContainer
CreatesKeyValueContainer
for the given MetaClass. -
createKeyValueCollectionContainer
CreatesKeyValueCollectionContainer
. -
createInstanceLoader
CreatesInstanceLoader
. -
createCollectionLoader
CreatesCollectionLoader
. -
createKeyValueCollectionLoader
CreatesKeyValueCollectionLoader
. -
createKeyValueInstanceLoader
CreatesKeyValueInstanceLoader
.
-