Class BundleTemplateDisableRulesAndChildrenValidator
- java.lang.Object
-
- de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
-
- de.hybris.platform.configurablebundleservices.constraints.BasicBundleTemplateValidator<BundleTemplateDisableRulesAndChildren>
-
- de.hybris.platform.configurablebundleservices.constraints.BundleTemplateDisableRulesAndChildrenValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<BundleTemplateDisableRulesAndChildren,BundleTemplateModel>
public class BundleTemplateDisableRulesAndChildrenValidator extends BasicBundleTemplateValidator<BundleTemplateDisableRulesAndChildren>
Triggers when child templates AND disableProductBundleRules ofBundleTemplateModelare not empty.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
MESSAGE_PARAMETER_PATTERN
-
-
Constructor Summary
Constructors Constructor Description BundleTemplateDisableRulesAndChildrenValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisValid(BundleTemplateModel value, javax.validation.ConstraintValidatorContext context)-
Methods inherited from class de.hybris.platform.configurablebundleservices.constraints.BasicBundleTemplateValidator
initialize
-
Methods inherited from class de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
buildErrorMessage, getCurrentLocale, getI18nService, getLocalizedString, getResourceBundleProvider
-
-
-
-
Method Detail
-
isValid
public boolean isValid(BundleTemplateModel value, javax.validation.ConstraintValidatorContext context)
-
-