Interface EntityEditPanel.DeleteCommandBuilder

Enclosing class:
EntityEditPanel

public static interface EntityEditPanel.DeleteCommandBuilder
Builds an async delete command
  • Method Details

    • confirm

      EntityEditPanel.DeleteCommandBuilder confirm(boolean confirm)
      Parameters:
      confirm - true if confirmation should be performed, default true
      Returns:
      this builder instance
    • onDelete

      EntityEditPanel.DeleteCommandBuilder onDelete(Consumer<Collection<is.codion.framework.domain.entity.Entity>> onDelete)
      Parameters:
      onDelete - called after a successful delete
      Returns:
      this builder instance
    • build

      is.codion.swing.common.ui.control.Control.Command build()
      Returns:
      the command