Interface EntityGridView<V extends EntityGridView<V>>

All Superinterfaces:
ActionGrid<V>, ActionView<V>, Comparable<V>, Component<V>, Copyable<V>, CustomCssComponent<V>, ExportGrid<V>, FetchGrid<V>, Filterable<V>, FilterableGrid<V>, Grid<V>, GridView<V>, ImportGrid<V>, Pollable<V>, Selectable<V>, Serializable, SortableGrid<V>, Trackable<V>, View<V>
All Known Subinterfaces:
ExportHistoryEntityGridView<V>
All Known Implementing Classes:
DefaultEntityGridView, DefaultExportHistoryEntityGridView

public interface EntityGridView<V extends EntityGridView<V>> extends ActionView<V>, GridView<V>, Trackable<V>, ImportGrid<V>, ExportGrid<V>
Author:
Nick Crum (ncrum)
  • Method Details

    • addCreateAction

      default V addCreateAction(LinkAction<?> action)
    • createAction

      default V createAction(UnaryOperator<LinkAction<?>> fn)
    • createLink

      default V createLink(Link createLink)
    • createLinkById

      default V createLinkById(String componentId)
    • createLabel

      default V createLabel(InternationalizedMessage label)
    • createLabel

      default V createLabel(String label)
    • createScope

      default V createScope(String scope)
    • getCreateAction

      default LinkAction<?> getCreateAction()
    • findCreateAction

      default Optional<LinkAction<?>> findCreateAction()
    • addCloneAction

      default V addCloneAction(CloneModalFormAction<?> action)
      Configures this grid with a row-level action that provides the ability to "clone" the entity. The use of this action will result in a modal form being provided with any fields configured on the action. This form is typically used so that a user has the opportunity to change up a limited set of properties on the cloned entity.
      Parameters:
      action - the clone action
      Returns:
      this
    • cloneAction

      default V cloneAction(UnaryOperator<CloneModalFormAction<?>> fn)
      Configures this grid with a row-level action that provides the ability to "clone" the entity. The use of this action will result in a modal form being provided with any fields configured on the action. This form is typically used so that a user has the opportunity to change up a limited set of properties on the cloned entity.
      Parameters:
      fn - a function that configures the action
      Returns:
      this
    • getCloneAction

      default CloneModalFormAction<?> getCloneAction()
      Returns the clone action on this grid.
      Returns:
      the clone action, if it exists
    • findCloneAction

      default Optional<CloneModalFormAction<?>> findCloneAction()
      Finds the clone action on this grid.
      Returns:
      an optional with the clone action, if it exists, or empty