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

All Superinterfaces:
Constraint
All Known Implementing Classes:
AbstractPersistentConstraint, UniqueConstraint

public interface PersistentConstraint
extends Constraint

Interface that defines a persistent constraint that evaluates the database.

Since:
10-Nov-2005
Author:
Graeme Rocher

Method Summary
 void setHibernateTemplate(HibernateTemplate template)
          Sets the hibernate template to use for the persistent constraint
 
Methods inherited from interface org.codehaus.groovy.grails.validation.Constraint
getName, getPropertyName, setMessageSource, setOwningClass, setParameter, setPropertyName, supports, validate
 

Method Detail

setHibernateTemplate

void setHibernateTemplate(HibernateTemplate template)
Sets the hibernate template to use for the persistent constraint

Parameters:
template -


Copyright (c) 2005-2006 The Grails project