Interface EntityDialogs.EntitySelectionDialogBuilder

All Superinterfaces:
DialogBuilder<EntityDialogs.EntitySelectionDialogBuilder>
Enclosing class:
EntityDialogs

public static interface EntityDialogs.EntitySelectionDialogBuilder extends DialogBuilder<EntityDialogs.EntitySelectionDialogBuilder>
A builder for a selection dialog based on an EntityTablePanel.
  • Method Details

    • includeSearchButton

      EntityDialogs.EntitySelectionDialogBuilder includeSearchButton(boolean includeSearchButton)
      Defaults to false if no condition panel is available in the associated EntityTablePanel
      Parameters:
      includeSearchButton - true if a search button should be included
      Returns:
      this builder instance
    • select

      List<Entity> select()
      Displays the EntityTablePanel for selecting one or more entities
      Returns:
      a List containing the selected entities or an empty list in case the selection was cancelled
    • selectSingle

      Optional<Entity> selectSingle()
      Displays the EntityTablePanel for selecting a single entity
      Returns:
      the selected entity or Optional.empty() in case the selection was cancelled