A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AbstractDatastoreApi - Class in org.grails.datastore.gorm
@author Burt Beckwith
AbstractDatastoreApi(Datastore) - Constructor in AbstractDatastoreApi
AbstractDatastoreInitializer - Class in org.grails.datastore.gorm.bootstrap
Abstract class for datastore initializers to implement
AbstractDatastoreInitializer.GrailsBeanBuilderInit - Class in org.grails.datastore.gorm.bootstrap
AbstractDatastoreInitializer.GroovyBeanReaderInit - Class in org.grails.datastore.gorm.bootstrap
AbstractDatastoreInitializer(Map, Class) - Constructor in AbstractDatastoreInitializer
AbstractFindByFinder - Class in org.grails.datastore.gorm.finders
AbstractFindByFinder(Pattern, Datastore) - Constructor in AbstractFindByFinder
AbstractFinder - Class in org.grails.datastore.gorm.finders
Abstract base class for finders.
AbstractFinder(Datastore) - Constructor in AbstractFinder
AbstractGormApi - Class in org.grails.datastore.gorm
Abstract GORM API provider.
AbstractGormApi(Class<D>, Datastore) - Constructor in AbstractGormApi
AbstractMappingContextFactoryBean - Class in org.grails.datastore.gorm.bean.factory
An abstract factory bean for constructing MappingContext instances
add(Criterion) - Method in DetachedCriteria
add(int, Object) - Method in PagedResultList
addAssociationMethods(PersistentEntity) - Method in GormEnhancer
addInstanceMethods(PersistentEntity, boolean) - Method in GormEnhancer
addNamedQueryMethods(PersistentEntity) - Method in GormEnhancer
addObjectToCollection(Association, def, def) - Method in GormEnhancer
addStaticMethods(PersistentEntity, boolean) - Method in GormEnhancer
addToCriteria(Criterion) - Method in CriteriaBuilder
afterDelete(PersistentEntity, EntityAccess, PostDeleteEvent) - Method in DomainEventListener
afterInsert(PersistentEntity, EntityAccess, PostInsertEvent) - Method in DomainEventListener
afterLoad(PersistentEntity, EntityAccess, PostLoadEvent) - Method in DomainEventListener
afterUpdate(PersistentEntity, EntityAccess, PostUpdateEvent) - Method in DomainEventListener
AggregatePersistenceContextInterceptor - Class in org.grails.datastore.gorm.plugin.support
@author Graeme Rocher
AggregatePersistenceContextInterceptor(List<PersistenceContextInterceptor>) - Constructor in AggregatePersistenceContextInterceptor
Constructor.
AggregateTimestampProvider - Class in org.grails.datastore.gorm.timestamp
*************************************************************************** Copyright 2014 original authors
alias - Field in DetachedCriteria
aliases - Field in DetachedCriteriaTransformer
aliasExpressions - Field in DetachedCriteriaTransformer
allEq(Map<String, Object>) - Method in CriteriaBuilder
Apply an "equals" constraint to each property in the key set of a Map
allEq(Map<String, Object>) - Method in DetachedCriteria
@see Criteria#allEq(java.util.Map)
and(Closure) - Method in CriteriaBuilder
and(Closure) - Method in DetachedCriteria
Handles a conjunction
AND_OPERATOR - Field in DetachedCriteriaTransformer
apiDelegate - Field in MethodInvokingClosure
applyAdditionalCriteria(Query, Closure) - Method in AbstractFinder
applyDetachedCriteria(Query, DetachedCriteria) - Method in DynamicFinder
ApplyDetachedCriteriaTransform - Annotation Type in org.grails.datastore.gorm.query.transform
Used only for testing
applyLazyCriteria() - Method in DetachedCriteria
applySortForMap(Query, Map, boolean) - Method in DynamicFinder
ARGUMENT_CACHE - Field in DynamicFinder
ARGUMENT_FETCH - Field in DynamicFinder
ARGUMENT_FETCH_SIZE - Field in DynamicFinder
ARGUMENT_FLUSH_MODE - Field in DynamicFinder
ARGUMENT_IGNORE_CASE - Field in DynamicFinder
ARGUMENT_LOCK - Field in DynamicFinder
ARGUMENT_MAX - Field in DynamicFinder
ARGUMENT_OFFSET - Field in DynamicFinder
ARGUMENT_ORDER - Field in DynamicFinder
ARGUMENT_READ_ONLY - Field in DynamicFinder
ARGUMENT_SORT - Field in DynamicFinder
ARGUMENT_TIMEOUT - Field in DynamicFinder
arguments - Field in MethodExpression
argumentsRequired - Field in MethodExpression
asBoolean(Closure) - Method in DetachedCriteria
Counts the number of records returned by the query
asBoolean() - Method in EventTriggerCaller
associationCriteriaMap - Field in DetachedCriteria
asType(Class<N>) - Method in DetachedCriteria
Allow casting to a Promise
AsyncQuery - Class in org.grails.datastore.gorm.async
Exposes all methods from the GormOperations interface asynchronously
AsyncQuery(GormOperations<E>) - Constructor in AsyncQuery
attach() - Method in GormEntity
Attaches an instance to an existing session.
attach(D) - Method in GormInstanceApi
Attaches an instance to an existing session.
AutoTimestampEventListener - Class in org.grails.datastore.gorm.events
An event listener that adds support for GORM-style auto-timestamping
AutoTimestampEventListener(Datastore) - Constructor in AutoTimestampEventListener
autowireBeanProperties(Object) - Method in DomainEventListener
avg(String) - Method in CriteriaBuilder
Computes the average value of a property
avg(String) - Method in DetachedCriteria
Adds a avg projection
avg(String) - Method in DetachedCriteria.DetachedProjections

B

BEFORE_VALIDATE - Field in BeforeValidateHelper
beforeDelete(PersistentEntity, EntityAccess, PreDeleteEvent) - Method in DomainEventListener
beforeInsert(PersistentEntity, EntityAccess) - Method in AutoTimestampEventListener
beforeInsert(PersistentEntity, EntityAccess, PreInsertEvent) - Method in DomainEventListener
beforeLoad(PersistentEntity, EntityAccess, PreLoadEvent) - Method in DomainEventListener
beforeUpdate(PersistentEntity, EntityAccess) - Method in AutoTimestampEventListener
beforeUpdate(PersistentEntity, EntityAccess, PreUpdateEvent) - Method in DomainEventListener
BeforeValidateHelper - Class in org.grails.datastore.gorm.support
BeforeValidateHelper.BeforeValidateEventTriggerCaller - Class in org.grails.datastore.gorm.support
BeforeValidateHelper.BeforeValidateEventTriggerCaller(Class<?>, MetaClass) - Constructor in BeforeValidateHelper.BeforeValidateEventTriggerCaller
between(String, Object, Object) - Method in CriteriaBuilder
Restricts the results by the given property value range (inclusive)
between(String, Object, Object) - Method in DetachedCriteria
@see Criteria
build(Class<?>, MetaClass, Class<?>) - Method in BeforeValidateHelper.BeforeValidateEventTriggerCaller
build(Closure) - Method in CriteriaBuilder
build(Closure) - Method in DetachedCriteria
Enable the builder syntax for contructing Criteria
buildCaller(String, Class<?>, MetaClass, Class<?>) - Method in EventTriggerCaller
buildLazy(Closure) - Method in DetachedCriteria
Enable the builder syntax for contructing Criteria
buildQuery(DynamicFinderInvocation, Session) - Method in AbstractFindByFinder
buildQuery(DynamicFinderInvocation, Session) - Method in CountByFinder
buildQuery(DynamicFinderInvocation, Session) - Method in FindAllByFinder
buildQuery(DynamicFinderInvocation, Session) - Method in QueryBuildingFinder
Build a query from an invocation

C

cache(boolean) - Method in CriteriaBuilder
cache(boolean) - Method in DetachedCriteria
cachedClassProperties - Field in DetachedCriteriaTransformer
call(Object, List<?>) - Method in BeforeValidateHelper.BeforeValidateEventTriggerCaller
call(Object, Object) - Method in EventTriggerCaller
call(Object) - Method in InstanceMethodInvokingClosure
call(Object) - Method in MethodInvokingClosure
call(Object) - Method in NamedCriteriaProxy
call(Object) - Method in StaticMethodInvokingClosure
CANDIDATE_METHODS_WHERE_ONLY - Field in DetachedCriteriaTransformer
CascadingValidator - Interface in org.grails.datastore.gorm.validation
Extends the default Spring Validator interface and provides an additional method that specifies whether validation should cascade into associations.
CHANGE_TRACKING_FIELD_NAME - Field in DirtyCheckingTransformer
classLoader - Field in AbstractDatastoreInitializer
clear() - Method in AggregatePersistenceContextInterceptor
clear() - Method in DatastorePersistenceContextInterceptor
clearErrors() - Method in GormValidateable
Clears any errors that exist on an instance
clearErrors(D) - Method in GormValidationApi
Clears any errors that exist on an instance
clone() - Method in DetachedCriteria
configureForBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in AbstractDatastoreInitializer
Configures an existing BeanDefinitionRegistry
configureQueryWithArguments(Class, Query, Object) - Method in DynamicFinder
CONSTANT_NULL - Field in DirtyCheckingTransformer
convertArgumentList(Collection) - Method in DetachedCriteria
convertArguments(PersistentEntity) - Method in MethodExpression
convertArguments(PersistentEntity) - Method in MethodExpression.InList
convertArguments(PersistentEntity) - Method in MethodExpression.InRange
count(Closure) - Method in CriteriaBuilder
Defines an executes a count query in a single call.
count(Closure) - Method in DetachedCriteria
Counts the number of records returned by the query
count() - Method in DetachedCriteria.DetachedProjections
count() - Method in GormEntity
Counts the number of persisted entities
count(Map, Closure) - Method in GormOperations
Counts the number of records returned by the query
count() - Method in GormStaticApi
Counts the number of persisted entities
count(Closure) - Method in NamedCriteriaProxy
CountByFinder - Class in org.grails.datastore.gorm.finders
Supports counting objects.
CountByFinder(Datastore) - Constructor in CountByFinder
countDistinct(String) - Method in CriteriaBuilder
Projection that signifies to count distinct results
countDistinct(String) - Method in DetachedCriteria.DetachedProjections
create() - Method in GormEntity
Creates an instance of this class
create() - Method in GormStaticApi
Creates an instance of this class
CREATE_METHOD_NAME - Field in GormTransformer
createAggregateBeanDefinition(ManagedList) - Method in PersistenceContextInterceptorAggregator
createAggregatePersistenceContextInterceptorOnDemand(BeanDefinitionRegistry) - Method in PersistenceContextInterceptorAggregator
createAlias(String, String) - Method in DetachedCriteria
If the underlying datastore supports aliases, then an alias is created for the given association
createCriteria() - Method in GormEntity
Creates a criteria builder instance
createCriteria() - Method in GormStaticApi
Creates a criteria builder instance
createCriterion() - Method in MethodExpression
createCriterion() - Method in MethodExpression.Between
createCriterion() - Method in MethodExpression.Equal
createCriterion() - Method in MethodExpression.GreaterThan
createCriterion() - Method in MethodExpression.GreaterThanEquals
createCriterion() - Method in MethodExpression.Ilike
createCriterion() - Method in MethodExpression.InList
createCriterion() - Method in MethodExpression.InRange
createCriterion() - Method in MethodExpression.IsEmpty
createCriterion() - Method in MethodExpression.IsNotEmpty
createCriterion() - Method in MethodExpression.IsNotNull
createCriterion() - Method in MethodExpression.IsNull
createCriterion() - Method in MethodExpression.LessThan
createCriterion() - Method in MethodExpression.LessThanEquals
createCriterion() - Method in MethodExpression.Like
createCriterion() - Method in MethodExpression.NotEqual
createCriterion() - Method in MethodExpression.Rlike
createDynamicFinders() - Method in GormEnhancer
createFinderInvocation(Class, String, Closure, Object) - Method in DynamicFinder
createMappingContext() - Method in AbstractMappingContextFactoryBean
createMarkDirtyMethodCall(MethodNode, String) - Method in DirtyCheckingTransformer
createNamedCriteriaProxy(Closure) - Method in NamedQueriesBuilder
createPersistentEntity(Class) - Method in GrailsDomainClassMappingContext
createProxy(Session, Class<T>, Serializable) - Method in GroovyProxyFactory
Creates a proxy
createTimestamp(TimestampProvider, Class<T>) - Method in AggregateTimestampProvider
createTimestamp(Class<T>) - Method in DefaultTimestampProvider
createTimestamp(Class<T>) - Method in TimestampProvider
criteria - Field in DetachedCriteria
CriteriaBuilder - Class in grails.gorm
Criteria builder implementation that operates against DataStore abstraction.
CriteriaBuilder(Class, Session, Query) - Constructor in CriteriaBuilder
currentClassNode - Field in DetachedCriteriaTransformer
currentGormInstanceApi() - Method in GormEntity
Used to obtain the GormInstanceApi instance.
currentGormStaticApi() - Method in GormEntity
Used to obtain the GormInstanceApi instance.
currentGormValidationApi() - Method in GormValidateable
Used to obtain the GormValidationApi instance.
currentTimeMillis() - Method in DefaultTimestampProvider

D

datastore - Field in AbstractDatastoreApi
datastore - Field in AbstractFinder
datastore - Field in DatastorePersistenceContextInterceptor
DatastorePersistenceContextInterceptor - Class in org.grails.datastore.gorm.support
@since 1.0
DatastorePersistenceContextInterceptor(Datastore) - Constructor in DatastorePersistenceContextInterceptor
DATE_CREATED_PROPERTY - Field in AutoTimestampEventListener
defaultMax - Field in DetachedCriteria
defaultOffset - Field in DetachedCriteria
DefaultTimestampProvider - Class in org.grails.datastore.gorm.timestamp
*************************************************************************** Copyright 2014 original authors
delete(Map) - Method in GormEntity
Deletes an instance from the datastore
delete(D, Map) - Method in GormInstanceApi
Deletes an instance from the datastore
deleteAll() - Method in DetachedCriteria
Deletes all entities matching this criteria
deleteAll(Iterable) - Method in GormEntity
Deletes a list of objects in one go
deleteAll() - Method in GormOperations
Deletes all entities matching this criteria
deleteAll(Iterable) - Method in GormStaticApi
Deletes a list of objects in one go
destroy() - Method in AggregatePersistenceContextInterceptor
destroy() - Method in DatastorePersistenceContextInterceptor
DETACHED_CRITERIA_CLASS_NODE - Field in DetachedCriteriaTransformer
DetachedAssociationCriteria - Class in org.grails.datastore.gorm.query.criteria
Criterion related to an association
DetachedAssociationCriteria(Class, Association, String) - Constructor in DetachedAssociationCriteria
DetachedCriteria - Class in grails.gorm
Represents criteria that is not bound to the current connection and can be built up and re-used at a later date.
DetachedCriteria.DetachedProjections - Class in grails.gorm
DetachedCriteria.DetachedProjections(List<Projection>) - Constructor in DetachedCriteria.DetachedProjections
DetachedCriteria(Class<T>, String) - Constructor in DetachedCriteria
Constructs a DetachedCriteria instance target the given class and alias for the name
DetachedCriteriaASTTransformation - Class in org.grails.datastore.gorm.query.transform
Transforms regular Groovy-style finders into detached criteria
DetachedCriteriaTransformer - Class in org.grails.datastore.gorm.query.transform
ClassCodeVisitorSupport that transforms where methods into detached criteria queries
detachedCriteriaVariables - Field in DetachedCriteriaTransformer
DirtyCheck - Annotation Type in grails.gorm.dirty.checking
Apply to enhance an entity with dirty checking support
DirtyCheckingTransformer - Class in org.grails.compiler.gorm
Transforms a domain class making it possible for the domain class to take responsibility of tracking changes to itself, thus removing the responsibility from the ORM system which would have to maintain parallel state and compare the state of the domain class to the stored state.
DirtyCheckingTransformer.GetterAndSetter - Class in org.grails.compiler.gorm
DirtyCheckTransformation - Class in org.grails.compiler.gorm
Applies the DirtyCheck transformation
discard() - Method in GormEntity
Discards any pending changes.
discard(D) - Method in GormInstanceApi
Discards any pending changes.
disconnect() - Method in AggregatePersistenceContextInterceptor
disconnect() - Method in DatastorePersistenceContextInterceptor
distinct(String) - Method in CriteriaBuilder
Projection that signifies to return only distinct results
distinct(String) - Method in DetachedCriteria
Adds a distinct property projection
distinct() - Method in DetachedCriteria.DetachedProjections
doCall(Object) - Method in MethodInvokingClosure
doesRealMethodExist(MetaClass, String, Class, boolean) - Method in GormEnhancer
doInvokeInternal(DynamicFinderInvocation) - Method in AbstractFindByFinder
doInvokeInternal(DynamicFinderInvocation) - Method in CountByFinder
doInvokeInternal(DynamicFinderInvocation) - Method in DynamicFinder
doInvokeInternal(DynamicFinderInvocation) - Method in FindAllByFinder
doInvokeInternal(DynamicFinderInvocation) - Method in FindOrCreateByFinder
doInvokeInternal(DynamicFinderInvocation) - Method in FindOrSaveByFinder
DomainEventListener - Class in org.grails.datastore.gorm.events
An event listener that provides support for GORM domain events.
DomainEventListener(Datastore) - Constructor in DomainEventListener
doSave(D, Map, Session, boolean) - Method in GormInstanceApi
DynamicFinder - Class in org.grails.datastore.gorm.finders
Abstract base class for dynamic finders.
DynamicFinder(Pattern, String, Datastore) - Constructor in DynamicFinder
DynamicFinderInvocation - Class in org.grails.datastore.gorm.finders
Value object used to construct all the information necessary to invoke a dynamic finder.
DynamicFinderInvocation(Class, String, Object, List<MethodExpression>, Closure, String) - Constructor in DynamicFinderInvocation
dynamicFinders - Field in DetachedCriteria

E

enhance(PersistentEntity, boolean) - Method in GormEnhancer
Enhance and individual entity
entitiesWithDateCreated - Field in AutoTimestampEventListener
entitiesWithLastUpdated - Field in AutoTimestampEventListener
ENTITY_CLASS_RESOURCE_PATTERN - Field in AbstractDatastoreInitializer
eq(String, Object) - Method in CriteriaBuilder
Creates an "equals" Criterion based on the specified property name and value.
eq(String, Object) - Method in DetachedCriteria
@see Criteria
eqAll(String, QueryableCriteria) - Method in CriteriaBuilder
Creates a subquery criterion that ensures the given property is equal to all the given returned values
eqAll(String, QueryableCriteria) - Method in DetachedCriteria
eqProperty(String, String) - Method in CriteriaBuilder
Constraints a property to be equal to a specified other property
eqProperty(String, String) - Method in DetachedCriteria
@see Criteria
EQUALS_OPERATOR - Field in DetachedCriteriaTransformer
equals(Object) - Method in PagedResultList
evaluate(Closure) - Method in NamedQueriesBuilder
EVENT_BEFORE_INSERT - Field in DomainEventListener
EventTriggerCaller - Class in org.grails.datastore.gorm.support
execute(VoidSessionCallback) - Method in AbstractDatastoreApi
execute(VoidSessionCallback) - Method in AbstractFinder
executeQuery(String, Collection, Map) - Method in GormEntity
Executes a query for the given String
executeQuery(String, Collection, Map) - Method in GormStaticApi
executeUpdate(String, Collection, Map) - Method in GormEntity
executeUpdate(String, Collection, Map) - Method in GormStaticApi
exists(QueryableCriteria<?>) - Method in CriteriaBuilder
exists(QueryableCriteria<?>) - Method in DetachedCriteria
@see Criteria#exists(org.grails.datastore.mapping.query.api.QueryableCriteria)
exists(Serializable) - Method in GormEntity
Checks whether an entity exists
exists(Serializable) - Method in GormStaticApi
Checks whether an entity exists

F

fetchStrategies - Field in DetachedCriteria
find(Closure) - Method in DetachedCriteria
Synonym for #get
find(String, Collection, Map) - Method in GormEntity
find() - Method in GormOperations
Synonym for #get
find(String, Collection, Map) - Method in GormStaticApi
findAll(String, Collection, Map) - Method in GormEntity
findAll(String, Collection, Map) - Method in GormStaticApi
FindAllByBooleanFinder - Class in org.grails.datastore.gorm.finders
The "findAll<booleanProperty>By*" static persistent method.
FindAllByBooleanFinder(Datastore) - Constructor in FindAllByBooleanFinder
FindAllByFinder - Class in org.grails.datastore.gorm.finders
Finder used to return multiple results.
FindAllByFinder(Datastore) - Constructor in FindAllByFinder
findAllWhere(Map, Map) - Method in GormEntity
Finds all results matching all of the given conditions.
findAllWhere(Map, Map) - Method in GormStaticApi
Finds all results matching all of the given conditions.
findAllWhere(Map, Boolean) - Method in NamedCriteriaProxy
FindByBooleanFinder - Class in org.grails.datastore.gorm.finders
FindByBooleanFinder(Datastore) - Constructor in FindByBooleanFinder
FindByFinder - Class in org.grails.datastore.gorm.finders
Finder used to return a single result
FindByFinder(Datastore) - Constructor in FindByFinder
FinderMethod - Interface in org.grails.datastore.gorm.finders
Implementation of dynamic finders.
findMethodExpression(Class, String) - Method in DynamicFinder
FindOrCreateByFinder - Class in org.grails.datastore.gorm.finders
Finder used to return a single result
FindOrCreateByFinder(Datastore) - Constructor in FindOrCreateByFinder
findOrCreateWhere(Map) - Method in GormEntity
Finds a single result matching all of the given conditions.
findOrCreateWhere(Map) - Method in GormStaticApi
Finds a single result matching all of the given conditions.
FindOrSaveByFinder - Class in org.grails.datastore.gorm.finders
FindOrSaveByFinder(Datastore) - Constructor in FindOrSaveByFinder
findOrSaveWhere(Map) - Method in GormEntity
Finds a single result matching all of the given conditions.
findOrSaveWhere(Map) - Method in GormStaticApi
Finds a single result matching all of the given conditions.
findPersistenceInterceptorBeanNames(BeanDefinitionRegistry) - Method in PersistenceContextInterceptorAggregator
findWhere(Map, Map) - Method in GormEntity
Finds a single result matching all of the given conditions.
findWhere(Map, Map) - Method in GormStaticApi
Finds a single result matching all of the given conditions.
findWhere(def) - Method in NamedCriteriaProxy
first(Map) - Method in GormEntity
Finds the first object.
first(Map) - Method in GormStaticApi
Finds the first object.
firstExpressionIsRequiredBoolean() - Method in AbstractFindByFinder
firstExpressionIsRequiredBoolean() - Method in FindAllByBooleanFinder
firstExpressionIsRequiredBoolean() - Method in FindAllByFinder
firstExpressionIsRequiredBoolean() - Method in FindByBooleanFinder
flush() - Method in AggregatePersistenceContextInterceptor
flush() - Method in DatastorePersistenceContextInterceptor
FUNCTION_CALL_CRITERION - Field in DetachedCriteriaTransformer

G

ge(String, Object) - Method in CriteriaBuilder
Used to restrict a value to be greater than or equal to the given value
ge(String, Object) - Method in DetachedCriteria
@see Criteria
geAll(String, QueryableCriteria) - Method in CriteriaBuilder
Creates a subquery criterion that ensures the given property is greater than all the given returned values
geAll(String, QueryableCriteria) - Method in DetachedCriteria
geProperty(String, String) - Method in CriteriaBuilder
Constraints a property to be greater than or equal to a specified other property
geProperty(String, String) - Method in DetachedCriteria
@see Criteria
geSome(String, Closure<?>) - Method in CriteriaBuilder
geSome(String, Closure<?>) - Method in DetachedCriteria
get(Closure) - Method in CriteriaBuilder
Defines an executes a get query ( a single result) in a single call.
get(Closure) - Method in DetachedCriteria
Returns a single result matching the criterion contained within this DetachedCriteria instance
get(Serializable) - Method in GormEntity
Retrieves and object from the datastore. eg.
get() - Method in GormOperations
Returns a single result matching the criterion contained within this DetachedCriteria instance
get(Serializable) - Method in GormStaticApi
Retrieves and object from the datastore. eg.
get() - Method in NamedCriteriaProxy
get(int) - Method in PagedResultList
getAdditionalBeansConfiguration(BeanDefinitionRegistry, String) - Method in AbstractDatastoreInitializer
Internal method aiding in datastore configuration.
getAlias() - Method in DetachedCriteria
@return The root alias to be used for the query
getAll() - Method in GormEntity
@return Synonym for list()
getAll() - Method in GormStaticApi
@return Synonym for list()
getArguments() - Method in DynamicFinderInvocation
getArguments() - Method in MethodExpression
getArgumentsRequired() - Method in MethodExpression
getArtefactTypes() - Method in DirtyCheckingTransformer
getArtefactTypes() - Method in GormEntityTraitInjector
getArtefactTypes() - Method in GormTransformer
getArtefactTypes() - Method in GormValidateableTraitInjector
getAssociations() - Method in GrailsDomainClassPersistentEntity
getAsync() - Method in DetachedCriteria
@return The async version of the DetachedCriteria API
getAsync() - Method in GormEntity
@return The async version of the GORM static API
getAsync() - Method in GormStaticApi
@return The async version of the GORM static API
getAt(String) - Method in InstanceProxy
getAttribute(Object, String) - Method in ProxyInstanceMetaClass
getBeanDefinitions(BeanDefinitionRegistry) - Method in AbstractDatastoreInitializer
getCapitilizedName() - Method in GrailsDomainClassPersistentProperty
getClassesToAugment() - Method in NamedQueriesBuilder
getCommonConfiguration(BeanDefinitionRegistry) - Method in AbstractDatastoreInitializer
getCount() - Method in GormEntity
Same as count() but allows property-style syntax (Foo.count)
getCount() - Method in GormStaticApi
Same as count() but allows property-style syntax (Foo.count)
getCriteria() - Method in DetachedCriteria
getCriteria() - Method in DynamicFinderInvocation
getDecapitalizedName() - Method in GrailsDomainClassPersistentEntity
getDecorators() - Method in AsyncQuery
getDecorators() - Method in GormAsyncStaticApi
getDetachedCriteria() - Method in DynamicFinderInvocation
getDirtyPropertyNames() - Method in GormEntity
Obtains a list of property names that are dirty
getDirtyPropertyNames(D) - Method in GormInstanceApi
Obtains a list of property names that are dirty
getDiscriminator() - Method in GrailsDomainClassPersistentEntity
getDomainClass() - Method in GrailsDomainClassPersistentEntity
@return The wrapped GrailsDomainClass instance
getErrors() - Method in GormValidateable
Obtains the errors for an instance
getErrors(D) - Method in GormValidationApi
Obtains the errors for an instance
getExpressions() - Method in DynamicFinderInvocation
getExtendedMethods() - Method in AbstractGormApi
getFetchMode(Object) - Method in DynamicFinder
Retrieves the fetch mode for the specified instance; otherwise returns the default FetchMode.
getFetchStrategies() - Method in DetachedCriteria
getFinders() - Method in GormEnhancer
getGetterAndSetterForPropertyName(LinkedHashMap<String, GetterAndSetter>, String) - Method in DirtyCheckingTransformer
getGormDynamicFinders() - Method in GormEntity
getGormDynamicFinders() - Method in GormStaticApi
getGormPersistentEntity() - Method in GormEntity
@return The PersistentEntity for this class
getGormPersistentEntity() - Method in GormStaticApi
@return The PersistentEntity for this class
getGrailsApplication() - Method in GrailsDomainClassMappingContext
getIdDynamic(def) - Method in GroovyProxyFactory
getIdentifier(Object) - Method in GroovyProxyFactory
getIdentity() - Method in GrailsDomainClassPersistentEntity
getInstanceApi(Class<D>) - Method in GormEnhancer
getInstanceMethodApiProviders(Class) - Method in GormEnhancer
getJavaClass() - Method in DynamicFinderInvocation
getJavaClass() - Method in GrailsDomainClassPersistentEntity
getKey() - Method in ProxyInstanceMetaClass
getKnownEntityNames() - Method in GormTransformer
getMapping() - Method in GrailsDomainClassPersistentEntity
getMapping() - Method in GrailsDomainClassPersistentProperty
getMappingContext() - Method in GrailsDomainClassPersistentEntity
getMappingFactory() - Method in GrailsDomainClassMappingContext
getMappingSyntaxStrategy() - Method in GrailsDomainClassMappingContext
getMaximumNumberOfParameters() - Method in MethodInvokingClosure
getMethodName() - Method in DynamicFinderInvocation
getMethods() - Method in AbstractGormApi
getName() - Method in GrailsDomainClassPersistentEntity
getName() - Method in GrailsDomainClassPersistentProperty
getName() - Method in UniqueConstraint
getObject() - Method in AbstractMappingContextFactoryBean
getObjectType() - Method in AbstractMappingContextFactoryBean
getOperator() - Method in DynamicFinderInvocation
getOrders() - Method in DetachedCriteria
getOwner() - Method in GrailsDomainClassPersistentProperty
getParameterizedDetachedCriteriaClassNode(ClassNode) - Method in DetachedCriteriaTransformer
getParameterTypes() - Method in MethodInvokingClosure
getParentEntity() - Method in GrailsDomainClassPersistentEntity
getPersistentClass() - Method in DetachedCriteria
getPersistentClass() - Method in GormOperations
@return The class these operations apply to
getPersistentEntity() - Method in DetachedCriteria
getPersistentProperties() - Method in GrailsDomainClassPersistentEntity
getPersistentPropertyNames() - Method in GrailsDomainClassPersistentEntity
getPersistentValue(String) - Method in GormEntity
Gets the original persisted value of a field.
getPersistentValue(D, String) - Method in GormInstanceApi
Gets the original persisted value of a field.
getProjections() - Method in DetachedCriteria
getProperty(String) - Method in InstanceProxy
getProperty(Object, String) - Method in ProxyInstanceMetaClass
getPropertyByName(String) - Method in GrailsDomainClassPersistentEntity
getProxyInstanceMetaClass(def) - Method in GroovyProxyFactory
getProxyTarget() - Method in ProxyInstanceMetaClass
Load the target from the DB.
getQuery() - Method in CriteriaBuilder
getRootEntity() - Method in GrailsDomainClassPersistentEntity
getSession() - Method in DatastorePersistenceContextInterceptor
getSourceUnit() - Method in DetachedCriteriaTransformer
getStaticApi(Class<D>) - Method in GormEnhancer
getTimestampProvider() - Method in AutoTimestampEventListener
getTimestampProviders() - Method in AggregateTimestampProvider
getTotalCount() - Method in PagedResultList
@return The total number of records for this query
getTrait() - Method in GormEntityTraitInjector
getTrait() - Method in GormValidateableTraitInjector
getType() - Method in GrailsDomainClassPersistentProperty
getValidationApi(Class<D>) - Method in GormEnhancer
getValidationErrorsMap() - Method in GormEntity
Get the thread-local map used to store Errors when validating.
getValidationErrorsMap() - Method in GormStaticApi
Get the thread-local map used to store Errors when validating.
getValidationSkipMap() - Method in GormEntity
Get the thread-local map used to store whether to skip validation.
getValidationSkipMap() - Method in GormStaticApi
Get the thread-local map used to store whether to skip validation.
getValidator() - Method in GormValidationApi
getVersion() - Method in GrailsDomainClassPersistentEntity
GlobalDetachedCriteriaASTTransformation - Class in org.grails.datastore.gorm.query.transform
Global version of the detached query transformer
GormAsyncStaticApi - Class in org.grails.datastore.gorm.async
Transforms the GormStaticApi into an asynchronous API
GormAsyncStaticApi(GormStaticApi<D>) - Constructor in GormAsyncStaticApi
gormDynamicFinders - Field in GormStaticApi
GormEnhancer - Class in org.grails.datastore.gorm
Enhances a class with GORM behavior
GormEnhancer(Datastore, PlatformTransactionManager) - Constructor in GormEnhancer
GormEntity - Trait in org.grails.datastore.gorm
A trait that turns any class into a GORM entity
GormEntityTraitInjector - Class in org.grails.datastore.gorm
@author Jeff Brown
GormInstanceApi - Class in org.grails.datastore.gorm
Instance methods of the GORM API.
GormInstanceApi(Class<D>, Datastore) - Constructor in GormInstanceApi
GormOperations - Interface in org.grails.datastore.gorm.query
Interface defining all typical GORM operations on class
GormStaticApi - Class in org.grails.datastore.gorm
Static methods of the GORM API.
GormStaticApi(Class<D>, Datastore, List<FinderMethod>, PlatformTransactionManager) - Constructor in GormStaticApi
GormTransformer - Class in org.grails.compiler.gorm
Transforms GORM entities making the GORM API available to Java.
GormValidateable - Trait in org.grails.datastore.gorm
A trait that adds GORM validation behavior to any class
GormValidateableTraitInjector - Class in org.grails.datastore.gorm
@author Jeff Brown
GormValidationApi - Class in org.grails.datastore.gorm
Methods used for validating GORM instances.
GormValidationApi(Class<D>, Datastore) - Constructor in GormValidationApi
GrailsDomainClassMappingContext - Class in org.grails.datastore.gorm.config
A MappingContext that adapts the Grails domain model to the Mapping API.
GrailsDomainClassMappingContext(GrailsApplication) - Constructor in GrailsDomainClassMappingContext
GrailsDomainClassPersistentEntity - Class in org.grails.datastore.gorm.config
Bridges the grails.core.GrailsDomainClass interface into the org.grails.datastore.mapping.model.PersistentEntity interface
GrailsDomainClassPersistentEntity(GrailsDomainClass, GrailsDomainClassMappingContext) - Constructor in GrailsDomainClassPersistentEntity
GrailsDomainClassPersistentProperty - Class in org.grails.datastore.gorm.config
Bridges a grails.core.GrailsDomainClassProperty to the org.grails.datastore.mapping.model.PersistentProperty interface.
GrailsDomainClassPersistentProperty(PersistentEntity, GrailsDomainClassProperty) - Constructor in GrailsDomainClassPersistentProperty
GroovyProxyFactory - Class in org.grails.datastore.gorm.proxy
Implements the proxy interface and creates a Groovy proxy by passing the need for javassist style proxies and all the problems they bring.
gt(String, Object) - Method in CriteriaBuilder
Used to restrict a value to be greater than or equal to the given value
gt(String, Object) - Method in DetachedCriteria
@see Criteria
gtAll(String, QueryableCriteria) - Method in CriteriaBuilder
Creates a subquery criterion that ensures the given property is greater than all the given returned values
gtAll(String, QueryableCriteria) - Method in DetachedCriteria
gte(String, Object) - Method in CriteriaBuilder
Used to restrict a value to be greater than or equal to the given value
gte(String, Object) - Method in DetachedCriteria
@see Criteria
gtProperty(String, String) - Method in CriteriaBuilder
Constraints a property to be greater than a specified other property
gtProperty(String, String) - Method in DetachedCriteria
@see Criteria
gtSome(String, Closure<?>) - Method in CriteriaBuilder
gtSome(String, Closure<?>) - Method in DetachedCriteria

H

handleJunction(Closure) - Method in DetachedCriteria
handleMethodMissing(String, def) - Method in NamedQueriesBuilder
hasBoth() - Method in DirtyCheckingTransformer.GetterAndSetter
hasDateCreated(PersistentEntity) - Method in AutoTimestampEventListener
hasErrors() - Method in GormValidateable
Tests whether an instance has any errors
hasErrors(D) - Method in GormValidationApi
Tests whether an instance has any errors
hashCode() - Method in PagedResultList
hasLastupdated(PersistentEntity) - Method in AutoTimestampEventListener
hasNeither() - Method in DirtyCheckingTransformer.GetterAndSetter
hasProperty(String, Class) - Method in GrailsDomainClassPersistentEntity

I

id() - Method in CriteriaBuilder
id() - Method in DetachedCriteria
Adds an id projection
id() - Method in DetachedCriteria.DetachedProjections
ident() - Method in GormEntity
Returns the objects identifier
ident(D) - Method in GormInstanceApi
Returns the objects identifier
idEq(Object) - Method in CriteriaBuilder
Creates an "equals" Criterion based on the specified property name and value.
idEq(Object) - Method in DetachedCriteria
@see Criteria
idEquals(Object) - Method in CriteriaBuilder
idEquals(Object) - Method in DetachedCriteria
@see Criteria
ilike(String, Object) - Method in CriteriaBuilder
Creates an ilike Criterion based on the specified property name and value.
ilike(String, Object) - Method in DetachedCriteria
@see Criteria
in(String, Object) - Method in CriteriaBuilder
Creates an "in" Criterion based on the specified property name and list of values.
in(String, Object) - Method in DetachedCriteria
@see Criteria
init() - Method in AggregatePersistenceContextInterceptor
init() - Method in DatastorePersistenceContextInterceptor
initialiseIfNecessary(Class<T>) - Method in DetachedCriteria
initialize() - Method in GrailsDomainClassPersistentEntity
initialize() - Method in PagedResultList
initializeMethods(def) - Method in AbstractGormApi
initInternalApi(GormInstanceApi) - Method in GormEntity
Used to initialise the state of GORM.
initInternalStaticApi(GormStaticApi<D>) - Method in GormEntity
Used to initialise the state of GORM.
initInternalValidationApi(GormValidationApi) - Method in GormValidateable
Used to initialise the state of GORM.
inList(String, Object) - Method in CriteriaBuilder
Creates an "in" Criterion based on the specified property name and list of values.
inList(String, Object) - Method in DetachedCriteria
@see Criteria
insert(Map) - Method in GormEntity
Forces an insert of an object to the datastore
insert(D, Map) - Method in GormInstanceApi
Forces an insert of an object to the datastore
InstanceMethodInvokingClosure - Class in org.grails.datastore.gorm.internal
Not public API.
InstanceMethodInvokingClosure(def, Class<?>, String, Class) - Constructor in InstanceMethodInvokingClosure
instanceOf(Class) - Method in GormEntity
Proxy aware instanceOf implementation.
instanceOf(D, Class) - Method in GormInstanceApi
Proxy aware instanceOf implementation.
InstanceProxy - Class in org.grails.datastore.gorm.utils
A proxy onto another instance
invoke(Class, String, Object) - Method in DynamicFinder
invoke(Class, String, Closure, Object) - Method in FinderMethod
Invokes the method
invoke(Class, String, Closure, Object) - Method in ListOrderByFinder
invokeBeforeValidate(Object, List<?>) - Method in BeforeValidateHelper
invokeMethod(String, Object) - Method in CriteriaBuilder
invokeMethod(String, def) - Method in InstanceProxy
invokeMethod(Object, String, Object) - Method in ProxyInstanceMetaClass
Handle method calls on our proxy.
invokeQuery(Query) - Method in AbstractFindByFinder
invokeQuery(Query) - Method in CountByFinder
invokeQuery(Query) - Method in FindAllByFinder
invokeQuery(Query) - Method in ListOrderByFinder
IS_NULL_CRITERION - Field in DetachedCriteriaTransformer
isAttached() - Method in GormEntity
No concept of session-based model so defaults to true
isAttached(D) - Method in GormInstanceApi
No concept of session-based model so defaults to true
isAvailable() - Method in AbstractDatastoreInitializer.GrailsBeanBuilderInit
isAvailable() - Method in AbstractDatastoreInitializer.GroovyBeanReaderInit
isDirty() - Method in GormEntity
Checks whether an entity is dirty
isDirty(D) - Method in GormInstanceApi
Checks whether an entity is dirty
isDomainClass(ClassNode) - Method in DetachedCriteriaTransformer
isEmpty(String) - Method in CriteriaBuilder
isEmpty(String) - Method in DetachedCriteria
@see Criteria
isExternal() - Method in GrailsDomainClassPersistentEntity
isIdentityName(String) - Method in GrailsDomainClassPersistentEntity
isInitialized() - Method in GrailsDomainClassPersistentEntity
isInitialized(Object) - Method in GroovyProxyFactory
isInstance(Object) - Method in GrailsDomainClassPersistentEntity
isInvertBooleanReturnValue() - Method in EventTriggerCaller
isMethodMatch(String) - Method in DynamicFinder
isMethodMatch(String) - Method in FinderMethod
Whether the given method name matches this finder
isMethodMatch(String) - Method in ListOrderByFinder
isMethodOverriddenFromParent(Method) - Method in ReflectionUtils
Tests whether a method is overridden from the parent
isNoOperationCaller() - Method in EventTriggerCaller
isNotEmpty(String) - Method in CriteriaBuilder
isNotEmpty(String) - Method in DetachedCriteria
@see Criteria
isNotNull(String) - Method in CriteriaBuilder
isNotNull(String) - Method in DetachedCriteria
@see Criteria
isNull(String) - Method in CriteriaBuilder
isNull(String) - Method in DetachedCriteria
@see Criteria
isNullable() - Method in GrailsDomainClassPersistentProperty
isOpen() - Method in AggregatePersistenceContextInterceptor
isOpen() - Method in DatastorePersistenceContextInterceptor
isOwningEntity(PersistentEntity) - Method in GrailsDomainClassPersistentEntity
isProxy(Object) - Method in GroovyProxyFactory
Check our object has the correct meta class to be a proxy of this type.
isProxyInitiated() - Method in ProxyInstanceMetaClass
isRealMethod(MetaMethod) - Method in GormEnhancer
isRoot() - Method in GrailsDomainClassPersistentEntity
isSingleton() - Method in AbstractMappingContextFactoryBean
isValid() - Method in UniqueConstraint
Return whether the constraint is valid for the owning class
isVersioned() - Method in GrailsDomainClassPersistentEntity
iterator() - Method in DetachedCriteria

J

join(String) - Method in CriteriaBuilder
join(String) - Method in DetachedCriteria
Specifies whether a join query should be used (if join queries are supported by the underlying datastore)
junctions - Field in DetachedCriteria

K

L

last(Map) - Method in GormEntity
Finds the last object.
last(Map) - Method in GormStaticApi
Finds the last object.
LAST_UPDATED_PROPERTY - Field in AutoTimestampEventListener
lazyQuery - Field in DetachedCriteria
le(String, Object) - Method in CriteriaBuilder
Used to restrict a value to be less than or equal to the given value
le(String, Object) - Method in DetachedCriteria
@see Criteria
leAll(String, QueryableCriteria) - Method in CriteriaBuilder
Creates a subquery criterion that ensures the given property is less than all the given returned values
leAll(String, QueryableCriteria) - Method in DetachedCriteria
leProperty(String, String) - Method in CriteriaBuilder
Constraints a property to be less than or equal to a specified other property
leProperty(String, String) - Method in DetachedCriteria
@see Criteria
leSome(String, Closure<?>) - Method in CriteriaBuilder
leSome(String, Closure<?>) - Method in DetachedCriteria
like(String, Object) - Method in CriteriaBuilder
Creates an like Criterion based on the specified property name and value.
like(String, Object) - Method in DetachedCriteria
@see Criteria
list(Map, Closure) - Method in CriteriaBuilder
list(Closure) - Method in DetachedCriteria
Lists all records matching the criterion contained within this DetachedCriteria instance
list() - Method in GormEntity
List all entities
list(Map, Closure) - Method in GormOperations
Lists all records matching the criterion contained within this DetachedCriteria instance
list() - Method in GormStaticApi
List all entities
list(Object, Closure) - Method in NamedCriteriaProxy
listDistinct(Closure) - Method in CriteriaBuilder
Defines an executes a list distinct query in a single call.
listDistinct(Object, Closure) - Method in NamedCriteriaProxy
ListOrderByFinder - Class in org.grails.datastore.gorm.finders
The "listOrderBy*" static persistent method.
ListOrderByFinder(Datastore) - Constructor in ListOrderByFinder
load(Serializable) - Method in GormEntity
Retrieves and object from the datastore as a proxy. eg.
load(Serializable) - Method in GormStaticApi
Retrieves and object from the datastore as a proxy. eg.
lock(Serializable) - Method in GormEntity
Locks an instance for an update
lock(D) - Method in GormInstanceApi
Upgrades an existing persistence instance to a write lock
lock(Serializable) - Method in GormStaticApi
Locks an instance for an update
lt(String, Object) - Method in CriteriaBuilder
Used to restrict a value to be less than or equal to the given value
lt(String, Object) - Method in DetachedCriteria
@see Criteria
ltAll(String, QueryableCriteria) - Method in CriteriaBuilder
Creates a subquery criterion that ensures the given property is less than all the given returned values
ltAll(String, QueryableCriteria) - Method in DetachedCriteria
lte(String, Object) - Method in CriteriaBuilder
Used to restrict a value to be less than or equal to the given value
lte(String, Object) - Method in DetachedCriteria
@see Criteria
ltProperty(String, String) - Method in CriteriaBuilder
Constraints a property to be less than a specified other property
ltProperty(String, String) - Method in DetachedCriteria
@see Criteria
ltSome(String, Closure<?>) - Method in CriteriaBuilder
ltSome(String, Closure<?>) - Method in DetachedCriteria

M

max(String) - Method in CriteriaBuilder
Computes the max value of a property
max(String) - Method in DetachedCriteria
Adds a min projection
max(String) - Method in DetachedCriteria.DetachedProjections
merge(D) - Method in GormEntity
Merges an instance with the current session
merge(D, Map) - Method in GormInstanceApi
Saves an object the datastore
merge(D) - Method in GormStaticApi
Merges an instance with the current session
metaMethod - Field in MethodInvokingClosure
METHOD_NAME_GET_DIRTY_PROPERTY_NAMES - Field in DirtyCheckingTransformer
METHOD_NAME_GET_PERSISTENT_VALUE - Field in DirtyCheckingTransformer
METHOD_NAME_IS_DIRTY - Field in DirtyCheckingTransformer
METHOD_NAME_MARK_DIRTY - Field in DirtyCheckingTransformer
METHOD_NAME_RESET_DIRTY - Field in DirtyCheckingTransformer
METHOD_NAME_TRACK_CHANGES - Field in DirtyCheckingTransformer
MethodExpression - Class in org.grails.datastore.gorm.finders
Method expression used to evaluate a dynamic finder.
MethodExpression.Between - Class in org.grails.datastore.gorm.finders
MethodExpression.Between(Class<?>, String) - Constructor in MethodExpression.Between
MethodExpression.Equal - Class in org.grails.datastore.gorm.finders
MethodExpression.Equal(Class<?>, String) - Constructor in MethodExpression.Equal
MethodExpression.GreaterThan - Class in org.grails.datastore.gorm.finders
MethodExpression.GreaterThan(Class<?>, String) - Constructor in MethodExpression.GreaterThan
MethodExpression.GreaterThanEquals - Class in org.grails.datastore.gorm.finders
MethodExpression.GreaterThanEquals(Class<?>, String) - Constructor in MethodExpression.GreaterThanEquals
MethodExpression.Ilike - Class in org.grails.datastore.gorm.finders
MethodExpression.Ilike(Class<?>, String) - Constructor in MethodExpression.Ilike
MethodExpression.InList - Class in org.grails.datastore.gorm.finders
MethodExpression.InList(Class<?>, String) - Constructor in MethodExpression.InList
MethodExpression.InRange - Class in org.grails.datastore.gorm.finders
MethodExpression.InRange(Class<?>, String) - Constructor in MethodExpression.InRange
MethodExpression.IsEmpty - Class in org.grails.datastore.gorm.finders
MethodExpression.IsEmpty(Class<?>, String) - Constructor in MethodExpression.IsEmpty
MethodExpression.IsNotEmpty - Class in org.grails.datastore.gorm.finders
MethodExpression.IsNotEmpty(Class<?>, String) - Constructor in MethodExpression.IsNotEmpty
MethodExpression.IsNotNull - Class in org.grails.datastore.gorm.finders
MethodExpression.IsNotNull(Class<?>, String) - Constructor in MethodExpression.IsNotNull
MethodExpression.IsNull - Class in org.grails.datastore.gorm.finders
MethodExpression.IsNull(Class<?>, String) - Constructor in MethodExpression.IsNull
MethodExpression.LessThan - Class in org.grails.datastore.gorm.finders
MethodExpression.LessThan(Class<?>, String) - Constructor in MethodExpression.LessThan
MethodExpression.LessThanEquals - Class in org.grails.datastore.gorm.finders
MethodExpression.LessThanEquals(Class<?>, String) - Constructor in MethodExpression.LessThanEquals
MethodExpression.Like - Class in org.grails.datastore.gorm.finders
MethodExpression.Like(Class<?>, String) - Constructor in MethodExpression.Like
MethodExpression.NotEqual - Class in org.grails.datastore.gorm.finders
MethodExpression.NotEqual(Class<?>, String) - Constructor in MethodExpression.NotEqual
MethodExpression.Rlike - Class in org.grails.datastore.gorm.finders
MethodExpression.Rlike(Class<?>, String) - Constructor in MethodExpression.Rlike
MethodExpression(Class<?>, String) - Constructor in MethodExpression
MethodInvokingClosure - Class in org.grails.datastore.gorm.internal
Not public API.
MethodInvokingClosure(def, String, Class) - Constructor in MethodInvokingClosure
methodMissing(String, def) - Method in DetachedCriteria
Method missing handler that deals with the invocation of dynamic finders
methodMissing(String, def) - Method in GormOperations
Method missing handler for dynamic finders
methodMissing(String, Object) - Method in GormStaticApi
Method missing handler that deals with the invocation of dynamic finders
methodMissing(String, def) - Method in NamedCriteriaProxy
methodMissing(String, def) - Method in NamedQueriesBuilder
methodName - Field in MethodInvokingClosure
min(String) - Method in CriteriaBuilder
Computes the min value of a property
min(String) - Method in DetachedCriteria
Adds a sum projection
min(String) - Method in DetachedCriteria.DetachedProjections
moveInterceptorBeansToManagedList(BeanDefinitionRegistry, Collection<String>) - Method in PersistenceContextInterceptorAggregator
mutex(Closure) - Method in GormEntity
Locks the instance for updates for the scope of the passed closure
mutex(D, Closure) - Method in GormInstanceApi
Locks the instance for updates for the scope of the passed closure

N

NamedCriteriaProxy - Class in org.grails.datastore.gorm.query
NamedQueriesBuilder - Class in org.grails.datastore.gorm.query
Handles creation of named queries
NamedQueriesBuilder(PersistentEntity, List<FinderMethod>) - Constructor in NamedQueriesBuilder
ne(String, Object) - Method in CriteriaBuilder
Creates a "not equals" Criterion based on the specified property name and value.
ne(String, Object) - Method in DetachedCriteria
@see Criteria
neProperty(String, String) - Method in CriteriaBuilder
Constraints a property to be not equal to a specified other property
neProperty(String, String) - Method in DetachedCriteria
@see Criteria#neProperty(java.lang.String, java.lang.String)
NEW_INSTANCE_METHOD - Field in GormTransformer
newInstance() - Method in GrailsDomainClassPersistentEntity
newInstance() - Method in UniqueConstraintFactory
not(Closure) - Method in CriteriaBuilder
not(Closure) - Method in DetachedCriteria
Handles a disjunction
notExists(QueryableCriteria<?>) - Method in CriteriaBuilder
notExists(QueryableCriteria<?>) - Method in DetachedCriteria
@see Criteria#notExists(org.grails.datastore.mapping.query.api.QueryableCriteria)
notIn(String, Closure<?>) - Method in CriteriaBuilder
notIn(String, Closure<?>) - Method in DetachedCriteria

O

offset(int) - Method in DetachedCriteria
Sets the default offset to use and returns a new criteria instance.
onPersistenceEvent(AbstractPersistenceEvent) - Method in AutoTimestampEventListener
onPersistenceEvent(AbstractPersistenceEvent) - Method in DomainEventListener
OPERATOR_AND - Field in AbstractFindByFinder
OPERATOR_OR - Field in AbstractFindByFinder
OPERATORS - Field in AbstractFindByFinder
or(Closure) - Method in CriteriaBuilder
or(Closure) - Method in DetachedCriteria
Handles a disjunction
OR_OPERATOR - Field in DetachedCriteriaTransformer
ORDER_ASC - Field in DynamicFinder
ORDER_ASCENDING - Field in CriteriaBuilder
order(String, String) - Method in CriteriaBuilder
Orders by the specified property name and direction
ORDER_DESC - Field in DynamicFinder
ORDER_DESCENDING - Field in CriteriaBuilder
order(String, String) - Method in DetachedCriteria
@see Criteria
orderEntries - Field in CriteriaBuilder
orders - Field in DetachedCriteria
OSIV_CLASS_NAME - Field in AbstractDatastoreInitializer

P

PagedResultList - Class in grails.gorm
A result list implementation that provides an additional property called 'totalCount' to obtain the total number of records.
PagedResultList(Query) - Constructor in PagedResultList
parameterTypes - Field in MethodInvokingClosure
participate - Field in DatastorePersistenceContextInterceptor
pattern - Field in DynamicFinder
performInjection(SourceUnit, ClassNode) - Method in DirtyCheckingTransformer
performInjection(SourceUnit, ClassNode) - Method in GormTransformer
performInjectionOnAnnotatedClass(SourceUnit, ClassNode) - Method in DirtyCheckingTransformer
performInjectionOnAnnotatedClass(SourceUnit, ClassNode) - Method in GormTransformer
performInjectionOnAnnotatedEntity(ClassNode) - Method in DirtyCheckingTransformer
PersistenceContextInterceptorAggregator - Class in org.grails.datastore.gorm.plugin.support
BeanDefinitionRegistryPostProcessor that replaces multiple discovered PersistenceContextInterceptor beans with a single aggregating instance.
persistentClass - Field in AbstractGormApi
persistentEntity - Field in AbstractGormApi
persistentEntity - Field in CriteriaBuilder
persistentEntity - Field in DetachedCriteria
persistentEntityAdded(PersistentEntity) - Method in AutoTimestampEventListener
persistentEntityAdded(PersistentEntity) - Method in DomainEventListener
{@inheritDoc}
pickMetaMethod(MetaClass, String, Class, boolean) - Method in MethodInvokingClosure
Utility method for choosing matching metamethod, handles MethodSelectionException
populateArgumentsForCriteria(Class<?>, Query, Map) - Method in DynamicFinder
postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in PersistenceContextInterceptorAggregator
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in PersistenceContextInterceptorAggregator
processValidate(Object, Object, Errors) - Method in UniqueConstraint
projectionList - Field in CriteriaBuilder
projections(Closure) - Method in CriteriaBuilder
Defines projections
projections - Field in DetachedCriteria
property(String) - Method in CriteriaBuilder
A projection that obtains the value of a property of an entity
property(String) - Method in DetachedCriteria
Adds a property projection
property(String) - Method in DetachedCriteria.DetachedProjections
propertyMissing(String) - Method in DetachedCriteria
propertyMissing(String, def) - Method in NamedCriteriaProxy
propertyName - Field in MethodExpression
proxy(Serializable) - Method in GormEntity
Retrieves and object from the datastore as a proxy. eg.
proxy(Serializable) - Method in GormStaticApi
Retrieves and object from the datastore as a proxy. eg.
ProxyInstanceMetaClass - Class in org.grails.datastore.gorm.proxy
Per-instance metaclass to use for proxied GORM domain objects.
ProxyInstanceMetaClass(MetaClass, Session, Serializable) - Constructor in ProxyInstanceMetaClass
PUBLIC_STATIC_MODIFIER - Field in GormTransformer
putAt(String, def) - Method in InstanceProxy

Q

query - Field in CriteriaBuilder
QueryBuildingFinder - Interface in org.grails.datastore.gorm.finders
Implemented by finders that build queries.
queryMetaClass - Field in CriteriaBuilder

R

read(Serializable) - Method in GormEntity
Retrieves and object from the datastore. eg.
read(Serializable) - Method in GormStaticApi
Retrieves and object from the datastore. eg.
readOnly(boolean) - Method in CriteriaBuilder
readOnly(boolean) - Method in DetachedCriteria
readOnly(boolean) - Method in TestCriteriaBuilder
reconnect() - Method in AggregatePersistenceContextInterceptor
reconnect() - Method in DatastorePersistenceContextInterceptor
ReflectionUtils - Class in org.grails.datastore.gorm.utils
Utility methods for working with reflection.
refresh() - Method in GormEntity
Refreshes the state of the current instance
refresh(D) - Method in GormInstanceApi
Refreshes the state of the current instance
registerAssociationIdentifierGetter(ProxyFactory, MetaClass, ToOne) - Method in GormEnhancer
registerBeans(BeanDefinitionRegistry, Closure) - Method in AbstractDatastoreInitializer.GrailsBeanBuilderInit
registerBeans(BeanDefinitionRegistry, Closure) - Method in AbstractDatastoreInitializer.GroovyBeanReaderInit
registerConstraints(Datastore) - Method in GormEnhancer
registerCustomTypeMarshallers(MappingContext) - Method in AbstractMappingContextFactoryBean
registerInstanceMethod(Class, ExpandoMetaClass, AbstractGormApi, String, Class) - Method in GormEnhancer
registerNamedQueries(PersistentEntity, Closure) - Method in GormEnhancer
registerNewMethodExpression(Class) - Method in DynamicFinder
Registers a new method expression.
registerStaticMethod(ExpandoMetaClass, String, Class<?>, GormStaticApi) - Method in GormEnhancer
remove(int) - Method in PagedResultList
resetErrors(D) - Method in GormValidationApi
resolveTargetMetaClass(T, Class<T>) - Method in GroovyProxyFactory
resultList - Field in PagedResultList
rlike(String, Object) - Method in CriteriaBuilder
Creates an rlike Criterion based on the specified property name and value.
rlike(String, Object) - Method in DetachedCriteria
@see Criteria
rowCount() - Method in CriteriaBuilder
Count the number of records returned
rowCount() - Method in DetachedCriteria.DetachedProjections

S

save(Map) - Method in GormEntity
Saves an object with the given parameters
save(D, Map) - Method in GormInstanceApi
Saves an object with the given parameters
saveAll(Iterable<?>) - Method in GormEntity
Saves a list of objects in one go
saveAll(Iterable<?>) - Method in GormStaticApi
Saves a list of objects in one go
scanForPersistentClasses() - Method in AbstractDatastoreInitializer
scroll(Closure) - Method in CriteriaBuilder
select(String) - Method in DetachedCriteria
Specifies whether a select (lazy) query should be used (if join queries are supported by the underlying datastore)
session - Field in CriteriaBuilder
set(int, Object) - Method in PagedResultList
setAlias(String) - Method in DetachedCriteria
Sets the root alias to be used for the query
setArguments(Object) - Method in MethodExpression
setArguments(Object) - Method in MethodExpression.Between
setArguments(Object) - Method in MethodExpression.InList
setArguments(Object) - Method in MethodExpression.InRange
setAttribute(Object, String, Object) - Method in ProxyInstanceMetaClass
setDetachedCriteria(DetachedCriteria) - Method in DynamicFinderInvocation
setErrors(D, Errors) - Method in GormValidationApi
Sets the errors for an instance
setExternal(boolean) - Method in GrailsDomainClassPersistentEntity
setInvertBooleanReturnValue(boolean) - Method in EventTriggerCaller
setPattern(String) - Method in DynamicFinder
setPattern(String) - Method in FinderMethod
@param pattern A regular expression
setPattern(String) - Method in ListOrderByFinder
setProperty(String, def) - Method in InstanceProxy
setProperty(Object, String, Object) - Method in ProxyInstanceMetaClass
setReadOnly() - Method in AggregatePersistenceContextInterceptor
setReadOnly() - Method in DatastorePersistenceContextInterceptor
setReadWrite() - Method in AggregatePersistenceContextInterceptor
setReadWrite() - Method in DatastorePersistenceContextInterceptor
setResourceLoader(ResourceLoader) - Method in AbstractDatastoreInitializer
setTimestampProvider(TimestampProvider) - Method in AutoTimestampEventListener
setTimestampProviders(List<TimestampProvider>) - Method in AggregateTimestampProvider
setUniqueResult(boolean) - Method in CriteriaBuilder
setValidator(Validator) - Method in GormValidationApi
setVersion(EntityAccess) - Method in DomainEventListener
shouldInject(URL) - Method in DirtyCheckingTransformer
shouldInject(URL) - Method in GormTransformer
shouldSaveOnCreate() - Method in FindOrCreateByFinder
shouldSaveOnCreate() - Method in FindOrSaveByFinder
size() - Method in DetachedCriteria
Synonym for #count()
size() - Method in PagedResultList
sizeEq(String, int) - Method in CriteriaBuilder
sizeEq(String, int) - Method in DetachedCriteria
@see Criteria
sizeGe(String, int) - Method in CriteriaBuilder
sizeGe(String, int) - Method in DetachedCriteria
@see Criteria
sizeGt(String, int) - Method in CriteriaBuilder
sizeGt(String, int) - Method in DetachedCriteria
@see Criteria
sizeLe(String, int) - Method in CriteriaBuilder
sizeLe(String, int) - Method in DetachedCriteria
@see Criteria
sizeLt(String, int) - Method in CriteriaBuilder
sizeLt(String, int) - Method in DetachedCriteria
@see Criteria
sizeNe(String, int) - Method in CriteriaBuilder
sizeNe(String, int) - Method in DetachedCriteria
@see Criteria
sort(String, String) - Method in DetachedCriteria
Adds a sort order to this criteria instance
staticDetachedCriteriaVariables - Field in DetachedCriteriaTransformer
StaticMethodInvokingClosure - Class in org.grails.datastore.gorm.internal
Not public API.
StaticMethodInvokingClosure(def, String, Class) - Constructor in StaticMethodInvokingClosure
storeDateCreatedAndLastUpdatedInfo(PersistentEntity) - Method in AutoTimestampEventListener
storeTimestampAvailability(Map<PersistentEntity, Boolean>, PersistentEntity, PersistentProperty<?>) - Method in AutoTimestampEventListener
sum(String) - Method in CriteriaBuilder
Computes the sum of a property
sum(String) - Method in DetachedCriteria
Adds a sum projection
sum(String) - Method in DetachedCriteria.DetachedProjections
supports(Class) - Method in UniqueConstraint
supportsCreating(Class<?>) - Method in AggregateTimestampProvider
supportsCreating(Class<?>) - Method in DefaultTimestampProvider
supportsCreating(Class<?>) - Method in TimestampProvider
supportsEventType(Class<? extends ApplicationEvent>) - Method in AutoTimestampEventListener
supportsEventType(Class<? extends ApplicationEvent>) - Method in DomainEventListener
{@inheritDoc}

T

targetClass - Field in CriteriaBuilder
targetClass - Field in DetachedCriteria
targetClass - Field in MethodExpression
task(Closure<T>) - Method in GormAsyncStaticApi
Used to perform a sequence of operations asynchronously
TestCriteriaBuilder - Class in grails.gorm
Extends the default CriteriaBuilder implementation.
TestCriteriaBuilder(Class<?>, Session) - Constructor in TestCriteriaBuilder
TimestampProvider - Interface in org.grails.datastore.gorm.timestamp
*************************************************************************** Copyright 2014 original authors
totalCount - Field in PagedResultList
TRANSACTION_MANAGER_BEAN - Field in AbstractDatastoreInitializer
transactionManager - Field in GormStaticApi
transformClosureExpression(ClassNode, ClosureExpression) - Method in DetachedCriteriaTransformer
transformedExpressions - Field in DetachedCriteriaTransformer

U

UniqueConstraint - Class in org.grails.datastore.gorm.validation.constraints
Implementation of the unique constraint for the datastore abstraction.
UniqueConstraint(Datastore) - Constructor in UniqueConstraint
UniqueConstraintFactory - Class in org.grails.datastore.gorm.validation.constraints
Factory for the unique constraint
UniqueConstraintFactory(Datastore) - Constructor in UniqueConstraintFactory
unsupported(def) - Method in GormStaticApi
unwrap(Object) - Method in GroovyProxyFactory
updateAll(Map) - Method in DetachedCriteria
Updates all entities matching this criteria
updateAll(Map) - Method in GormOperations
Updates all entities matching this criteria

V

validate(Object, Errors, boolean) - Method in CascadingValidator
An extended version of the validate(errors,obj) method that takes an additional argument specifying whether the Validator should cascade into associations or not.
validate() - Method in GormValidateable
Validates an instance
validate(D) - Method in GormValidationApi
Validates an instance
validatePropertyName(String, String) - Method in CriteriaBuilder
visit(ASTNode, SourceUnit) - Method in DetachedCriteriaASTTransformation
The method is invoked when an AST Transformation is active.
visit(ASTNode, SourceUnit) - Method in DirtyCheckTransformation
visit(ASTNode, SourceUnit) - Method in GlobalDetachedCriteriaASTTransformation
The method is invoked when an AST Transformation is active.
visitClass(ClassNode) - Method in DetachedCriteriaTransformer
visitDeclarationExpression(DeclarationExpression) - Method in DetachedCriteriaTransformer
visitField(FieldNode) - Method in DetachedCriteriaTransformer
visitMethod(MethodNode) - Method in DetachedCriteriaTransformer
visitMethodCallExpression(MethodCallExpression) - Method in DetachedCriteriaTransformer
visitStaticMethodCallExpression(StaticMethodCallExpression) - Method in DetachedCriteriaTransformer

W

weaveIntoExistingSetter(String, DirtyCheckingTransformer.GetterAndSetter, MethodNode) - Method in DirtyCheckingTransformer
where(Closure) - Method in DetachedCriteria
Where method derives a new query from this query.
where(Closure) - Method in GormEntity
@param callable Callable closure containing detached criteria definition
where(Closure) - Method in GormStaticApi
@param callable Callable closure containing detached criteria definition
WHERE_LAZY - Field in DetachedCriteriaTransformer
whereAny(Closure) - Method in GormEntity
@param callable Callable closure containing detached criteria definition
whereAny(Closure) - Method in GormStaticApi
@param callable Callable closure containing detached criteria definition
whereLazy(Closure) - Method in DetachedCriteria
Where method derives a new query from this query.
whereLazy(Closure) - Method in GormEntity
@param callable Callable closure containing detached criteria definition
whereLazy(Closure) - Method in GormStaticApi
@param callable Callable closure containing detached criteria definition
withCriteria(Map, Closure) - Method in GormEntity
Creates a criteria builder instance
withCriteria(Map, Closure) - Method in GormStaticApi
Creates a criteria builder instance
withDatastoreSession(Closure) - Method in GormEntity
Same as withSession, but present for the case where withSession is overridden to use the Hibernate session
withDatastoreSession(Closure) - Method in GormStaticApi
Same as withSession, but present for the case where withSession is overridden to use the Hibernate session
withManualFlushMode(Closure) - Method in UniqueConstraint
withNewSession(Closure) - Method in GormEntity
Creates and binds a new session for the scope of the given closure
withNewSession(Closure) - Method in GormStaticApi
Creates and binds a new session for the scope of the given closure
withNewTransaction(Map, Closure) - Method in GormEntity
Executes the closure within the context of a new transaction which is configured with the properties contained in transactionProperties.
withNewTransaction(Map, Closure) - Method in GormStaticApi
Executes the closure within the context of a new transaction which is configured with the properties contained in transactionProperties.
withSession(Closure) - Method in GormEntity
Execute a closure whose first argument is a reference to the current session.
withSession(Closure) - Method in GormStaticApi
Execute a closure whose first argument is a reference to the current session.
withStatelessSession(Closure) - Method in GormEntity
Creates and binds a new session for the scope of the given closure
withStatelessSession(Closure) - Method in GormStaticApi
Creates and binds a new session for the scope of the given closure
withTransaction(TransactionDefinition, Closure) - Method in GormEntity
Executes the closure within the context of a transaction for the given org.springframework.transaction.TransactionDefinition
withTransaction(TransactionDefinition, Closure) - Method in GormStaticApi
Executes the closure within the context of a transaction for the given org.springframework.transaction.TransactionDefinition
wrapNullInNoopCaller(EventTriggerCaller) - Method in EventTriggerCaller

X

Y

Z

ZERO_PARAMS - Field in DomainEventListener

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _