org.codehaus.groovy.grails.orm.hibernate.validation
Interface PersistentConstraint

All Superinterfaces:
org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.Aware, org.codehaus.groovy.grails.validation.Constraint, org.springframework.context.MessageSourceAware
All Known Implementing Classes:
AbstractPersistentConstraint, UniqueConstraint

public interface PersistentConstraint
extends org.codehaus.groovy.grails.validation.Constraint, org.springframework.context.ApplicationContextAware

Defines a persistent constraint that evaluates the database.

Since:
10-Nov-2005

Method Summary
 org.springframework.orm.hibernate3.HibernateTemplate getHibernateTemplate()
          Obtains the HibernateTemplate.
 
Methods inherited from interface org.codehaus.groovy.grails.validation.Constraint
getName, getParameter, getPropertyName, isValid, setMessageSource, setOwningClass, setParameter, setPropertyName, supports, validate
 
Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
 

Method Detail

getHibernateTemplate

org.springframework.orm.hibernate3.HibernateTemplate getHibernateTemplate()
Obtains the HibernateTemplate.

Returns:
the template