nl.surfnet.coin.teams.service.impl
Class InvitationFormValidator

java.lang.Object
  extended by 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


Constructor Summary
InvitationFormValidator()
           
 
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
 

Constructor Detail

InvitationFormValidator

public InvitationFormValidator()
Method Detail

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.