Package de.hybris.platform.configurablebundleservices.constraints
package de.hybris.platform.configurablebundleservices.constraints
-
ClassDescriptionValidates that at least 1 target product is assigned to an
AbstractBundleRuleModel.Validates that at least 1 target product is assigned to the givenDisableProductBundleRuleModel.BasicBundleRuleValidator<A extends Annotation>Base class forAbstractBundleRuleModelvalidators.BasicBundleTemplateValidator<C extends Annotation>Base class for bundle type validators.Triggers when one of theBundleTemplateModel.getDependentBundleTemplates()does not belong to the parent package of the model.Triggers when one of theBundleTemplateModel.getDependentBundleTemplates()does not belong to the parent package of the model.Triggers when one of theBundleTemplateModel.getDependentBundleTemplates()is an ancestor of the model.Triggers when one of theBundleTemplateModel.getDependentBundleTemplates()is an ancestor of the model.Triggers when one of theBundleTemplateModel.getDependentBundleTemplates()is is the model itself.Triggers when one of theBundleTemplateModel.getDependentBundleTemplates()is is the model itself.Triggers when child templates AND disableProductBundleRules ofBundleTemplateModelare not empty.Triggers when child templates AND disableProductBundleRules ofBundleTemplateModelare not empty.Triggers when one of theBundleTemplateModel.getRequiredBundleTemplates()does not belong to the parent package of the model.Triggers when one of theBundleTemplateModel.getRequiredBundleTemplates()does not belong to the parent package of the model.Triggers when child templates AND changeProductPriceBundleRules ofBundleTemplateModelare not empty.Triggers when child templates AND changeProductPriceBundleRules ofBundleTemplateModelare not empty.Triggers when child templates AND products ofBundleTemplateModelare not empty.Triggers when child templates AND products ofBundleTemplateModelare not empty.Triggers when child templates AND products of aBundleTemplateModelare empty.Validates that the givenBundleTemplateModelhas any child templates OR any products.Unit tests forBundleTemplateProductsAssignedValidatorTriggers when one of theBundleTemplateModel.getRequiredBundleTemplates()is an ancestor of the model.Triggers when one of theBundleTemplateModel.getRequiredBundleTemplates()is an ancestor of the model.Triggers when one of theBundleTemplateModel.getRequiredBundleTemplates()does not belong to the parent package of the model.Triggers when one of theBundleTemplateModel.getRequiredBundleTemplates()does not belong to the parent package of the model.Triggers whenBundleTemplateModel.getChildTemplates()is not empty ANDBundleTemplateModel.getBundleSelectionCriteria()is not empty.Triggers whenBundleTemplateModel.getChildTemplates()is not empty ANDBundleTemplateModel.getBundleSelectionCriteria()is not empty.Validates that conditional product list of a price rule has at least 1 product.Validates that conditional product list of a disable rule has at least 1 product.Triggers whenAbstractBundleRuleModel.getTargetProducts()contains a product is not a part ofBundleTemplateModel.getProducts().Triggers whenAbstractBundleRuleModel.getTargetProducts()contains a product is not a part ofBundleTemplateModel.getProducts().Validates that conditional product list of a price rule has at least 1 product.Validates that conditional product list of a price rule has at least 1 product.Triggers whenAbstractBundleRuleModel.getTargetProducts()contains a product is not a part ofBundleTemplateModel.getProducts().Triggers whenAbstractBundleRuleModel.getTargetProducts()contains a product is not a part ofBundleTemplateModel.getProducts().Validates that at least 1 target product is assigned to anAbstractBundleRuleModel.Validates that at least 1 target product is assigned to the givenChangeProductPriceBundleRuleModel.Provides current springApplicationContextfor non-bean classes.A helper class for validators providing some common functionality of error message constructing.