Class WarehouseResponseExecutor
- java.lang.Object
-
- de.hybris.platform.ordercancel.impl.executors.WarehouseResponseExecutor
-
- All Implemented Interfaces:
NotificationServiceAdapterDependent,PaymentServiceAdapterDependent,OrderCancelResponseExecutor
- Direct Known Subclasses:
OmsWarehouseResponseExecutor,SapOmsWarehouseResponseExecutor
public class WarehouseResponseExecutor extends java.lang.Object implements OrderCancelResponseExecutor, NotificationServiceAdapterDependent, PaymentServiceAdapterDependent
-
-
Constructor Summary
Constructors Constructor Description WarehouseResponseExecutor()
-
Method Summary
-
-
-
Method Detail
-
processCancelResponse
public void processCancelResponse(OrderCancelResponse orderCancelResponse, OrderCancelRecordEntryModel cancelRequestRecordEntry) throws OrderCancelException
- Specified by:
processCancelResponsein interfaceOrderCancelResponseExecutor- Throws:
OrderCancelException
-
realizeCancelAfterWarehouseResponse
protected void realizeCancelAfterWarehouseResponse(OrderCancelResponse cancelResponse) throws OrderCancelException
- Throws:
OrderCancelException
-
finalizeCancelProcessing
protected void finalizeCancelProcessing(OrderCancelResponse orderCancelResponse, OrderCancelRecordEntryModel cancelRequestRecordEntry)
-
modifyOrderAccordingToRequest
protected void modifyOrderAccordingToRequest(OrderCancelResponse cancelResponse)
-
getModelService
public ModelService getModelService()
- Returns:
- the modelService
-
setModelService
public void setModelService(ModelService modelService)
- Parameters:
modelService- the modelService to set
-
getPaymentServiceAdapter
public OrderCancelPaymentServiceAdapter getPaymentServiceAdapter()
- Returns:
- the paymentServiceAdapter
-
setPaymentServiceAdapter
public void setPaymentServiceAdapter(OrderCancelPaymentServiceAdapter paymentServiceAdapter)
- Specified by:
setPaymentServiceAdapterin interfacePaymentServiceAdapterDependent- Parameters:
paymentServiceAdapter- the paymentServiceAdapter to set
-
getNotificationServiceAdapter
public OrderCancelNotificationServiceAdapter getNotificationServiceAdapter()
- Returns:
- the notificationServiceAdapter
-
setNotificationServiceAdapter
public void setNotificationServiceAdapter(OrderCancelNotificationServiceAdapter notificationServiceAdapter)
- Specified by:
setNotificationServiceAdapterin interfaceNotificationServiceAdapterDependent- Parameters:
notificationServiceAdapter- the notificationServiceAdapter to set
-
getOrderCancelRecordsHandler
public OrderCancelRecordsHandler getOrderCancelRecordsHandler()
- Returns:
- the orderCancelRecordsHandler
-
setOrderCancelRecordsHandler
public void setOrderCancelRecordsHandler(OrderCancelRecordsHandler orderCancelRecordsHandler)
- Parameters:
orderCancelRecordsHandler- the orderCancelRecordsHandler to set
-
getCompleteCancelStatusChangeStrategy
public OrderStatusChangeStrategy getCompleteCancelStatusChangeStrategy()
- Returns:
- the completeCancelStatusChangeStrategy
-
setCompleteCancelStatusChangeStrategy
public void setCompleteCancelStatusChangeStrategy(OrderStatusChangeStrategy completeCancelStatusChangeStrategy)
- Parameters:
completeCancelStatusChangeStrategy- the completeCancelStatusChangeStrategy to set
-
getPartialCancelStatusChangeStrategy
public OrderStatusChangeStrategy getPartialCancelStatusChangeStrategy()
- Returns:
- the partialCancelStatusChangeStrategy
-
setPartialCancelStatusChangeStrategy
public void setPartialCancelStatusChangeStrategy(OrderStatusChangeStrategy partialCancelStatusChangeStrategy)
- Parameters:
partialCancelStatusChangeStrategy- the partialCancelStatusChangeStrategy to set
-
getWarehouseDenialStatusChangeStrategy
public OrderStatusChangeStrategy getWarehouseDenialStatusChangeStrategy()
- Returns:
- the warehouseDenialStatusChangeStrategy
-
setWarehouseDenialStatusChangeStrategy
public void setWarehouseDenialStatusChangeStrategy(OrderStatusChangeStrategy warehouseDenialStatusChangeStrategy)
- Parameters:
warehouseDenialStatusChangeStrategy- the warehouseDenialStatusChangeStrategy to set
-
getWarehouseErrorStatusChangeStrategy
public OrderStatusChangeStrategy getWarehouseErrorStatusChangeStrategy()
- Returns:
- the warehouseErrorStatusChangeStrategy
-
setWarehouseErrorStatusChangeStrategy
public void setWarehouseErrorStatusChangeStrategy(OrderStatusChangeStrategy warehouseErrorStatusChangeStrategy)
- Parameters:
warehouseErrorStatusChangeStrategy- the warehouseErrorStatusChangeStrategy to set
-
-