Interface PostPersistHook

  • All Known Implementing Classes:
    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 Detail

      • execute

        void execute​(ItemModel item)
        Executes this hook after persisting the given item.
        Parameters:
        item - an item to execute this hook with