public class DefaultSourcingBanDao extends Object implements SourcingBanDao
| Constructor and Description |
|---|
DefaultSourcingBanDao() |
| Modifier and Type | Method and Description |
|---|---|
protected FlexibleSearchService |
getFlexibleSearchService() |
Collection<SourcingBanModel> |
getSourcingBan(Collection<WarehouseModel> warehouseModels,
Date currentDateMinusBannedDays)
Retrieves an
SourcingBanModel for a WarehouseModel |
protected <T extends SourcingBanModel> |
getSourcingBans(FlexibleSearchQuery query) |
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearchService) |
public Collection<SourcingBanModel> getSourcingBan(Collection<WarehouseModel> warehouseModels, Date currentDateMinusBannedDays)
SourcingBanDaoSourcingBanModel for a WarehouseModelgetSourcingBan in interface SourcingBanDaowarehouseModels - Warehouses for which we retrieve the SourcingBanscurrentDateMinusBannedDays - bannedDays default to 1 dayprotected FlexibleSearchService getFlexibleSearchService()
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
protected <T extends SourcingBanModel> Collection<T> getSourcingBans(FlexibleSearchQuery query)
Copyright © 2017 SAP SE. All Rights Reserved.