public class DefaultCommercePromotionRestrictionDao extends AbstractItemDao implements CommercePromotionRestrictionDao
flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultCommercePromotionRestrictionDao() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> java.util.List<T> |
doSearch(java.lang.String query,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.Class<T> resultClass) |
java.util.List<PromotionOrderRestrictionModel> |
findPromotionOrderRestriction(AbstractPromotionModel promotion)
Finds all order promotion restrictions of given promotion
|
java.util.List<AbstractPromotionRestrictionModel> |
findPromotionRestriction(AbstractPromotionModel promotion)
Finds all promotion restrictions of given promotion
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic DefaultCommercePromotionRestrictionDao()
public java.util.List<AbstractPromotionRestrictionModel> findPromotionRestriction(AbstractPromotionModel promotion)
CommercePromotionRestrictionDaofindPromotionRestriction in interface CommercePromotionRestrictionDaopromotion - promotion modelAbstractPromotionRestrictionModelpublic java.util.List<PromotionOrderRestrictionModel> findPromotionOrderRestriction(AbstractPromotionModel promotion)
CommercePromotionRestrictionDaofindPromotionOrderRestriction in interface CommercePromotionRestrictionDaopromotion - promotion modelPromotionOrderRestrictionModelprotected <T> java.util.List<T> doSearch(java.lang.String query,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.Class<T> resultClass)
Copyright © 2018 SAP SE. All Rights Reserved.