|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
org.springframework.validation.Validatororg.codehaus.groovy.grails.validation.CascadingValidator
public interface CascadingValidator extends Validator
Extends the default Spring Validator interface and provides an additional method that specifies whether validation should cascade into associations.
| Method Summary | |
|---|---|
void
|
validate(java.lang.Object obj, Errors errors, boolean cascade)
An extended version of the validate(errors,obj) method that takes an additional argument specifying whether the Validator should cascade into associations or not. |
| Method Detail |
|---|
public void validate(java.lang.Object obj, Errors errors, boolean cascade)
obj - The Object to validateerrors - The Spring Errors instancecascade - True if validation should cascade into associations
Groovy Documentation