Uses of Interface
org.codehaus.groovy.grails.commons.GrailsDomainClass

Packages that use GrailsDomainClass
grails.test   
org.codehaus.groovy.grails.commons   
org.codehaus.groovy.grails.orm.hibernate   
org.codehaus.groovy.grails.orm.hibernate.cfg   
org.codehaus.groovy.grails.orm.hibernate.metaclass   
org.codehaus.groovy.grails.orm.hibernate.validation   
org.codehaus.groovy.grails.plugins   
org.codehaus.groovy.grails.plugins.orm.hibernate   
org.codehaus.groovy.grails.scaffolding   
org.codehaus.groovy.grails.scaffolding.view   
org.codehaus.groovy.grails.validation   
org.codehaus.groovy.grails.web.binding   
org.codehaus.groovy.grails.web.converters   
org.codehaus.groovy.grails.web.converters.marshaller.json   
org.codehaus.groovy.grails.web.converters.marshaller.xml   
 

Uses of GrailsDomainClass in grails.test
 

Methods in grails.test that return GrailsDomainClass
static GrailsDomainClass MockUtils.mockDomain(Class clazz)
           
static GrailsDomainClass MockUtils.mockDomain(Class clazz, List testInstances)
           
static GrailsDomainClass MockUtils.mockDomain(Class clazz, Map errorsMap)
           
static GrailsDomainClass MockUtils.mockDomain(Class clazz, Map errorsMap, List testInstances)
           
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.commons
 

Subinterfaces of GrailsDomainClass in org.codehaus.groovy.grails.commons
 interface ExternalGrailsDomainClass
          Represents a persistable Grails domain class that is externally mapped.
 

Classes in org.codehaus.groovy.grails.commons that implement GrailsDomainClass
 class DefaultGrailsDomainClass
           
 

Methods in org.codehaus.groovy.grails.commons that return GrailsDomainClass
 GrailsDomainClass GrailsDomainClassProperty.getComponent()
          If #isEmbedded returns true then this method can be called to obtain a reference to the embedded component, which implements the GrailsDomainClass interface
 GrailsDomainClass DefaultGrailsDomainClassProperty.getComponent()
           
 GrailsDomainClass GrailsDomainClassProperty.getDomainClass()
          Returns the parent domain class of the property instance
 GrailsDomainClass DefaultGrailsDomainClassProperty.getDomainClass()
           
 GrailsDomainClass GrailsDomainClassProperty.getReferencedDomainClass()
          Returns the GrailsDomainClass of a relationship property or null if the property is not a relationship property
 GrailsDomainClass DefaultGrailsDomainClassProperty.getReferencedDomainClass()
           
 

Methods in org.codehaus.groovy.grails.commons that return types with arguments of type GrailsDomainClass
 Set<GrailsDomainClass> GrailsDomainClass.getSubClasses()
          Returns the sub-classes for this class if any
 

Methods in org.codehaus.groovy.grails.commons with parameters of type GrailsDomainClass
static Serializable GrailsDomainConfigurationUtil.getAssociationIdentifier(Object target, String propertyName, GrailsDomainClass referencedDomainClass)
           
 void GrailsDomainClassProperty.setReferencedDomainClass(GrailsDomainClass referencedGrailsDomainClass)
          Sets the references domain class on the property
 void DefaultGrailsDomainClassProperty.setReferencedDomainClass(GrailsDomainClass referencedDomainClass)
           
 

Constructors in org.codehaus.groovy.grails.commons with parameters of type GrailsDomainClass
DefaultGrailsDomainClassProperty(GrailsDomainClass domainClass, PropertyDescriptor descriptor)
           
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.orm.hibernate
 

Classes in org.codehaus.groovy.grails.orm.hibernate that implement GrailsDomainClass
 class GrailsHibernateDomainClass
          An implementation of the GrailsDomainClass interface that allows Classes mapped in Hibernate to integrate with Grails' validation, dynamic methods etc. seamlessly
 

Methods in org.codehaus.groovy.grails.orm.hibernate that return GrailsDomainClass
 GrailsDomainClass GrailsHibernateDomainClassProperty.getComponent()
           
 GrailsDomainClass GrailsHibernateDomainClassProperty.getDomainClass()
           
 GrailsDomainClass GrailsHibernateDomainClassProperty.getReferencedDomainClass()
           
 

Methods in org.codehaus.groovy.grails.orm.hibernate with parameters of type GrailsDomainClass
 void GrailsHibernateDomainClassProperty.setReferencedDomainClass(GrailsDomainClass referencedGrailsDomainClass)
           
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.orm.hibernate.cfg
 

Methods in org.codehaus.groovy.grails.orm.hibernate.cfg with parameters of type GrailsDomainClass
 GrailsDomainConfiguration GrailsDomainConfiguration.addDomainClass(GrailsDomainClass domainClass)
          Adds a domain class to the configuration
 GrailsDomainConfiguration GrailsAnnotationConfiguration.addDomainClass(GrailsDomainClass domainClass)
           
 GrailsDomainConfiguration DefaultGrailsDomainConfiguration.addDomainClass(GrailsDomainClass domainClass)
           
static void GrailsDomainBinder.bindClass(GrailsDomainClass domainClass, org.hibernate.cfg.Mappings mappings)
          Binds a Grails domain class to the Hibernate runtime meta model
static void GrailsDomainBinder.bindRoot(GrailsDomainClass domainClass, org.hibernate.cfg.Mappings mappings)
          Binds a root class (one with no super classes) to the runtime meta model based on the supplied Grails domain class
protected static void GrailsDomainBinder.createClassProperties(GrailsDomainClass domainClass, org.hibernate.mapping.PersistentClass persistentClass, org.hibernate.cfg.Mappings mappings)
          Creates and binds the properties for the specified Grails domain class and PersistantClass and binds them to the Hibernate runtime meta model
static Mapping GrailsDomainBinder.evaluateMapping(GrailsDomainClass domainClass)
          Evaluates a Mapping object from the domain class if it has a mapping closure
static Mapping GrailsDomainBinder.evaluateMapping(GrailsDomainClass domainClass, groovy.lang.Closure defaultMapping)
           
static Mapping GrailsDomainBinder.getMapping(GrailsDomainClass domainClass)
          Obtains a mapping object for the given domain class nam
 

Method parameters in org.codehaus.groovy.grails.orm.hibernate.cfg with type arguments of type GrailsDomainClass
static void DefaultGrailsDomainConfiguration.configureDomainBinder(GrailsApplication grailsApplication, Set<GrailsDomainClass> domainClasses)
           
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.orm.hibernate.metaclass
 

Constructors in org.codehaus.groovy.grails.orm.hibernate.metaclass with parameters of type GrailsDomainClass
AbstractSavePersistentMethod(Pattern pattern, org.hibernate.SessionFactory sessionFactory, ClassLoader classLoader, GrailsApplication application, GrailsDomainClass domainClass)
           
MergePersistentMethod(org.hibernate.SessionFactory sessionFactory, ClassLoader classLoader, GrailsApplication application, GrailsDomainClass dc)
           
SavePersistentMethod(org.hibernate.SessionFactory sessionFactory, ClassLoader classLoader, GrailsApplication application, GrailsDomainClass domainClass)
           
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.orm.hibernate.validation
 

Methods in org.codehaus.groovy.grails.orm.hibernate.validation that return GrailsDomainClass
protected  GrailsDomainClass HibernateDomainClassValidator.getAssociatedDomainClassFromApplication(Object associatedObject)
           
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.plugins
 

Methods in org.codehaus.groovy.grails.plugins with parameters of type GrailsDomainClass
static Object DomainClassGrailsPlugin.registerConstraintsProperty(groovy.lang.MetaClass metaClass, GrailsDomainClass domainClass)
           
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.plugins.orm.hibernate
 

Methods in org.codehaus.groovy.grails.plugins.orm.hibernate with parameters of type GrailsDomainClass
static void HibernatePluginSupport.handleLazyProxy(GrailsDomainClass domainClass, GrailsDomainClassProperty property)
           
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.scaffolding
 

Methods in org.codehaus.groovy.grails.scaffolding with parameters of type GrailsDomainClass
 void GrailsTemplateGenerator.generateController(GrailsDomainClass domainClass, String destDir)
          Generates a controller for the supplied domain class
 void DefaultGrailsTemplateGenerator.generateController(GrailsDomainClass domainClass, String destdir)
           
 void GrailsTemplateGenerator.generateController(GrailsDomainClass domainClass, Writer out)
          Generates a controller for the specified domain class, writing the result to the specified java.io.Writer instance
 void DefaultGrailsTemplateGenerator.generateController(GrailsDomainClass domainClass, Writer out)
           
 void GrailsTemplateGenerator.generateView(GrailsDomainClass domainClass, String viewName, String destDir)
          Generates a view for the specified domain class and view name to the target directory
 void DefaultGrailsTemplateGenerator.generateView(GrailsDomainClass domainClass, String viewName, String destDir)
           
 void GrailsTemplateGenerator.generateView(GrailsDomainClass domainClass, String viewName, Writer out)
          Generates a view for the specified domain class and view name writing the result to the specified java.io.Writer instance
 void DefaultGrailsTemplateGenerator.generateView(GrailsDomainClass domainClass, String viewName, Writer out)
           
 void GrailsTemplateGenerator.generateViews(GrailsDomainClass domainClass, String destDir)
          Generates the necessary views for the supplied domain class
 void DefaultGrailsTemplateGenerator.generateViews(GrailsDomainClass domainClass, String destdir)
           
 

Constructors in org.codehaus.groovy.grails.scaffolding with parameters of type GrailsDomainClass
DomainClassPropertyComparator(GrailsDomainClass domainClass)
           
SimpleDomainClassPropertyComparator(GrailsDomainClass domainClass)
           
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.scaffolding.view
 

Methods in org.codehaus.groovy.grails.scaffolding.view with parameters of type GrailsDomainClass
protected  String ScaffoldingViewResolver.generateViewSource(GrailsWebRequest webRequest, GrailsDomainClass domainClass)
           
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.validation
 

Fields in org.codehaus.groovy.grails.validation declared as GrailsDomainClass
protected  GrailsDomainClass GrailsDomainClassValidator.domainClass
           
 

Methods in org.codehaus.groovy.grails.validation that return GrailsDomainClass
protected  GrailsDomainClass GrailsDomainClassValidator.getAssociatedDomainClassFromApplication(Object associatedObject)
           
 GrailsDomainClass GrailsDomainClassValidator.getDomainClass()
           
 

Methods in org.codehaus.groovy.grails.validation with parameters of type GrailsDomainClass
 void GrailsDomainClassValidator.setDomainClass(GrailsDomainClass domainClass)
           
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.web.binding
 

Methods in org.codehaus.groovy.grails.web.binding with parameters of type GrailsDomainClass
static void DataBindingUtils.assignBidirectionalAssociations(Object object, Map source, GrailsDomainClass domainClass)
          Associations both sides of any bidirectional relationships found in the object and source map to bind
static BindingResult DataBindingUtils.bindObjectToDomainInstance(GrailsDomainClass domain, Object object, Object source)
          Binds the given source object to the given target object performing type conversion if necessary
static BindingResult DataBindingUtils.bindObjectToDomainInstance(GrailsDomainClass domain, Object object, Object source, List include, List exclude, String filter)
          Binds the given source object to the given target object performing type conversion if necessary
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.web.converters
 

Methods in org.codehaus.groovy.grails.web.converters that return GrailsDomainClass
static GrailsDomainClass ConverterUtil.getDomainClass(String name)
           
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.web.converters.marshaller.json
 

Methods in org.codehaus.groovy.grails.web.converters.marshaller.json with parameters of type GrailsDomainClass
protected  void DomainClassMarshaller.asShortObject(Object refObj, JSON json, GrailsDomainClassProperty idProperty, GrailsDomainClass referencedDomainClass)
           
 

Uses of GrailsDomainClass in org.codehaus.groovy.grails.web.converters.marshaller.xml
 

Methods in org.codehaus.groovy.grails.web.converters.marshaller.xml with parameters of type GrailsDomainClass
protected  void DomainClassMarshaller.asShortObject(Object refObj, XML xml, GrailsDomainClassProperty idProperty, GrailsDomainClass referencedDomainClass)
           
 



Copyright (c) 2005-2009 The Grails project