Interface EntityDialogs.EditDialogBuilder.Updater<E extends is.codion.swing.framework.model.SwingEntityEditModel>

Type Parameters:
E - the edit model type
Enclosing interface:
EntityDialogs.EditDialogBuilder<T>

public static interface EntityDialogs.EditDialogBuilder.Updater<E extends is.codion.swing.framework.model.SwingEntityEditModel>
Handles performing the actual update when entities are edited.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    update(E editModel, Collection<is.codion.framework.domain.entity.Entity> entities)
    Updates the given entities, assuming they are all modified.
  • Method Details

    • update

      void update(E editModel, Collection<is.codion.framework.domain.entity.Entity> entities) throws is.codion.framework.domain.entity.exception.ValidationException, is.codion.common.db.exception.DatabaseException
      Updates the given entities, assuming they are all modified.
      Parameters:
      editModel - the underlying edit model
      entities - the modified entities
      Throws:
      is.codion.framework.domain.entity.exception.ValidationException - in case of a validation failure
      is.codion.common.db.exception.DatabaseException - in case of a database exception