Class PostPersistHookAdapter
java.lang.Object
de.hybris.platform.odata2services.odata.persistence.hook.impl.PostPersistHookAdapter
- All Implemented Interfaces:
PostPersistHook
@Deprecated(since="2205",
forRemoval=true)
public class PostPersistHookAdapter
extends Object
implements PostPersistHook
Deprecated, for removal: This API element is subject to removal in a future version.
Adapter class to use old post persist hooks in the new persistence service
-
Constructor Summary
ConstructorsConstructorDescriptionPostPersistHookAdapter(@NotNull PostPersistHook hook) Deprecated, for removal: This API element is subject to removal in a future version.Instantiates this adapter -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ItemModel item, PersistenceContext context) Deprecated, for removal: This API element is subject to removal in a future version.Executes this hook after persisting the given item.toString()Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
PostPersistHookAdapter
Deprecated, for removal: This API element is subject to removal in a future version.Instantiates this adapter- Parameters:
hook- a legacy hook implementation to adapt to the new hook interface
-
-
Method Details
-
execute
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:PostPersistHookExecutes this hook after persisting the given item.- Specified by:
executein interfacePostPersistHook- Parameters:
item- an item to execute this hook with.context- to provide information about the item to be persisted.- See Also:
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.
-
PostPersistHookinterface