Groovy Documentation

org.codehaus.groovy.grails.orm.hibernate.validation
[Java] Interface PersistentConstraint

org.codehaus.groovy.grails.validation.Constraint
  org.springframework.context.MessageSourceAware
      org.springframework.context.ApplicationContextAware
          org.codehaus.groovy.grails.orm.hibernate.validation.PersistentConstraint
All Superinterfaces:
Constraint, MessageSourceAware, ApplicationContextAware

public interface PersistentConstraint
extends ApplicationContextAware, Constraint

Interface that defines a persistent constraint that evaluates the database.

Authors:
Graeme Rocher
Since:
10-Nov-2005


Method Summary
HibernateTemplate getHibernateTemplate()

Obtains the HibernateTemplate

 
Methods inherited from interface Constraint
getName, getPropertyName, setMessageSource, setOwningClass, setParameter, setPropertyName, supports, validate
 

Method Detail

getHibernateTemplate

public HibernateTemplate getHibernateTemplate()
Obtains the HibernateTemplate
Returns:
The HibernateTemplate instance


 

Groovy Documentation