Interface InventoryEventDao
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultInventoryEventDao
The inventory events Dao
-
Method Summary
Modifier and TypeMethodDescriptiongetAllocationEventsForConsignment(ConsignmentModel consignment) Retrieves a collection ofAllocationEventModelfor the givenConsignmentModelgetAllocationEventsForConsignmentEntry(ConsignmentEntryModel consignmentEntry) Retrieves a list ofAllocationEventModelrelated to aConsignmentEntryModelgetAllocationEventsForOrderEntry(OrderEntryModel orderEntry) Retrieves a collection ofAllocationEventModelfor anOrderEntryModel<T extends InventoryEventModel>
Collection<T>getInventoryEventsForStockLevel(StockLevelModel stockLevel, Class<T> eventClassType) Retrieves a collection ofInventoryEventModelfor theStockLevelModel
-
Method Details
-
getAllocationEventsForConsignmentEntry
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
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> Collection<T> getInventoryEventsForStockLevel(StockLevelModel stockLevel, 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
Retrieves a collection ofAllocationEventModelfor the givenConsignmentModel- Parameters:
consignment- theConsignmentModelfor which all allocation events will be returned- Returns:
- the collection of
AllocationEventModel
-