Interface PersistHookExecutor
- All Known Implementing Classes:
DefaultPersistHookExecutor
Deprecated, for removal: This API element is subject to removal in a future version.
A service for executing persistence hooks.
-
Method Summary
Modifier and TypeMethodDescriptionvoidrunPostPersistHook(String hookName, ItemModel item, String integrationKey) Deprecated, for removal: This API element is subject to removal in a future version.Executes aPostPersistHookon an item modelrunPrePersistHook(String hookName, ItemModel item, String integrationKey) Deprecated, for removal: This API element is subject to removal in a future version.Executes aPrePersistHookon an item model
-
Method Details
-
runPrePersistHook
Deprecated, for removal: This API element is subject to removal in a future version.Executes aPrePersistHookon an item model- Parameters:
hookName- name of thePrePersistHookSpring bean in the application context to execute.item- an item to execute thePrePersistHookwith.integrationKey- for the current item that is being created or updated- Returns:
- item modified by the hook or empty.
- See Also:
-
runPostPersistHook
Deprecated, for removal: This API element is subject to removal in a future version.Executes aPostPersistHookon an item model- Parameters:
hookName- name of thePostPersistHookSpring bean in the application context to execute.item- an item to execute thePostPersistHookwith.integrationKey- for the current item that is being created or updated- See Also:
-
PersistenceHookExecutorinstead