Class GuestRegisterValidator
- java.lang.Object
-
- de.hybris.platform.acceleratorstorefrontcommons.forms.validation.GuestRegisterValidator
-
- All Implemented Interfaces:
org.springframework.validation.Validator
@Component("guestRegisterValidator") public class GuestRegisterValidator extends java.lang.Object implements org.springframework.validation.ValidatorValidates entries on Guest register user forms.
-
-
Constructor Summary
Constructors Constructor Description GuestRegisterValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleansupports(java.lang.Class<?> aClass)voidvalidate(java.lang.Object object, org.springframework.validation.Errors errors)protected voidvalidateTermsAndConditions(org.springframework.validation.Errors errors, boolean termsCheck)
-
-
-
Method Detail
-
supports
public boolean supports(java.lang.Class<?> aClass)
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
public void validate(java.lang.Object object, org.springframework.validation.Errors errors)- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
validateTermsAndConditions
protected void validateTermsAndConditions(org.springframework.validation.Errors errors, boolean termsCheck)
-
-