Class ClassificationNotBlankValidator

java.lang.Object
de.hybris.platform.b2ctelcoservices.constraints.ClassificationNotBlankValidator
All Implemented Interfaces:
javax.validation.ConstraintValidator<ClassificationNotBlank,Object>

public class ClassificationNotBlankValidator extends Object implements javax.validation.ConstraintValidator<ClassificationNotBlank,Object>
Validates that if the given ProductModel has a certain category then the assigned classification attribute must not be empty or null. The product's category and classification combination to be checked is stored in the constraint definition ClassificationNotBlankConstraint.
  • Constructor Details

    • ClassificationNotBlankValidator

      public ClassificationNotBlankValidator()
  • Method Details