|
||||||||||
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
Validates a credit card number. |
class |
EmailConstraint
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
Implements a maximum value constraint. |
class |
MaxSizeConstraint
Validates maximum size of the property, for strings and arrays this is the length, collections the size and numbers the value. |
class |
MinConstraint
Implements a minimum value constraint. |
class |
MinSizeConstraint
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
Validates not equal to something. |
class |
NullableConstraint
Validates not null. |
class |
RangeConstraint
Validates a range. |
class |
ScaleConstraint
Manages the scale for floating point numbers (i.e., the number of digits to the right of the decimal point). |
class |
SizeConstraint
Validates size of the property, for strings and arrays this is the length, collections the size and numbers the value. |
class |
UrlConstraint
Validates a url. |
class |
ValidatorConstraint
A constraint class that validates using a user-supplied closure. |
Fields in org.codehaus.groovy.grails.validation with type parameters of type Constraint | |
---|---|
protected Map<String,Constraint> |
ConstrainedProperty.appliedConstraints
|
Methods in org.codehaus.groovy.grails.validation that return Constraint | |
---|---|
Constraint |
ConstrainedProperty.getAppliedConstraint(String name)
Obtains an applied constraint by name. |
Constraint |
ConstraintFactory.newInstance()
|
Methods in org.codehaus.groovy.grails.validation that return types with arguments of type Constraint | |
---|---|
Collection<Constraint> |
ConstrainedProperty.getAppliedConstraints()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |