Class DisableRuleTargetIntegrityValidator
java.lang.Object
de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
de.hybris.platform.configurablebundleservices.constraints.BasicBundleRuleValidator<DisableRuleTargetIntegrity>
de.hybris.platform.configurablebundleservices.constraints.DisableRuleTargetIntegrityValidator
- All Implemented Interfaces:
javax.validation.ConstraintValidator<DisableRuleTargetIntegrity,AbstractBundleRuleModel>
public class DisableRuleTargetIntegrityValidator
extends BasicBundleRuleValidator<DisableRuleTargetIntegrity>
Triggers when
AbstractBundleRuleModel.getTargetProducts()
contains a product is not a part of
BundleTemplateModel.getProducts().-
Field Summary
Fields inherited from class de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
MESSAGE_PARAMETER_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValid(AbstractBundleRuleModel value, javax.validation.ConstraintValidatorContext context) Methods inherited from class de.hybris.platform.configurablebundleservices.constraints.BasicBundleRuleValidator
getBundleTemplate, initializeMethods inherited from class de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
buildErrorMessage, getCurrentLocale, getI18nService, getLocalizedString, getResourceBundleProvider
-
Constructor Details
-
DisableRuleTargetIntegrityValidator
public DisableRuleTargetIntegrityValidator()
-
-
Method Details
-
isValid
public boolean isValid(AbstractBundleRuleModel value, javax.validation.ConstraintValidatorContext context)
-