|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Constraint | |
---|---|
org.codehaus.groovy.grails.orm.hibernate.validation | |
org.codehaus.groovy.grails.validation |
Uses of Constraint in org.codehaus.groovy.grails.orm.hibernate.validation |
---|
Subinterfaces of Constraint in org.codehaus.groovy.grails.orm.hibernate.validation | |
---|---|
interface |
PersistentConstraint
Interface that defines a persistent constraint that evaluates the database. |
Classes in org.codehaus.groovy.grails.orm.hibernate.validation that implement Constraint | |
---|---|
(package private) class |
AbstractPersistentConstraint
Constraints that require access to the HibernateTemplate should subclass this class |
class |
UniqueConstraint
A constraint that validates the uniqueness of a property (will query the database during validation process). |
Methods in org.codehaus.groovy.grails.orm.hibernate.validation that return Constraint | |
---|---|
Constraint |
PersistentConstraintFactory.newInstance()
|
Uses of Constraint in org.codehaus.groovy.grails.validation |
---|
Subinterfaces of Constraint in org.codehaus.groovy.grails.validation | |
---|---|
interface |
VetoingConstraint
Marker interface for vetoing constraint. |
Classes in org.codehaus.groovy.grails.validation that implement Constraint | |
---|---|
class |
AbstractConstraint
Abstract class for constraints to extend. |
class |
AbstractVetoingConstraint
TODO: write javadoc |
class |
BlankConstraint
A Constraint that validates a string is not blank. |
class |
CreditCardConstraint
A constraint class that validates a credit card number. |
class |
EmailConstraint
A Constraint that validates an email address. |
class |
InListConstraint
A constraint that validates the property is contained within the supplied list. |
class |
MatchesConstraint
A constraint that validates the property against a supplied regular expression. |
class |
MaxConstraint
A Constraint that implements a maximum value constraint. |
class |
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. |
class |
MinConstraint
A Constraint that implements a minimum value constraint. |
class |
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. |
class |
NotEqualConstraint
A Constraint that validates not equal to something |
class |
NullableConstraint
A Constraint that validates not null. |
class |
RangeConstraint
A Constraint that validates a range. |
class |
ScaleConstraint
A constraint to manage the scale for floating point numbers (i.e., the number of digits to the right of the decimal point). |
class |
SizeConstraint
A constraint that validates size of the property, for strings and arrays this is the length, collections the size and numbers the value |
class |
UrlConstraint
A Constraint that validates a url. |
class |
ValidatorConstraint
A constraint class that validates using a user-supplied closure. |
Methods in org.codehaus.groovy.grails.validation that return Constraint | |
---|---|
Constraint |
ConstrainedProperty.getAppliedConstraint(String name)
Obtains an applied constraint by name |
Constraint |
ConstraintFactory.newInstance()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |