public class DefaultCouponDao extends AbstractItemDao implements CouponDao
CouponDao.flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultCouponDao() |
| Modifier and Type | Method and Description |
|---|---|
AbstractCouponModel |
findCouponById(String couponId)
Finds the AbstractCouponModel by its couponId.
|
MultiCodeCouponModel |
findMultiCodeCouponById(String couponId)
Returns the MultiCodeCoupon for the given couponId.
|
List<MultiCodeCouponModel> |
findMultiCodeCouponsByCodeConfiguration(CodeGenerationConfigurationModel config)
Returns the list of MultiCodeCoupons that have the given configuration.
|
SingleCodeCouponModel |
findSingleCodeCouponById(String couponId)
Finds the SingleCodeCouponModel by its couponId.
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic AbstractCouponModel findCouponById(String couponId)
CouponDaofindCouponById in interface CouponDaocouponId - the couponIdpublic SingleCodeCouponModel findSingleCodeCouponById(String couponId)
CouponDaofindSingleCodeCouponById in interface CouponDaocouponId - the couponIdpublic MultiCodeCouponModel findMultiCodeCouponById(String couponId)
CouponDaofindMultiCodeCouponById in interface CouponDaocouponId - the coupon idpublic List<MultiCodeCouponModel> findMultiCodeCouponsByCodeConfiguration(CodeGenerationConfigurationModel config)
CouponDaofindMultiCodeCouponsByCodeConfiguration in interface CouponDaoconfig - the configurationCopyright © 2017 SAP SE. All Rights Reserved.