Package com.vaadin.v7.data.fieldgroup
Interface FieldGroup.CommitHandler
-
- All Superinterfaces:
Serializable
- Enclosing class:
- FieldGroup
@Deprecated public static interface FieldGroup.CommitHandler extends Serializable
Deprecated.CommitHandlers are used byFieldGroup.commit()
as part of the commit transactions. CommitHandlers can perform custom operations as part of the commit and cause the commit to be aborted by throwing aFieldGroup.CommitException
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
postCommit(FieldGroup.CommitEvent commitEvent)
Deprecated.Called after changes are committed to the fields and the item is updated.void
preCommit(FieldGroup.CommitEvent commitEvent)
Deprecated.Called before changes are committed to the field and the item is updated.
-
-
-
Method Detail
-
preCommit
void preCommit(FieldGroup.CommitEvent commitEvent) throws FieldGroup.CommitException
Deprecated.Called before changes are committed to the field and the item is updated.Throw a
FieldGroup.CommitException
to abort the commit.- Parameters:
commitEvent
- An event containing information regarding the commit- Throws:
FieldGroup.CommitException
- if the commit should be aborted
-
postCommit
void postCommit(FieldGroup.CommitEvent commitEvent) throws FieldGroup.CommitException
Deprecated.Called after changes are committed to the fields and the item is updated.Throw a
FieldGroup.CommitException
to abort the commit.- Parameters:
commitEvent
- An event containing information regarding the commit- Throws:
FieldGroup.CommitException
- if the commit should be aborted
-
-