Class DataComponents

java.lang.Object
io.jmix.flowui.model.DataComponents

@Component("flowui_DataComponents") public class DataComponents extends Object
Factory bean for data API components.
  • Field Details

    • beanFactory

      protected org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory
    • metadata

      protected Metadata metadata
    • sorterFactory

      protected SorterFactory sorterFactory
    • accessManager

      protected AccessManager accessManager
    • stores

      protected Stores stores
  • Constructor Details

    • DataComponents

      public DataComponents(org.springframework.beans.factory.config.AutowireCapableBeanFactory beanFactory, Metadata metadata, SorterFactory sorterFactory, AccessManager accessManager, Stores stores)
  • Method Details

    • autowire

      protected void autowire(Object instance)
    • createDataContext

      public DataContext createDataContext()
      Creates DataContext.
    • createInstanceContainer

      public <E> InstanceContainer<E> createInstanceContainer(Class<E> entityClass)
      Creates InstanceContainer.
    • createInstanceContainer

      public <E> InstancePropertyContainer<E> createInstanceContainer(Class<E> entityClass, InstanceContainer<?> masterContainer, String property)
      Creates InstancePropertyContainer.
    • createCollectionContainer

      public <E> CollectionContainer<E> createCollectionContainer(Class<E> entityClass)
      Creates CollectionContainer.
    • createCollectionContainer

      public <E> CollectionPropertyContainer<E> createCollectionContainer(Class<E> entityClass, InstanceContainer<?> masterContainer, String property)
      Creates CollectionPropertyContainer.
    • createKeyValueContainer

      public KeyValueContainer createKeyValueContainer()
      Creates KeyValueContainer.
    • createKeyValueContainer

      public KeyValueContainer createKeyValueContainer(MetaClass metaClass)
      Creates KeyValueContainer for the given MetaClass.
    • createKeyValueCollectionContainer

      public KeyValueCollectionContainer createKeyValueCollectionContainer()
      Creates KeyValueCollectionContainer.
    • createInstanceLoader

      public <E> InstanceLoader<E> createInstanceLoader()
      Creates InstanceLoader.
    • createCollectionLoader

      public <E> CollectionLoader<E> createCollectionLoader()
      Creates CollectionLoader.
    • createKeyValueCollectionLoader

      public KeyValueCollectionLoader createKeyValueCollectionLoader()
      Creates KeyValueCollectionLoader.
    • createKeyValueInstanceLoader

      public KeyValueInstanceLoader createKeyValueInstanceLoader()
      Creates KeyValueInstanceLoader.