Class PriceRuleTargetProductsAssignedValidator
java.lang.Object
de.hybris.platform.configurablebundleservices.constraints.TypeValidatorHelper
de.hybris.platform.configurablebundleservices.constraints.BasicBundleRuleValidator<PriceRuleTargetProductsAssigned>
de.hybris.platform.configurablebundleservices.constraints.PriceRuleTargetProductsAssignedValidator
- All Implemented Interfaces:
javax.validation.ConstraintValidator<PriceRuleTargetProductsAssigned,AbstractBundleRuleModel>
public class PriceRuleTargetProductsAssignedValidator
extends BasicBundleRuleValidator<PriceRuleTargetProductsAssigned>
Validates that at least 1 target product is assigned to the given
ChangeProductPriceBundleRuleModel.-
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
-
PriceRuleTargetProductsAssignedValidator
public PriceRuleTargetProductsAssignedValidator()
-
-
Method Details
-
isValid
public boolean isValid(AbstractBundleRuleModel value, javax.validation.ConstraintValidatorContext context)
-