Class PriceRuleTargetIntegrityValidator
- java.lang.Object
-
- de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
-
- de.hybris.platform.configurablebundleservices.constraints.BasicBundleRuleValidator<PriceRuleTargetIntegrity>
-
- de.hybris.platform.configurablebundleservices.constraints.PriceRuleTargetIntegrityValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<PriceRuleTargetIntegrity,AbstractBundleRuleModel>
public class PriceRuleTargetIntegrityValidator extends BasicBundleRuleValidator<PriceRuleTargetIntegrity>
Triggers whenAbstractBundleRuleModel.getTargetProducts()
contains a product is not a part ofBundleTemplateModel.getProducts()
.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
MESSAGE_PARAMETER_PATTERN
-
-
Constructor Summary
Constructors Constructor Description PriceRuleTargetIntegrityValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValid(AbstractBundleRuleModel value, javax.validation.ConstraintValidatorContext context)
-
Methods inherited from class de.hybris.platform.configurablebundleservices.constraints.BasicBundleRuleValidator
getBundleTemplate, initialize
-
Methods inherited from class de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
buildErrorMessage, getCurrentLocale, getI18nService, getLocalizedString, getResourceBundleProvider
-
-
-
-
Method Detail
-
isValid
public boolean isValid(AbstractBundleRuleModel value, javax.validation.ConstraintValidatorContext context)
-
-