Class DefaultSourcingBanDao
- java.lang.Object
-
- de.hybris.platform.warehousing.sourcing.ban.dao.impl.DefaultSourcingBanDao
-
- All Implemented Interfaces:
SourcingBanDao
public class DefaultSourcingBanDao extends java.lang.Object implements SourcingBanDao
Default implementation of the sourcing ban DAO
-
-
Constructor Summary
Constructors Constructor Description DefaultSourcingBanDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FlexibleSearchServicegetFlexibleSearchService()java.util.Collection<SourcingBanModel>getSourcingBan(java.util.Collection<WarehouseModel> warehouseModels, java.util.Date currentDateMinusBannedDays)Retrieves anSourcingBanModelfor aWarehouseModelprotected <T extends SourcingBanModel>
java.util.Collection<T>getSourcingBans(FlexibleSearchQuery query)voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
-
-
Method Detail
-
getSourcingBan
public java.util.Collection<SourcingBanModel> getSourcingBan(java.util.Collection<WarehouseModel> warehouseModels, java.util.Date currentDateMinusBannedDays)
Description copied from interface:SourcingBanDaoRetrieves anSourcingBanModelfor aWarehouseModel- Specified by:
getSourcingBanin interfaceSourcingBanDao- Parameters:
warehouseModels- Warehouses for which we retrieve the SourcingBanscurrentDateMinusBannedDays- bannedDays default to 1 day- Returns:
- collection of SourcingBans linked with the warehouses
-
getFlexibleSearchService
protected FlexibleSearchService getFlexibleSearchService()
-
setFlexibleSearchService
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
getSourcingBans
protected <T extends SourcingBanModel> java.util.Collection<T> getSourcingBans(FlexibleSearchQuery query)
-
-