Interface PrePersistHook
- All Known Implementing Classes:
SamplePrePersistHook
Deprecated, for removal: This API element is subject to removal in a future version.
A procedure to be executed before persisting an item model. Name of this procedure must be submitted with a POST request in
request header named Pre-Persist-Hook.
-
Method Summary
-
Method Details
-
execute
Deprecated, for removal: This API element is subject to removal in a future version.Executes this hook before persisting the given item.- Parameters:
item- an item to execute this hook with.- Returns:
- result of processing/modification of the item by this hook to be persisted. If empty, that means there is no item to persist.
-
PrePersistHookinstead