|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface FieldGroup.CommitHandler
CommitHandlers are used by FieldGroup.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 a
FieldGroup.CommitException
.
Method Summary | |
---|---|
void |
postCommit(FieldGroup.CommitEvent commitEvent)
Called after changes are committed to the fields and the item is updated. |
void |
preCommit(FieldGroup.CommitEvent commitEvent)
Called before changes are committed to the field and the item is updated. |
Method Detail |
---|
void preCommit(FieldGroup.CommitEvent commitEvent) throws FieldGroup.CommitException
Throw a FieldGroup.CommitException
to abort the commit.
commitEvent
- An event containing information regarding the commit
FieldGroup.CommitException
- if the commit should be abortedvoid postCommit(FieldGroup.CommitEvent commitEvent) throws FieldGroup.CommitException
Throw a FieldGroup.CommitException
to abort the commit.
commitEvent
- An event containing information regarding the commit
FieldGroup.CommitException
- if the commit should be aborted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |