Class GroupDataGridAdapterProviderImpl

java.lang.Object
io.jmix.groupgridflowui.component.adapter.GroupDataGridAdapterProviderImpl
All Implemented Interfaces:
GroupDataGridAdapterProvider, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class GroupDataGridAdapterProviderImpl extends Object implements GroupDataGridAdapterProvider, org.springframework.context.ApplicationContextAware
  • Field Details

    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
  • Constructor Details

    • GroupDataGridAdapterProviderImpl

      public GroupDataGridAdapterProviderImpl()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • isSupported

      public boolean isSupported(GroupListDataComponent<?> groupGrid)
      Specified by:
      isSupported in interface GroupDataGridAdapterProvider
      Parameters:
      groupGrid - the group grid to check
      Returns:
      true if the adapter supports the given group grid
    • getAdapter

      @Nullable public <E> AbstractGroupDataGridAdapter<E> getAdapter(GroupListDataComponent<E> groupGrid)
      Description copied from interface: GroupDataGridAdapterProvider
      Returns an adapter for the given group grid component.
      Specified by:
      getAdapter in interface GroupDataGridAdapterProvider
      Type Parameters:
      E - the item type
      Parameters:
      groupGrid - the group grid to get an adapter for
      Returns:
      an adapter instance or null if no adapter is available