Package org.codehaus.groovy.grails.validation

Interface Summary
CascadingValidator Extends the default Spring Validator interface and provides an additional method that specifies whether validation should cascade into associations
Constraint Interface that defines a validatable constraint
ConstraintFactory A factory for creating constraint instances
VetoingConstraint Marker interface for vetoing constraint.
 

Class Summary
AbstractConstraint  
AbstractVetoingConstraint TODO: write javadoc
BlankConstraint A Constraint that validates a string is not blank
ConstrainedProperty Provides the ability to set contraints against a properties of a class.
ConstrainedPropertyBuilder Builder used as a delegate within the "constraints" closure of GrailsDomainClass instances
CreditCardConstraint A constraint class that validates a credit card number
EmailConstraint A Constraint that validates an email address
GrailsDomainClassValidator A specialised Spring validator that validates a domain class instance using the constraints defined in the static constraints closure.
HibernateDomainClassValidator A validator that first checks if the Hibernate PersistentCollection instance has been initialised before bothering to cascade
InListConstraint A constraint that validates the property is contained within the supplied list
MatchesConstraint A constraint that validates the property against a supplied regular expression
MaxConstraint A Constraint that implements a maximum value constraint
MaxSizeConstraint A constraint that validates maximum size of the property, for strings and arrays this is the length, collections the size and numbers the value
MinConstraint A Constraint that implements a minimum value constraint
MinSizeConstraint A constraint that validates minimum size or length of the property, for strings and arrays this is the length, collections the size and numbers the value
NotEqualConstraint A Constraint that validates not equal to something
NullableConstraint A Constraint that validates not equal to something
RangeConstraint A Constraint that validates a range
ScaleConstraint A constraint to manage the scale for floating point numbers (i.e., the number of digits to the right of the decimal point).
SizeConstraint A constraint that validates size of the property, for strings and arrays this is the length, collections the size and numbers the value
UrlConstraint A Constraint that validates a url
ValidatorConstraint A constraint class that validates using a user-supplied closure.
 



Copyright (c) 2005-2006 The Grails project