public interface CascadingValidator
extends org.springframework.validation.Validator, org.codehaus.groovy.grails.validation.CascadingValidator
| Modifier and Type | Method and Description |
|---|---|
void |
validate(java.lang.Object obj,
org.springframework.validation.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.
|
void validate(java.lang.Object obj,
org.springframework.validation.Errors errors,
boolean cascade)
validate in interface org.codehaus.groovy.grails.validation.CascadingValidatorobj - The Object to validateerrors - The Spring Errors instancecascade - True if validation should cascade into associationsErrors,
Validator,
Validator.validate(Object, org.springframework.validation.Errors)