Class BundleTemplatePriceRulesAndChildrenValidator
java.lang.Object
de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
de.hybris.platform.configurablebundleservices.constraints.BasicBundleTemplateValidator<BundleTemplatePriceRulesAndChildren>
de.hybris.platform.configurablebundleservices.constraints.BundleTemplatePriceRulesAndChildrenValidator
- All Implemented Interfaces:
javax.validation.ConstraintValidator<BundleTemplatePriceRulesAndChildren,BundleTemplateModel>
public class BundleTemplatePriceRulesAndChildrenValidator
extends BasicBundleTemplateValidator<BundleTemplatePriceRulesAndChildren>
Triggers when child templates AND changeProductPriceBundleRules
of
BundleTemplateModel are not empty.-
Field Summary
Fields inherited from class de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
MESSAGE_PARAMETER_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValid(BundleTemplateModel value, javax.validation.ConstraintValidatorContext context) Methods inherited from class de.hybris.platform.configurablebundleservices.constraints.BasicBundleTemplateValidator
initializeMethods inherited from class de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
buildErrorMessage, getCurrentLocale, getI18nService, getLocalizedString, getResourceBundleProvider
-
Constructor Details
-
BundleTemplatePriceRulesAndChildrenValidator
public BundleTemplatePriceRulesAndChildrenValidator()
-
-
Method Details
-
isValid
public boolean isValid(BundleTemplateModel value, javax.validation.ConstraintValidatorContext context)
-