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 theBundleTemplateModel.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 Constructor Description BundleTemplateDependingIntegrityValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BundleTemplateServicegetBundleTemplateService()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)
-
getBundleTemplateService
protected BundleTemplateService getBundleTemplateService()
-
-