Class SapCpiOmsEnterCancellingStrategy
- java.lang.Object
-
- de.hybris.platform.ordercancel.impl.orderstatechangingstrategies.EnterCancellingStrategy
-
- de.hybris.platform.sap.ysapcpiomsfulfillment.cancellation.SapCpiOmsEnterCancellingStrategy
-
- All Implemented Interfaces:
OrderStatusChangeStrategy
public class SapCpiOmsEnterCancellingStrategy extends EnterCancellingStrategy
-
-
Constructor Summary
Constructors Constructor Description SapCpiOmsEnterCancellingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchangeOrderStatusAfterCancelOperation(OrderCancelRecordEntryModel orderCancelRecordEntry, boolean saveOrderModel)Change OrderStatus of an order after cancel operationprotected SapCpiOrderOutboundConversionServicegetSapCpiOrderOutboundConversionService()protected SapCpiOutboundServicegetSapCpiOutboundService()protected voidprocessConsignmentsCancellations(OrderCancelRecordEntryModel orderCancelRecordEntry)Process external consignments cancellationsprotected voidsendConsignmentCancellationToScpi(SAPCpiOutboundOrderCancellationModel sapCpiOutboundOrderCancellation, OrderCancelRecordEntryModel orderCancelRecordEntry)Send consignment cancellation to the SAP backend through SCPIvoidsetSapCpiOrderOutboundConversionService(SapCpiOrderOutboundConversionService sapCpiOrderOutboundConversionService)voidsetSapCpiOutboundService(SapCpiOutboundService sapCpiOutboundService)-
Methods inherited from class de.hybris.platform.ordercancel.impl.orderstatechangingstrategies.EnterCancellingStrategy
getModelService, setModelService
-
-
-
-
Method Detail
-
changeOrderStatusAfterCancelOperation
public void changeOrderStatusAfterCancelOperation(OrderCancelRecordEntryModel orderCancelRecordEntry, boolean saveOrderModel)
Change OrderStatus of an order after cancel operation- Specified by:
changeOrderStatusAfterCancelOperationin interfaceOrderStatusChangeStrategy- Overrides:
changeOrderStatusAfterCancelOperationin classEnterCancellingStrategy- Parameters:
orderCancelRecordEntry-saveOrderModel-
-
processConsignmentsCancellations
protected void processConsignmentsCancellations(OrderCancelRecordEntryModel orderCancelRecordEntry)
Process external consignments cancellations- Parameters:
orderCancelRecordEntry-
-
sendConsignmentCancellationToScpi
protected void sendConsignmentCancellationToScpi(SAPCpiOutboundOrderCancellationModel sapCpiOutboundOrderCancellation, OrderCancelRecordEntryModel orderCancelRecordEntry)
Send consignment cancellation to the SAP backend through SCPI- Parameters:
sapCpiOutboundOrderCancellation-orderCancelRecordEntry-
-
getSapCpiOutboundService
protected SapCpiOutboundService getSapCpiOutboundService()
-
setSapCpiOutboundService
public void setSapCpiOutboundService(SapCpiOutboundService sapCpiOutboundService)
-
getSapCpiOrderOutboundConversionService
protected SapCpiOrderOutboundConversionService getSapCpiOrderOutboundConversionService()
-
setSapCpiOrderOutboundConversionService
public void setSapCpiOrderOutboundConversionService(SapCpiOrderOutboundConversionService sapCpiOrderOutboundConversionService)
-
-