public class DefaultDiscountDao extends AbstractItemDao implements DiscountDao
DiscountDao.flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultDiscountDao() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DiscountModel> |
findDiscountsByCode(java.lang.String code)
Finds the
DiscountModel with the specified code. |
java.util.Collection<DiscountModel> |
findDiscountsByCurrencyIsoCode(java.lang.String currencyIsoCode)
Finds all
DiscountModels which match the specified currency. |
java.util.Collection<DiscountModel> |
findDiscountsByMatchedCode(java.lang.String matchedCode)
Finds all
DiscountModels which match the specified code. |
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic java.util.List<DiscountModel> findDiscountsByCode(java.lang.String code)
DiscountDaoDiscountModel with the specified code.findDiscountsByCode in interface DiscountDaocode - the discount codeDiscountModels with the specified codepublic java.util.Collection<DiscountModel> findDiscountsByMatchedCode(java.lang.String matchedCode)
DiscountDaoDiscountModels which match the specified code.findDiscountsByMatchedCode in interface DiscountDaomatchedCode - an SQL-Like statement as String, such as %discountCode%Collection of all DiscountModels which match the specified codepublic java.util.Collection<DiscountModel> findDiscountsByCurrencyIsoCode(java.lang.String currencyIsoCode)
DiscountDaoDiscountModels which match the specified currency.findDiscountsByCurrencyIsoCode in interface DiscountDaocurrencyIsoCode - isoCode of the matching currencyCollection of all DiscountModels with the specified currency.Copyright © 2018 SAP SE. All Rights Reserved.