Class CustomerReviewValidator

java.lang.Object
de.hybris.platform.marketplaceaddon.forms.validation.CustomerReviewValidator
All Implemented Interfaces:
org.springframework.validation.Validator

@Component("customerReviewValidator") public class CustomerReviewValidator extends Object implements org.springframework.validation.Validator
  • Constructor Details

    • CustomerReviewValidator

      public CustomerReviewValidator()
  • Method Details

    • supports

      public boolean supports(Class<?> paramClass)
      Specified by:
      supports in interface org.springframework.validation.Validator
    • validate

      public void validate(Object object, org.springframework.validation.Errors errors)
      Specified by:
      validate in interface org.springframework.validation.Validator
    • validateProductReview

      protected void validateProductReview(ProductReviewForm productReviewForm, int index, org.springframework.validation.Errors errors)
    • validateRating

      protected void validateRating(Double rating, String fieldName, String msgKey, org.springframework.validation.Errors errors)