Interface and Description |
---|
ConstraintsEvaluator
Evaluates and returns constraints.
|
GrailsDomainClass
Represents a persistable Grails domain class.
|
GrailsDomainClassProperty
A property of a GrailsDomainClass instance.
|
Class and Description |
---|
BaseApiProvider
@author Graeme Rocher
|
ClassPropertyFetcher
Accesses class "properties": static fields, static getters, instance fields
or instance getters.
|
FlatConfig
@author Graeme Rocher
|
GrailsDomainConfigurationUtil
Utility methods used in configuring the Grails Hibernate integration.
|
GrailsTransactionTemplate
Template class that simplifies programmatic transaction demarcation and
transaction exception handling.
|
MetaClassEnhancer
Enhances one or many MetaClasses with the given API methods provided by the super class BaseApiProvider.
|
RollbackTransform
The transform class for Rollback
|
TransactionalTransform
This AST transform reads the Transactional annotation and transforms method calls by
wrapping the body of the method in an execution of GrailsTransactionTemplate.
|
Annotation Type and Description |
---|
Rollback
A transforms that applies a transaction that always rolls back.
|
Transactional
Describes transaction attributes on a method or class.
|
Method and Description |
---|
AbstractGrailsClass#getPropertyDescriptors()
@deprecated Use getMetaProperties() instead
|
DefaultGrailsDomainClass#getAssociationMap()
Retrieves the association map
|
DefaultGrailsDomainClass#getAssociations()
Retrieves a list of associations
|
DefaultGrailsDomainClass#getComponents()
Retrieves a list of embedded components
|
DefaultGrailsDomainClass#getSubClasses()
Obtains a Set of subclasses
|
DefaultGrailsDomainClass#isRoot()
Check whether the class is a root entity
|
DefaultGrailsPlugin#doc(java.lang.String text)
@deprecated Dynamic document generation no longer supported
|
DefaultGrailsPluginManager#checkForChanges()
@deprecated Replaced by agent-based reloading, will be removed in a future version of Grails
|
GrailsClassUtils#getPropertyForGetter(java.lang.String getterName)
Returns a property name equivalent for the given getter name or null if it is not a valid getter.
|
GrailsClassUtils#isGetter(java.lang.String name, java.lang.Class<?> args)
Returns true if the name of the method specified and the number of arguments make it a javabean property getter.
|
GrailsDomainClass#getAssociationMap()
Returns this classes association map
|
GrailsDomainClass#getIdentifier()
Returns the identifier property
|
GrailsDomainClass#getMappedBy()
@return The map that defines association mappings
|
GrailsDomainClass#getMappingStrategy()
@return The name of the ORM implementation used to map the domain class (default is "GORM")
|
GrailsDomainClass#getPersistentProperties()
Returns all of the persistant properties of the domain class
|
GrailsDomainClass#getPersistentProperty(java.lang.String name)
Returns the property for the given name or null if non exists
|
GrailsDomainClass#getProperties()
Returns all of the properties of the domain class
|
GrailsDomainClass#getPropertyByName(java.lang.String name)
Returns the property for the given name
|
GrailsDomainClass#getRelatedClassType(java.lang.String propertyName)
Returns the type of the related class of the given property
|
GrailsDomainClass#getSubClasses()
Returns the sub-classes for this class if any
|
GrailsDomainClass#getVersion()
Returns the version property
|
GrailsDomainClass#hasPersistentProperty(java.lang.String propertyName)
Returns true if this domain class has a persistent property for the given name
|
GrailsDomainClass#hasSubClasses()
Returns true if the domain classes has sub classes
|
GrailsDomainClass#isBidirectional(java.lang.String propertyName)
Returns true if the given property is a bi-directional relationship
|
GrailsDomainClass#isManyToOne(java.lang.String propertyName)
Returns true if the given property is a many to one relationship
|
GrailsDomainClass#isOneToMany(java.lang.String propertyName)
Returns true if the given property is a one to many relationship
|
GrailsDomainClass#isRoot()
Whether the class is the root of a hierarchy
|
GrailsDomainClass#setMappingStrategy(java.lang.String strategy)
Sets the strategy to use for ORM mapping.
|
GrailsPlugin#doc(java.lang.String text)
Write some documentation to the DocumentationContext
|