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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidprotected voidvalidateProductReview(ProductReviewForm productReviewForm, int index, org.springframework.validation.Errors errors) protected voidvalidateRating(Double rating, String fieldName, String msgKey, org.springframework.validation.Errors errors)
-
Constructor Details
-
CustomerReviewValidator
public CustomerReviewValidator()
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
validateProductReview
protected void validateProductReview(ProductReviewForm productReviewForm, int index, org.springframework.validation.Errors errors) -
validateRating
-