public interface PersistHookExecutor
| Modifier and Type | Method and Description |
|---|---|
void |
runPostPersistHook(java.lang.String hookName,
ItemModel item,
java.lang.String integrationKey)
Executes a
PostPersistHook on an item model |
java.util.Optional<ItemModel> |
runPrePersistHook(java.lang.String hookName,
ItemModel item,
java.lang.String integrationKey)
Executes a
PrePersistHook on an item model |
java.util.Optional<ItemModel> runPrePersistHook(java.lang.String hookName, ItemModel item, java.lang.String integrationKey)
PrePersistHook on an item modelhookName - name of the PrePersistHook Spring bean in the application context to execute.item - an item to execute the PrePersistHook with.integrationKey - for the current item that is being created or updatedPrePersistHook.execute(ItemModel)void runPostPersistHook(java.lang.String hookName,
ItemModel item,
java.lang.String integrationKey)
PostPersistHook on an item modelhookName - name of the PostPersistHook Spring bean in the application context to execute.item - an item to execute the PostPersistHook with.integrationKey - for the current item that is being created or updatedPostPersistHook.execute(ItemModel)Copyright © 2018 SAP SE. All Rights Reserved.