Class SapCpiOmmOrderCancellationPersistenceHook
- java.lang.Object
-
- de.hybris.platform.sap.sapcpiorderexchange.inbound.events.SapCpiOmmOrderCancellationPersistenceHook
-
- All Implemented Interfaces:
PrePersistHook
public class SapCpiOmmOrderCancellationPersistenceHook extends java.lang.Object implements PrePersistHook
-
-
Constructor Summary
Constructors Constructor Description SapCpiOmmOrderCancellationPersistenceHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<ItemModel>execute(ItemModel item)Executes this hook before persisting the given item.DataHubInboundOrderHelpergetSapDataHubInboundOrderHelper()voidsetSapDataHubInboundOrderHelper(DataHubInboundOrderHelper sapDataHubInboundOrderHelper)
-
-
-
Method Detail
-
execute
public java.util.Optional<ItemModel> execute(ItemModel item)
Description copied from interface:PrePersistHookExecutes this hook before persisting the given item.- Specified by:
executein interfacePrePersistHook- 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.
-
getSapDataHubInboundOrderHelper
public DataHubInboundOrderHelper getSapDataHubInboundOrderHelper()
-
setSapDataHubInboundOrderHelper
public void setSapDataHubInboundOrderHelper(DataHubInboundOrderHelper sapDataHubInboundOrderHelper)
-
-