Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Excerpt
hiddentrue

onSave -

...

fired before save.

Overview

Event fired before entity is saved (created or updated).

Common Attributes

Insert excerpt

...

Common Model Hook Attributes

...

Common Model Hook Attributes
nopaneltrue

Example

Code Block
themeEclipse
languagexml
linenumberstrue
<onSave class="com.sample.SampleHook" method="updateModifiedAt" />

Hook method signature

Code Block
themeEclipse
languagejava
linenumberstrue
public void hookName(final DataDefinition dataDefinition, final Entity entity) {
    // ...
}