Class DataComponents

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

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

    • beanFactory

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

      @Autowired protected Metadata metadata
    • sorterFactory

      @Autowired protected SorterFactory sorterFactory
    • accessManager

      @Autowired protected AccessManager accessManager
    • stores

      @Autowired protected Stores stores
  • Constructor Details

    • DataComponents

      public DataComponents()
  • 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.