Klasse UiEntityTableList<E extends Entity>

Alle implementierten Schnittstellen:
de.esoco.lib.property.HasSelection<UiTableList<E>.Row>, org.obrel.core.Relatable

public class UiEntityTableList<E extends Entity> extends UiPagingTableList<E>
A paging table list that displays the
  • Konstruktordetails

    • UiEntityTableList

      public UiEntityTableList(UiContainer<?> parent, Class<E> entityType, de.esoco.lib.expression.Predicate<? super E> defaultCriteria)
      Creates a new simple, non-expanding entity list.
      Parameter:
      parent - The parent container
      entityType - The class of the entity type to display
      defaultCriteria - The default criteria or NULL for none
    • UiEntityTableList

      public UiEntityTableList(UiContainer<?> parent, Class<E> entityType, de.esoco.lib.expression.Predicate<? super E> defaultCriteria, de.esoco.lib.expression.monad.Option<UiListPanel.ExpandableListStyle> expandStyle)
      Creates a new expanding entity list.
      Parameter:
      parent - The parent container
      entityType - The class of the entity type to display
      defaultCriteria - Default criteria that are always applied or NULL for none
      expandStyle - The expand style
  • Methodendetails

    • changeDefaultCriteria

      public void changeDefaultCriteria(de.esoco.lib.expression.Predicate<? super E> criteria)
      Changes the default criteria and updates the displayed data.
      Parameter:
      criteria - The new default criteria
    • getGlobalFilter

      public final String getGlobalFilter()
      Returns the global filter string.
      Gibt zurück:
      The global filter string or NULL for none
    • setGlobalFilter

      public void setGlobalFilter(String filter)
      Sets a global filter string for this list. This will apply the filter to all attributes set with setGlobalFilterAttributes(RelationType...).
      Parameter:
      filter - The filter string or NULL or empty for no filter
    • setGlobalFilterAttributes

      @SafeVarargs public final void setGlobalFilterAttributes(org.obrel.core.RelationType<String>... attributes)
      Sets the attributes to be considered by the global filter.
      Parameter:
      attributes - The new filter attributes