public class DefaultInventoryEventService extends Object implements InventoryEventService
InventoryEventService| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
LOGGER |
| Constructor and Description |
|---|
DefaultInventoryEventService() |
public AllocationEventModel getAllocationEventForDeclineEntry(DeclineEntry declineEntry)
InventoryEventServiceAllocationEventModel for a DeclineEntrygetAllocationEventForDeclineEntry in interface InventoryEventServicedeclineEntry - the entry to declinepublic Collection<AllocationEventModel> getAllocationEventsForOrderEntry(OrderEntryModel orderEntry)
InventoryEventServiceAllocationEventModel for an OrderEntryModelgetAllocationEventsForOrderEntry in interface InventoryEventServiceorderEntry - the order entry for which to retrieve the eventspublic Collection<AllocationEventModel> createAllocationEvents(ConsignmentModel consignment)
InventoryEventServicecreateAllocationEvents in interface InventoryEventServiceconsignment - the consignment where stock was allocated; never nullAllocationEventModel; never nullpublic AllocationEventModel createAllocationEvent(ConsignmentEntryModel consignmentEntry)
InventoryEventServicecreateAllocationEvent in interface InventoryEventServiceconsignmentEntry - the consignment entrypublic ShrinkageEventModel createShrinkageEvent(ShrinkageEventModel shrinkageEventModel)
InventoryEventServicecreateShrinkageEvent in interface InventoryEventServiceshrinkageEventModel - the event containing information about the shrinkagepublic WastageEventModel createWastageEvent(WastageEventModel wastageEventModel)
InventoryEventServicecreateWastageEvent in interface InventoryEventServicewastageEventModel - the event containing information about the wastagepublic CancellationEventModel createCancellationEvent(CancellationEventModel cancellationEventModel)
InventoryEventServicecreateCancellationEvent in interface InventoryEventServicecancellationEventModel - the event containing information about the cancelled consignment entrypublic IncreaseEventModel createIncreaseEvent(IncreaseEventModel increaseEventModel)
InventoryEventServicecreateIncreaseEvent in interface InventoryEventServiceincreaseEventModel - the event containing information about the increase event modelpublic void reallocateAllocationEvent(DeclineEntry declineEntry, Long quantityToDecline)
InventoryEventServicereallocateAllocationEvent in interface InventoryEventServicedeclineEntry - the entry to decline/reallocatequantityToDecline - the quantity to decline/reallocateprotected ModelService getModelService()
public void setModelService(ModelService modelService)
protected InventoryEventDao getInventoryEventDao()
public void setInventoryEventDao(InventoryEventDao inventoryEventDao)
protected StockLevelSelectionStrategy getStockLevelSelectionStrategy()
public void setStockLevelSelectionStrategy(StockLevelSelectionStrategy stockLevelSelectionStrategy)
protected StockService getStockService()
public void setStockService(StockService stockService)
protected TimeService getTimeService()
public void setTimeService(TimeService timeService)
Copyright © 2017 SAP SE. All Rights Reserved.