@Component(value="blUpdateAccountValidator") public class UpdateAccountValidator extends Object implements org.springframework.validation.Validator
| Modifier and Type | Field and Description |
|---|---|
protected CustomerService |
customerService |
| Constructor and Description |
|---|
UpdateAccountValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
supports(Class<?> clazz) |
void |
validate(Object target,
org.springframework.validation.Errors errors) |
void |
validate(UpdateAccountForm form,
org.springframework.validation.Errors errors) |
protected CustomerService customerService
public void validate(UpdateAccountForm form, org.springframework.validation.Errors errors)
public boolean supports(Class<?> clazz)
supports in interface org.springframework.validation.Validatorpublic void validate(Object target, org.springframework.validation.Errors errors)
validate in interface org.springframework.validation.ValidatorCopyright © 2017. All rights reserved.