BDO
- public interface UpdateTemplate<BDO extends DataObject>
UpdateAction
This allows a standard action to be used with the customisation points moved into the enclosing class.UpdateTransition
,
Updater
![]() |
![]() |
Modifier and Type | Method and Description |
---|---|
AppContext |
getContext() |
FormResult |
getResult(java.lang.String type_name,
BDO dat,
Form f)
select the
FormResult after an update. |
default void |
postUpdate(BDO o,
Form f,
java.util.Map<java.lang.String,java.lang.Object> orig,
boolean changed)
perform side-effects after a form update
|
void |
preCommit(BDO dat,
Form f,
java.util.Map<java.lang.String,java.lang.Object> orig)
extension point for update side effects that should be applied before the commit.
|
void preCommit(BDO dat, Form f, java.util.Map<java.lang.String,java.lang.Object> orig) throws DataException, TransitionValidationException
dat
- f
- orig
- DataException
TransitionValidationException
default void postUpdate(BDO o, Form f, java.util.Map<java.lang.String,java.lang.Object> orig, boolean changed) throws java.lang.Exception
o
- object being updatedf
- Form used for updateorig
- Map of object state before update.changed
- Did the update commit change the database objectjava.lang.Exception
AppContext getContext()
FormResult getResult(java.lang.String type_name, BDO dat, Form f)
FormResult
after an update.type_name
- dat
- f
-