Class BundleTemplateDependingIntegrityValidator
java.lang.Object
de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
de.hybris.platform.configurablebundleservices.constraints.BasicBundleTemplateValidator<BundleTemplateDependingIntegrity>
de.hybris.platform.configurablebundleservices.constraints.BundleTemplateDependingIntegrityValidator
- All Implemented Interfaces:
javax.validation.ConstraintValidator<BundleTemplateDependingIntegrity,BundleTemplateModel>
public class BundleTemplateDependingIntegrityValidator
extends BasicBundleTemplateValidator<BundleTemplateDependingIntegrity>
Triggers when one of the
BundleTemplateModel.getDependentBundleTemplates()
does not belong to the parent package of the model.-
Field Summary
Fields inherited from class de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
MESSAGE_PARAMETER_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BundleTemplateServicebooleanisValid(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
-
BundleTemplateDependingIntegrityValidator
public BundleTemplateDependingIntegrityValidator()
-
-
Method Details
-
isValid
public boolean isValid(BundleTemplateModel value, javax.validation.ConstraintValidatorContext context) -
getBundleTemplateService
-