Class BundleTemplateProductsAndChildrenValidator
java.lang.Object
de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
de.hybris.platform.configurablebundleservices.constraints.BasicBundleTemplateValidator<BundleTemplateProductsAndChildren>
de.hybris.platform.configurablebundleservices.constraints.BundleTemplateProductsAndChildrenValidator
- All Implemented Interfaces:
javax.validation.ConstraintValidator<BundleTemplateProductsAndChildren,BundleTemplateModel>
public class BundleTemplateProductsAndChildrenValidator
extends BasicBundleTemplateValidator<BundleTemplateProductsAndChildren>
Triggers when child templates AND products
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
-
BundleTemplateProductsAndChildrenValidator
public BundleTemplateProductsAndChildrenValidator()
-
-
Method Details
-
isValid
public boolean isValid(BundleTemplateModel value, javax.validation.ConstraintValidatorContext context)
-