Interface PostPersistHook
- All Known Implementing Classes:
PostPersistHookAdapter,SamplePostPersistHook
public interface PostPersistHook
A procedure to be executed after persisting an item model. Name of this procedure must be submitted with a POST request in
request header named Post-Persist-Hook.
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ItemModel item, PersistenceContext context) Executes this hook after persisting the given item.
-
Method Details
-
execute
Executes this hook after persisting the given item.- Parameters:
item- an item to execute this hook with.context- to provide information about the item to be persisted.- See Also:
-