public class DefaultPromotionDao extends AbstractItemDao implements PromotionDao
PromotionDao.flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultPromotionDao() |
| Modifier and Type | Method and Description |
|---|---|
PromotionGroupModel |
findDefaultPromotionGroup()
Finds default PromotionGroup object
|
AbstractPromotionModel |
findPromotionByCode(String code)
Find a stored item of AbstractPromotionModel type by it code (even if has immutableKeyHash != null).
|
PromotionGroupModel |
findPromotionGroupByCode(String identifier)
Finds PromotionGroup objects from the code identifier
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic AbstractPromotionModel findPromotionByCode(String code)
PromotionDaofindPromotionByCode in interface PromotionDaopublic PromotionGroupModel findPromotionGroupByCode(String identifier)
PromotionDaofindPromotionGroupByCode in interface PromotionDaoidentifier - identifier for the promotion grouppublic PromotionGroupModel findDefaultPromotionGroup()
PromotionDaofindDefaultPromotionGroup in interface PromotionDaoCopyright © 2017 SAP SE. All Rights Reserved.