Class DefaultInventoryEventDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.warehousing.inventoryevent.dao.impl.DefaultInventoryEventDao
- All Implemented Interfaces:
Dao,InventoryEventDao,Serializable
The default implementation of
InventoryEventDao- See Also:
-
Field Summary
FieldsFields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
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 anOrderEntryModelprotected <T extends InventoryEventModel>
Collection<T><T extends InventoryEventModel>
Collection<T>getInventoryEventsForStockLevel(StockLevelModel stockLevel, Class<T> eventClassType) Retrieves a collection ofInventoryEventModelfor theStockLevelModelMethods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Field Details
-
ALLOCATION_EVENTS_FOR_CONSIGNMENT_ENTRIES_QUERY
- See Also:
-
-
Constructor Details
-
DefaultInventoryEventDao
public DefaultInventoryEventDao()
-
-
Method Details
-
getAllocationEventsForConsignmentEntry
public Collection<AllocationEventModel> getAllocationEventsForConsignmentEntry(ConsignmentEntryModel consignmentEntry) Description copied from interface:InventoryEventDaoRetrieves a list ofAllocationEventModelrelated to aConsignmentEntryModel- Specified by:
getAllocationEventsForConsignmentEntryin interfaceInventoryEventDao- Parameters:
consignmentEntry- theConsignmentEntryModelfor which to retrieve the event- Returns:
- the list of
AllocationEventModellinked to the entry.
-
getAllocationEventsForOrderEntry
public Collection<AllocationEventModel> getAllocationEventsForOrderEntry(OrderEntryModel orderEntry) Description copied from interface:InventoryEventDaoRetrieves a collection ofAllocationEventModelfor anOrderEntryModel- Specified by:
getAllocationEventsForOrderEntryin interfaceInventoryEventDao- Parameters:
orderEntry- the order entry for which to retrieve the events- Returns:
- the collection of allocation events for the order entry
-
getInventoryEventsForStockLevel
public <T extends InventoryEventModel> Collection<T> getInventoryEventsForStockLevel(StockLevelModel stockLevel, Class<T> eventClassType) Description copied from interface:InventoryEventDaoRetrieves a collection ofInventoryEventModelfor theStockLevelModel- Specified by:
getInventoryEventsForStockLevelin interfaceInventoryEventDao- 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
public Collection<AllocationEventModel> getAllocationEventsForConsignment(ConsignmentModel consignment) Description copied from interface:InventoryEventDaoRetrieves a collection ofAllocationEventModelfor the givenConsignmentModel- Specified by:
getAllocationEventsForConsignmentin interfaceInventoryEventDao- Parameters:
consignment- theConsignmentModelfor which all allocation events will be returned- Returns:
- the collection of
AllocationEventModel
-
getInventoryEvents
protected <T extends InventoryEventModel> Collection<T> getInventoryEvents(FlexibleSearchQuery query)
-