Class BundleTemplateDependsOnItselfValidator
java.lang.Object
de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
de.hybris.platform.configurablebundleservices.constraints.BasicBundleTemplateValidator<BundleTemplateDependsOnItself>
de.hybris.platform.configurablebundleservices.constraints.BundleTemplateDependsOnItselfValidator
- All Implemented Interfaces:
javax.validation.ConstraintValidator<BundleTemplateDependsOnItself,BundleTemplateModel>
public class BundleTemplateDependsOnItselfValidator
extends BasicBundleTemplateValidator<BundleTemplateDependsOnItself>
Triggers when one of the
BundleTemplateModel.getDependentBundleTemplates()
is is the model itself.-
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
-
BundleTemplateDependsOnItselfValidator
public BundleTemplateDependsOnItselfValidator()
-
-
Method Details
-
isValid
public boolean isValid(BundleTemplateModel value, javax.validation.ConstraintValidatorContext context)
-