Class DefaultOutOfStockDeclineStrategy
- java.lang.Object
-
- de.hybris.platform.warehousing.allocation.decline.action.impl.DefaultOutOfStockDeclineStrategy
-
- All Implemented Interfaces:
DeclineActionStrategy
public class DefaultOutOfStockDeclineStrategy extends java.lang.Object implements DeclineActionStrategy
Strategy to apply when the decline reason for a consignment entry is.DeclineReason#OUTOFSTOCK.
-
-
Constructor Summary
Constructors Constructor Description DefaultOutOfStockDeclineStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(DeclineEntry declineEntry)Action to be performed based on the givenDeclineEntry, based on the selectedDeclineReasonvoidexecute(java.util.Collection<DeclineEntry> declineEntries)Action to be performed on the given collection ofDeclineEntry, based on the selectedDeclineReasonprotected InventoryEventServicegetInventoryEventService()protected DefaultWarehouseStockServicegetWarehouseStockService()voidsetInventoryEventService(InventoryEventService inventoryEventService)voidsetWarehouseStockService(DefaultWarehouseStockService warehouseStockService)
-
-
-
Method Detail
-
execute
public void execute(DeclineEntry declineEntry)
Description copied from interface:DeclineActionStrategyAction to be performed based on the givenDeclineEntry, based on the selectedDeclineReason- Specified by:
executein interfaceDeclineActionStrategy- Parameters:
declineEntry- theDeclineEntryto be declined
-
execute
public void execute(java.util.Collection<DeclineEntry> declineEntries)
Description copied from interface:DeclineActionStrategyAction to be performed on the given collection ofDeclineEntry, based on the selectedDeclineReason- Specified by:
executein interfaceDeclineActionStrategy- Parameters:
declineEntries- the collection ofDeclineEntryto be declined
-
getInventoryEventService
protected InventoryEventService getInventoryEventService()
-
setInventoryEventService
public void setInventoryEventService(InventoryEventService inventoryEventService)
-
getWarehouseStockService
protected DefaultWarehouseStockService getWarehouseStockService()
-
setWarehouseStockService
public void setWarehouseStockService(DefaultWarehouseStockService warehouseStockService)
-
-