public class DefaultChangeProductPriceBundleRuleDao extends AbstractBundleRuleDao<ChangeProductPriceBundleRuleModel> implements ChangeProductPriceBundleRuleDao
ChangeProductPriceBundleRuleDaoflexibleSearchService, modelService| Constructor and Description |
|---|
DefaultChangeProductPriceBundleRuleDao() |
| Modifier and Type | Method and Description |
|---|---|
List<ChangeProductPriceBundleRuleModel> |
findBundleRulesByTargetProductAndCurrency(ProductModel targetProduct,
CurrencyModel currency)
Find all
ChangeProductPriceBundleRuleModels that have the given targetProduct as target
product. |
List<ChangeProductPriceBundleRuleModel> |
findBundleRulesByTargetProductAndTemplateAndCurrency(ProductModel targetProduct,
BundleTemplateModel bundleTemplate,
CurrencyModel currency)
Find all
ChangeProductPriceBundleRuleModels that are assigned to the given bundleTemplate and
have the given targetProduct as target product. |
String |
getFindBundleRulesByProductAndRootTemplateQuery() |
String |
getFindBundleRulesByTargetProductAndTemplateQuery() |
String |
getFindBundleRulesByTargetProductQuery() |
findBundleRulesByProductAndRootTemplate, findBundleRulesByTargetProduct, findBundleRulesByTargetProductAndTemplategetAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindBundleRulesByProductAndRootTemplate, findBundleRulesByTargetProduct, findBundleRulesByTargetProductAndTemplatepublic DefaultChangeProductPriceBundleRuleDao()
public String getFindBundleRulesByTargetProductQuery()
getFindBundleRulesByTargetProductQuery in class AbstractBundleRuleDao<ChangeProductPriceBundleRuleModel>public String getFindBundleRulesByTargetProductAndTemplateQuery()
getFindBundleRulesByTargetProductAndTemplateQuery in class AbstractBundleRuleDao<ChangeProductPriceBundleRuleModel>public String getFindBundleRulesByProductAndRootTemplateQuery()
getFindBundleRulesByProductAndRootTemplateQuery in class AbstractBundleRuleDao<ChangeProductPriceBundleRuleModel>public List<ChangeProductPriceBundleRuleModel> findBundleRulesByTargetProductAndCurrency(ProductModel targetProduct, CurrencyModel currency)
ChangeProductPriceBundleRuleDaoChangeProductPriceBundleRuleModels that have the given targetProduct as target
product.findBundleRulesByTargetProductAndCurrency in interface ChangeProductPriceBundleRuleDaotargetProduct - the target ProductModel of the bundle rulecurrency - the currency of the rule's priceList of ChangeProductPriceBundleRuleModels or empty List.public List<ChangeProductPriceBundleRuleModel> findBundleRulesByTargetProductAndTemplateAndCurrency(ProductModel targetProduct, BundleTemplateModel bundleTemplate, CurrencyModel currency)
ChangeProductPriceBundleRuleDaoChangeProductPriceBundleRuleModels that are assigned to the given bundleTemplate and
have the given targetProduct as target product.findBundleRulesByTargetProductAndTemplateAndCurrency in interface ChangeProductPriceBundleRuleDaotargetProduct - the target ProductModel of the bundle rulebundleTemplate - the BundleTemplateModel the bundle rule is assigned tocurrency - the currency of the rule's priceList of ChangeProductPriceBundleRuleModels or empty List.Copyright © 2017 SAP SE. All Rights Reserved.