|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.commons |
---|
Classes in org.codehaus.groovy.grails.commons that implement GrailsDomainClassProperty | |
---|---|
class |
DefaultGrailsDomainClassProperty
A class that represents a property of a domain class and contains meta information about the properties relationships, naming conventions and type |
Methods in org.codehaus.groovy.grails.commons that return GrailsDomainClassProperty | |
---|---|
GrailsDomainClassProperty |
GrailsDomainClass.getIdentifier()
Returns the identifier property |
GrailsDomainClassProperty |
DefaultGrailsDomainClass.getIdentifier()
|
GrailsDomainClassProperty |
GrailsDomainClassProperty.getOtherSide()
Returns the other side of a bidirectional association |
GrailsDomainClassProperty |
DefaultGrailsDomainClassProperty.getOtherSide()
|
GrailsDomainClassProperty[] |
GrailsDomainClass.getPersistantProperties()
Deprecated. Use #getPersistentProperties instead |
GrailsDomainClassProperty[] |
DefaultGrailsDomainClass.getPersistantProperties()
Deprecated. |
GrailsDomainClassProperty[] |
GrailsDomainClass.getPersistentProperties()
Returns all of the persistant properties of the domain class |
GrailsDomainClassProperty[] |
DefaultGrailsDomainClass.getPersistentProperties()
|
GrailsDomainClassProperty[] |
GrailsDomainClass.getProperties()
Returns all of the properties of the domain class |
GrailsDomainClassProperty[] |
DefaultGrailsDomainClass.getProperties()
|
GrailsDomainClassProperty |
GrailsDomainClass.getPropertyByName(String name)
Returns the property for the given name |
GrailsDomainClassProperty |
DefaultGrailsDomainClass.getPropertyByName(String name)
|
GrailsDomainClassProperty |
GrailsDomainClass.getVersion()
Returns the version property |
GrailsDomainClassProperty |
DefaultGrailsDomainClass.getVersion()
|
Methods in org.codehaus.groovy.grails.commons with parameters of type GrailsDomainClassProperty | |
---|---|
static Map |
GrailsDomainConfigurationUtil.evaluateConstraints(Object instance,
GrailsDomainClassProperty[] properties)
Evaluates the constraints closure to build the list of constraints |
static Map |
GrailsDomainConfigurationUtil.evaluateConstraints(Object instance,
GrailsDomainClassProperty[] properties,
Map<String,Object> defaultConstraints)
Evaluates the constraints closure to build the list of constraints |
static boolean |
GrailsDomainConfigurationUtil.isBasicType(GrailsDomainClassProperty prop)
Establish whether its a basic type |
void |
GrailsDomainClassProperty.setOtherSide(GrailsDomainClassProperty referencedProperty)
Sets the other side of an associative property |
void |
DefaultGrailsDomainClassProperty.setOtherSide(GrailsDomainClassProperty property)
|
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.orm.hibernate |
---|
Classes in org.codehaus.groovy.grails.orm.hibernate that implement GrailsDomainClassProperty | |
---|---|
class |
GrailsHibernateDomainClassProperty
An implementation of the GrailsDomainClassProperty 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 GrailsDomainClassProperty | |
---|---|
GrailsDomainClassProperty |
GrailsHibernateDomainClass.getIdentifier()
|
GrailsDomainClassProperty |
GrailsHibernateDomainClassProperty.getOtherSide()
|
GrailsDomainClassProperty[] |
GrailsHibernateDomainClass.getPersistantProperties()
Deprecated. |
GrailsDomainClassProperty[] |
GrailsHibernateDomainClass.getPersistentProperties()
|
GrailsDomainClassProperty[] |
GrailsHibernateDomainClass.getProperties()
|
GrailsDomainClassProperty |
GrailsHibernateDomainClass.getPropertyByName(String name)
|
GrailsDomainClassProperty |
GrailsHibernateDomainClass.getVersion()
|
Methods in org.codehaus.groovy.grails.orm.hibernate with parameters of type GrailsDomainClassProperty | |
---|---|
void |
GrailsHibernateDomainClassProperty.setOtherSide(GrailsDomainClassProperty referencedProperty)
|
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.orm.hibernate.cfg |
---|
Fields in org.codehaus.groovy.grails.orm.hibernate.cfg declared as GrailsDomainClassProperty | |
---|---|
protected GrailsDomainClassProperty |
GrailsDomainBinder.GrailsCollectionSecondPass.property
|
Methods in org.codehaus.groovy.grails.orm.hibernate.cfg with parameters of type GrailsDomainClassProperty | |
---|---|
abstract org.hibernate.mapping.Collection |
GrailsDomainBinder.CollectionType.create(GrailsDomainClassProperty property,
org.hibernate.mapping.PersistentClass owner,
String path,
org.hibernate.cfg.Mappings mappings)
|
static PropertyConfig |
GrailsDomainBinder.getPropertyConfig(GrailsDomainClassProperty property)
|
Constructors in org.codehaus.groovy.grails.orm.hibernate.cfg with parameters of type GrailsDomainClassProperty | |
---|---|
GrailsDomainBinder.GrailsCollectionSecondPass(GrailsDomainClassProperty property,
org.hibernate.cfg.Mappings mappings,
org.hibernate.mapping.Collection coll)
|
|
GrailsDomainBinder.ListSecondPass(GrailsDomainClassProperty property,
org.hibernate.cfg.Mappings mappings,
org.hibernate.mapping.Collection coll)
|
|
GrailsDomainBinder.MapSecondPass(GrailsDomainClassProperty property,
org.hibernate.cfg.Mappings mappings,
org.hibernate.mapping.Collection coll)
|
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.orm.hibernate.validation |
---|
Methods in org.codehaus.groovy.grails.orm.hibernate.validation with parameters of type GrailsDomainClassProperty | |
---|---|
protected void |
HibernateDomainClassValidator.cascadeValidationToMany(Errors errors,
BeanWrapper bean,
GrailsDomainClassProperty persistentProperty,
String propertyName)
Overrides the default behaviour and first checks if a PersistentCollection instance has been initialised using the wasInitialised() method before cascading |
protected void |
HibernateDomainClassValidator.cascadeValidationToOne(Errors errors,
BeanWrapper bean,
Object associatedObject,
GrailsDomainClassProperty persistentProperty,
String propertyName)
|
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.plugins.orm.hibernate |
---|
Methods in org.codehaus.groovy.grails.plugins.orm.hibernate with parameters of type GrailsDomainClassProperty | |
---|---|
static void |
HibernatePluginSupport.handleLazyProxy(GrailsDomainClass domainClass,
GrailsDomainClassProperty property)
|
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.validation |
---|
Methods in org.codehaus.groovy.grails.validation with parameters of type GrailsDomainClassProperty | |
---|---|
protected void |
GrailsDomainClassValidator.cascadeToAssociativeProperty(Errors errors,
BeanWrapper bean,
GrailsDomainClassProperty persistentProperty)
Cascades validation onto an associative property maybe a one-to-many, one-to-one or many-to-one relationship |
protected void |
GrailsDomainClassValidator.cascadeValidationToMany(Errors errors,
BeanWrapper bean,
GrailsDomainClassProperty persistentProperty,
String propertyName)
Cascades validation to a one-to-many type relationship. |
protected void |
GrailsDomainClassValidator.cascadeValidationToOne(Errors errors,
BeanWrapper bean,
Object associatedObject,
GrailsDomainClassProperty persistentProperty,
String propertyName)
Cascades validation to a one-to-one or many-to-one property |
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.validation.metaclass |
---|
Constructors in org.codehaus.groovy.grails.validation.metaclass with parameters of type GrailsDomainClassProperty | |
---|---|
ConstraintsEvaluatingDynamicProperty(GrailsDomainClassProperty[] properties)
Deprecated. |
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.web.converters |
---|
Methods in org.codehaus.groovy.grails.web.converters with parameters of type GrailsDomainClassProperty | |
---|---|
protected Object |
ConverterUtil.extractIdValue(Object domainObject,
GrailsDomainClassProperty idProperty)
Reads the value of the primary identifier property of a domain class instance |
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.web.converters.marshaller.json |
---|
Methods in org.codehaus.groovy.grails.web.converters.marshaller.json with parameters of type GrailsDomainClassProperty | |
---|---|
protected void |
DomainClassMarshaller.asShortObject(Object refObj,
JSON json,
GrailsDomainClassProperty idProperty,
GrailsDomainClass referencedDomainClass)
|
protected Object |
DomainClassMarshaller.extractValue(Object domainObject,
GrailsDomainClassProperty property)
|
Uses of GrailsDomainClassProperty in org.codehaus.groovy.grails.web.converters.marshaller.xml |
---|
Methods in org.codehaus.groovy.grails.web.converters.marshaller.xml with parameters of type GrailsDomainClassProperty | |
---|---|
protected void |
DomainClassMarshaller.asShortObject(Object refObj,
XML xml,
GrailsDomainClassProperty idProperty,
GrailsDomainClass referencedDomainClass)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |