Interface ChangeProductPriceBundleRuleDao
-
- All Superinterfaces:
BundleRuleDao<ChangeProductPriceBundleRuleModel>
- All Known Implementing Classes:
DefaultChangeProductPriceBundleRuleDao
public interface ChangeProductPriceBundleRuleDao extends BundleRuleDao<ChangeProductPriceBundleRuleModel>
Data Access Object for looking up items related toChangeProductPriceBundleRuleModel.- Spring Bean ID:
- changeProductPriceBundleRuleDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ChangeProductPriceBundleRuleModel>findBundleRulesByTargetProductAndCurrency(ProductModel targetProduct, CurrencyModel currency)Find allChangeProductPriceBundleRuleModels that have the giventargetProductas target product.java.util.List<ChangeProductPriceBundleRuleModel>findBundleRulesByTargetProductAndTemplateAndCurrency(ProductModel targetProduct, BundleTemplateModel bundleTemplate, CurrencyModel currency)Find allChangeProductPriceBundleRuleModels that are assigned to the givenbundleTemplateand have the giventargetProductas target product.-
Methods inherited from interface de.hybris.platform.configurablebundleservices.daos.BundleRuleDao
findBundleRulesByProductAndRootTemplate, findBundleRulesByTargetProduct, findBundleRulesByTargetProductAndTemplate
-
-
-
-
Method Detail
-
findBundleRulesByTargetProductAndCurrency
@Nonnull java.util.List<ChangeProductPriceBundleRuleModel> findBundleRulesByTargetProductAndCurrency(ProductModel targetProduct, CurrencyModel currency)
Find allChangeProductPriceBundleRuleModels that have the giventargetProductas target product.- Parameters:
targetProduct- the targetProductModelof the bundle rulecurrency- the currency of the rule's price- Returns:
ListofChangeProductPriceBundleRuleModels or emptyList.
-
findBundleRulesByTargetProductAndTemplateAndCurrency
@Nonnull java.util.List<ChangeProductPriceBundleRuleModel> findBundleRulesByTargetProductAndTemplateAndCurrency(@Nonnull ProductModel targetProduct, @Nonnull BundleTemplateModel bundleTemplate, @Nonnull CurrencyModel currency)
Find allChangeProductPriceBundleRuleModels that are assigned to the givenbundleTemplateand have the giventargetProductas target product.- Parameters:
targetProduct- the targetProductModelof the bundle rulebundleTemplate- theBundleTemplateModelthe bundle rule is assigned tocurrency- the currency of the rule's price- Returns:
ListofChangeProductPriceBundleRuleModels or emptyList.
-
-