Interface ImportGrid<G extends ImportGrid<G>>

All Superinterfaces:
ActionGrid<G>, Comparable<G>, Component<G>, Copyable<G>, CustomCssComponent<G>, Grid<G>, Serializable
All Known Subinterfaces:
EntityGridView<V>, ExportHistoryEntityGridView<V>, ExportHistoryGridExternal<E>, GridExternal<E>
All Known Implementing Classes:
DefaultEntityGridView, DefaultExportHistoryEntityGridView, DefaultExportHistoryGridExternal, DefaultGridExternal

public interface ImportGrid<G extends ImportGrid<G>> extends ActionGrid<G>
An extension of ActionGrid to represent a grid with a grid-level import action.

The example of usages:

 grid.importGridAction("IMPORT_TYPE", "SCOPE_FOR_THIS_ENTITY")
 
Author:
Dima Myroniuk (dmyroniuk)
  • Method Details

    • importGridAction

      default G importGridAction(String importType, String scope)
      Adds the grid-level import action to import the entities from this grid.
      Parameters:
      importType - the type of the import
      scope - the OAuth2 scope
      Returns:
      this grid for further customization
    • importGridAction

      default G importGridAction(String importType, String scope, UnaryOperator<ImportGridAction<?>> fn)
      Adds the grid-level import action to import the entities from this grid.
      Parameters:
      importType - the type of the import
      scope - the OAuth2 scope
      fn - the added action for further customization
      Returns:
      this grid for further customization
    • addImportGridAction

      default G addImportGridAction(ImportGridAction<?> action)
      Adds the grid-level import action to import the entities from this grid.
      Parameters:
      action - the ImportGridAction action
      Returns:
      this grid for further customization
    • removeImportGridAction

      default G removeImportGridAction()
      Removes the grid-level import action.
      Returns:
      this grid for further customization