Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Interface EntityDialogs.EditAttributeDialogBuilder.Updater<E extends is.codion.swing.framework.model.SwingEntityEditModel>
- Type Parameters:
E- the edit model type
- Enclosing interface:
- EntityDialogs.EditAttributeDialogBuilder<T>
public static interface EntityDialogs.EditAttributeDialogBuilder.Updater<E extends is.codion.swing.framework.model.SwingEntityEditModel>
Handles performing the actual update when entities are edited.
-
Method Summary
Modifier and TypeMethodDescriptionvoidupdate(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 modelentities- the modified entities- Throws:
is.codion.framework.domain.entity.exception.ValidationException- in case of a validation failureis.codion.common.db.exception.DatabaseException- in case of a database exception
-