Interface EntityDialogs.EditDialogBuilder.Updater

Enclosing interface:
EntityDialogs.EditDialogBuilder<T>

public static interface EntityDialogs.EditDialogBuilder.Updater
Handles performing the actual update when entities are edited.
  • Method Summary

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

    • update

      void update(is.codion.swing.framework.model.SwingEntityEditModel 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