public class DefaultChangeProductPriceBundleRuleDao extends AbstractBundleRuleDao<ChangeProductPriceBundleRuleModel> implements ChangeProductPriceBundleRuleDao
ChangeProductPriceBundleRuleDaoflexibleSearchService, modelService| Constructor and Description |
|---|
DefaultChangeProductPriceBundleRuleDao() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ChangeProductPriceBundleRuleModel> |
findBundleRulesByTargetProductAndCurrency(ProductModel targetProduct,
CurrencyModel currency)
Find all
ChangeProductPriceBundleRuleModels that have the given targetProduct as target
product. |
java.util.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. |
java.lang.String |
getFindBundleRulesByProductAndRootTemplateQuery() |
java.lang.String |
getFindBundleRulesByTargetProductAndTemplateQuery() |
java.lang.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 java.lang.String getFindBundleRulesByTargetProductQuery()
getFindBundleRulesByTargetProductQuery in class AbstractBundleRuleDao<ChangeProductPriceBundleRuleModel>public java.lang.String getFindBundleRulesByTargetProductAndTemplateQuery()
getFindBundleRulesByTargetProductAndTemplateQuery in class AbstractBundleRuleDao<ChangeProductPriceBundleRuleModel>public java.lang.String getFindBundleRulesByProductAndRootTemplateQuery()
getFindBundleRulesByProductAndRootTemplateQuery in class AbstractBundleRuleDao<ChangeProductPriceBundleRuleModel>public java.util.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 java.util.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 © 2018 SAP SE. All Rights Reserved.