Class WarehouseProcessingCancelRequestExecutor
java.lang.Object
de.hybris.platform.ordercancel.impl.executors.WarehouseProcessingCancelRequestExecutor
- All Implemented Interfaces:
NotificationServiceAdapterDependent,WarehouseAdapterDependent,OrderCancelRequestExecutor
public class WarehouseProcessingCancelRequestExecutor
extends Object
implements OrderCancelRequestExecutor, NotificationServiceAdapterDependent, WarehouseAdapterDependent
This executor uses
OrderCancelWarehouseAdapter to forward cancel requests to the Warehouse for further
processing. From this point order cancel processing is suspended until a response from a Warehouse is received. This
response contains details if the order cancel request has been performed completely, partially, or not at all.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessCancelRequest(OrderCancelRequest orderCancelRequest, OrderCancelRecordEntryModel cancelRequestRecordEntry) voidsetModelService(ModelService modelService) voidsetNotificationServiceAdapter(OrderCancelNotificationServiceAdapter notificationServiceAdapter) voidsetOrderStatusChangeStrategy(OrderStatusChangeStrategy orderStatusChangeStrategy) voidsetWarehouseAdapter(OrderCancelWarehouseAdapter warehouseAdapter)
-
Constructor Details
-
WarehouseProcessingCancelRequestExecutor
public WarehouseProcessingCancelRequestExecutor()
-
-
Method Details
-
processCancelRequest
public void processCancelRequest(OrderCancelRequest orderCancelRequest, OrderCancelRecordEntryModel cancelRequestRecordEntry) - Specified by:
processCancelRequestin interfaceOrderCancelRequestExecutor
-
getModelService
- Returns:
- the modelService
-
setModelService
- Parameters:
modelService- the modelService to set
-
getWarehouseAdapter
- Returns:
- the warehouseAdapter
-
setWarehouseAdapter
- Specified by:
setWarehouseAdapterin interfaceWarehouseAdapterDependent- Parameters:
warehouseAdapter- the warehouseAdapter to set
-
getNotificationServiceAdapter
- Returns:
- the notificationServiceAdapter
-
setNotificationServiceAdapter
public void setNotificationServiceAdapter(OrderCancelNotificationServiceAdapter notificationServiceAdapter) - Specified by:
setNotificationServiceAdapterin interfaceNotificationServiceAdapterDependent- Parameters:
notificationServiceAdapter- the notificationServiceAdapter to set
-
getOrderStatusChangeStrategy
- Returns:
- the orderStatusChangeStrategy
-
setOrderStatusChangeStrategy
- Parameters:
orderStatusChangeStrategy- the orderStatusChangeStrategy to set
-