org.grails.datastore.gorm.validation
Interface CascadingValidator
- All Superinterfaces:
- org.codehaus.groovy.grails.validation.CascadingValidator, org.springframework.validation.Validator
public interface CascadingValidator
- extends org.springframework.validation.Validator, org.codehaus.groovy.grails.validation.CascadingValidator
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,
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. |
| Methods inherited from interface org.springframework.validation.Validator |
supports, validate |
validate
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.
- Specified by:
validate in interface org.codehaus.groovy.grails.validation.CascadingValidator
- Parameters:
obj - The Object to validateerrors - The Spring Errors instancecascade - True if validation should cascade into associations- See Also:
Errors,
Validator,
Validator.validate(Object, org.springframework.validation.Errors)