Interface InventoryEventDao
-
- All Known Implementing Classes:
DefaultInventoryEventDao
public interface InventoryEventDaoThe inventory events Dao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<AllocationEventModel>getAllocationEventsForConsignment(ConsignmentModel consignment)Retrieves a collection ofAllocationEventModelfor the givenConsignmentModeljava.util.Collection<AllocationEventModel>getAllocationEventsForConsignmentEntry(ConsignmentEntryModel consignmentEntry)Retrieves a list ofAllocationEventModelrelated to aConsignmentEntryModeljava.util.Collection<AllocationEventModel>getAllocationEventsForOrderEntry(OrderEntryModel orderEntry)Retrieves a collection ofAllocationEventModelfor anOrderEntryModel<T extends InventoryEventModel>
java.util.Collection<T>getInventoryEventsForStockLevel(StockLevelModel stockLevel, java.lang.Class<T> eventClassType)Retrieves a collection ofInventoryEventModelfor theStockLevelModel
-
-
-
Method Detail
-
getAllocationEventsForConsignmentEntry
java.util.Collection<AllocationEventModel> getAllocationEventsForConsignmentEntry(ConsignmentEntryModel consignmentEntry)
Retrieves a list ofAllocationEventModelrelated to aConsignmentEntryModel- Parameters:
consignmentEntry- theConsignmentEntryModelfor which to retrieve the event- Returns:
- the list of
AllocationEventModellinked to the entry.
-
getAllocationEventsForOrderEntry
java.util.Collection<AllocationEventModel> getAllocationEventsForOrderEntry(OrderEntryModel orderEntry)
Retrieves a collection ofAllocationEventModelfor anOrderEntryModel- Parameters:
orderEntry- the order entry for which to retrieve the events- Returns:
- the collection of allocation events for the order entry
-
getInventoryEventsForStockLevel
<T extends InventoryEventModel> java.util.Collection<T> getInventoryEventsForStockLevel(StockLevelModel stockLevel, java.lang.Class<T> eventClassType)
Retrieves a collection ofInventoryEventModelfor theStockLevelModel- Parameters:
stockLevel- theStockLevelModelfor which the events need to be extractedeventClassType- the class representing the type of inventory event- Returns:
- the collection of inventory events for the given
StockLevelModel
-
getAllocationEventsForConsignment
java.util.Collection<AllocationEventModel> getAllocationEventsForConsignment(ConsignmentModel consignment)
Retrieves a collection ofAllocationEventModelfor the givenConsignmentModel- Parameters:
consignment- theConsignmentModelfor which all allocation events will be returned- Returns:
- the collection of
AllocationEventModel
-
-