Class AbstractTableLoader<T extends Table>

All Implemented Interfaces:
ComponentLoader<T>
Direct Known Subclasses:
GroupTableLoader, TableLoader, TreeTableLoader

public abstract class AbstractTableLoader<T extends Table> extends ActionsHolderLoader<T>
  • Field Details

    • buttonsPanelLoader

      protected ComponentLoader buttonsPanelLoader
    • panelElement

      protected org.dom4j.Element panelElement
    • sortedColumnId

      protected String sortedColumnId
    • sortDirection

      protected Table.SortDirection sortDirection
    • masterDataLoaderPostLoadListener

      protected Subscription masterDataLoaderPostLoadListener
  • Constructor Details

    • AbstractTableLoader

      public AbstractTableLoader()
  • Method Details

    • loadComponent

      public void loadComponent()
      Description copied from interface: ComponentLoader
      Loads component properties by XML definition.
      See Also:
    • loadTableData

      protected void loadTableData()
    • initTableDataHolder

      protected AbstractTableLoader.TableDataHolder initTableDataHolder()
    • initMasterDataLoaderListener

      protected void initMasterDataLoaderListener(CollectionPropertyContainer collectionContainer)
    • onMasterDataLoaderPostLoad

      protected void onMasterDataLoaderPostLoad(Object o)
    • setColumnSort

      protected void setColumnSort()
    • setupDataContainer

      protected void setupDataContainer(AbstractTableLoader.TableDataHolder holder)
    • getMetadata

      protected Metadata getMetadata()
    • getViewRepository

      protected FetchPlanRepository getViewRepository()
    • createContainerTableSource

      protected ContainerTableItems createContainerTableSource(CollectionContainer container)
    • createEmptyTableItems

      protected TableItems createEmptyTableItems(MetaClass metaClass)
    • getMetadataTools

      protected MetadataTools getMetadataTools()
    • loadTextSelectionEnabled

      protected void loadTextSelectionEnabled(Table table, org.dom4j.Element element)
    • loadMultiLineCells

      protected void loadMultiLineCells(Table table, org.dom4j.Element element)
    • loadContextMenuEnabled

      protected void loadContextMenuEnabled(Table table, org.dom4j.Element element)
    • loadPagination

      protected void loadPagination(Table table, org.dom4j.Element element)
    • loadColumnsByInclude

      protected List<Table.Column> loadColumnsByInclude(Table component, org.dom4j.Element columnsElement, MetaClass metaClass, FetchPlan fetchPlan)
    • loadColumns

      protected List<Table.Column> loadColumns(Table component, org.dom4j.Element columnsElement, MetaClass metaClass, FetchPlan fetchPlan)
    • loadAggregatable

      protected void loadAggregatable(Table component, org.dom4j.Element element)
    • loadAggregationStyle

      protected void loadAggregationStyle(Table component, org.dom4j.Element element)
    • createButtonsPanel

      protected void createButtonsPanel(T table, org.dom4j.Element element)
    • loadButtonsPanel

      protected void loadButtonsPanel(T component)
    • loadRequired

      protected void loadRequired(Table component, Table.Column column)
    • loadColumn

      protected Table.Column loadColumn(Table component, org.dom4j.Element element, MetaClass metaClass)
    • loadColumnId

      protected Object loadColumnId(org.dom4j.Element element, MetaClass metaClass)
    • loadCaptionAsHtml

      protected void loadCaptionAsHtml(Table.Column component, org.dom4j.Element element)
    • loadAggregation

      protected void loadAggregation(Table.Column column, org.dom4j.Element columnElement)
    • loadMaxTextLength

      protected void loadMaxTextLength(Table.Column column, org.dom4j.Element columnElement)
    • loadSortable

      protected void loadSortable(Table component, org.dom4j.Element element)
    • loadReorderingAllowed

      protected void loadReorderingAllowed(Table component, org.dom4j.Element element)
    • loadColumnControlVisible

      protected void loadColumnControlVisible(Table component, org.dom4j.Element element)
    • loadColumnHeaderVisible

      protected void loadColumnHeaderVisible(Table component, org.dom4j.Element element)
    • loadShowSelection

      protected void loadShowSelection(Table component, org.dom4j.Element element)
    • getAppliedProperties

      protected Collection<String> getAppliedProperties(org.dom4j.Element columnsElement, FetchPlan fetchPlan, MetaClass metaClass)
    • getOverriddenColumn

      @Nullable protected org.dom4j.Element getOverriddenColumn(List<org.dom4j.Element> columns, String property)
    • loadColumnSort

      protected void loadColumnSort(Table.Column column, String sort)
    • loadEmptyStateMessage

      protected void loadEmptyStateMessage(Table table, org.dom4j.Element element)
    • loadEmptyStateLinkMessage

      protected void loadEmptyStateLinkMessage(Table table, org.dom4j.Element element)