nl.surfnet.coin.teams.service.impl
Class InvitationFormValidator
java.lang.Object
nl.surfnet.coin.teams.service.impl.InvitationFormValidator
- All Implemented Interfaces:
- org.springframework.validation.Validator
public class InvitationFormValidator
- extends Object
- implements org.springframework.validation.Validator
Validates InvitationForm
|
Method Summary |
boolean |
supports(Class<?> clazz)
|
void |
validate(Object target,
org.springframework.validation.Errors errors)
Fails if both the input field for manual email address input is empty and there is no
csv file with content |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvitationFormValidator
public InvitationFormValidator()
supports
public boolean supports(Class<?> clazz)
-
- Specified by:
supports in interface org.springframework.validation.Validator
validate
public void validate(Object target,
org.springframework.validation.Errors errors)
-
Fails if both the input field for manual email address input is empty and there is no
csv file with content
- Specified by:
validate in interface org.springframework.validation.Validator
Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.