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

AbstractArrayOrIterableResultImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementation of a finder that handles Array and Iterables of domain classes
AbstractAttributeStoringSession - Class in org.grails.datastore.mapping.core
AbstractClassMapping - Class in org.grails.datastore.mapping.model
Abstract implementation of the ClassMapping interface.
AbstractClassMapping(PersistentEntity, MappingContext) - Constructor in AbstractClassMapping
AbstractConnectionSourceFactory - Class in org.grails.datastore.mapping.core.connections
Abstract implementation of the ConnectionSourceFactory interface
AbstractConnectionSources - Class in org.grails.datastore.mapping.core.connections
Abstract implementation of the ConnectionSources interface
AbstractConnectionSources(ConnectionSource<T, S>, ConnectionSourceFactory<T, S>, PropertyResolver) - Constructor in AbstractConnectionSources
AbstractCriteriaBuilder - Class in org.grails.datastore.gorm.query.criteria
Abstract criteria builder implementation
AbstractCriteriaBuilder(Class, QueryCreator, MappingContext) - Constructor in AbstractCriteriaBuilder
AbstractDatastore - Class in org.grails.datastore.mapping.core
Abstract Datastore implementation that deals with binding the Session to thread locale upon creation.
AbstractDatastore(MappingContext, Map<String, Object>, ConfigurableApplicationContext, TPCacheAdapterRepository) - Constructor in AbstractDatastore
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
AbstractDatastoreMethodDecoratingTransformation - Class in org.grails.datastore.gorm.transform
An abstract implementation for transformations that decorate a method invocation such that the method invocation is wrapped in the execution of a closure that delegates to the original logic.
AbstractDatastorePersistenceContextInterceptor - Class in org.grails.datastore.gorm.support
Abstract implementation of the persistence context interceptor
AbstractDatastorePersistenceContextInterceptor(Datastore) - Constructor in AbstractDatastorePersistenceContextInterceptor
AbstractDetachedCriteria - Class in org.grails.datastore.gorm.query.criteria
Abstract super class for DetachedCriteria implementations
AbstractDetachedCriteria.DetachedProjections - Class in org.grails.datastore.gorm.query.criteria
AbstractDetachedCriteria.DetachedProjections(Projection>) - Constructor in AbstractDetachedCriteria.DetachedProjections
AbstractDetachedCriteria(Class<T>, String) - Constructor in AbstractDetachedCriteria
Constructs a DetachedCriteria instance target the given class and alias for the name
AbstractDetachedCriteriaServiceImplementor - Class in org.grails.datastore.gorm.services.implementers
An abstract implementer that builds a detached criteria query from the method arguments
AbstractFindByFinder - Class in org.grails.datastore.gorm.finders
AbstractFindByFinder(Pattern, MappingContext) - 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>, MappingContext) - Constructor in AbstractGormApi
AbstractGormASTTransformation - Class in org.grails.datastore.gorm.transform
Abstract base class for GORM AST transformations
AbstractGormMappingFactory - Class in org.grails.datastore.mapping.config
Abstract GORM implementation that uses the GORM MappingConfigurationBuilder to configure entity mappings.
AbstractKeyValueEntityPersister - Class in org.grails.datastore.mapping.keyvalue.engine
Abstract implementation of the EntityPersister abstract class for key/value style stores.
AbstractKeyValueEntityPersister(MappingContext, PersistentEntity, Session, ApplicationEventPublisher) - Constructor in AbstractKeyValueEntityPersister
AbstractMappingAwareCustomTypeMarshaller - Class in org.grails.datastore.mapping.engine.types
Abstract implementation of CustomTypeMarshaller interface that handles the details of getting the correct mapped key for a property
AbstractMappingAwareCustomTypeMarshaller(Class<T>) - Constructor in AbstractMappingAwareCustomTypeMarshaller
AbstractMappingContext - Class in org.grails.datastore.mapping.model
Abstract implementation of the MappingContext interface.
AbstractMappingContext(ConnectionSourceSettings) - Constructor in AbstractMappingContext
AbstractMethodDecoratingTransformation - Class in org.grails.datastore.gorm.transform
An abstract implementation for transformations that decorate a method invocation such that the method invocation is wrapped in the execution of a closure that delegates to the original logic.
AbstractMongoConnectionSourceSettings - Class in org.grails.datastore.mapping.mongo.connections
@author Graeme Rocher
AbstractMongoObectEntityPersister - Class in org.grails.datastore.mapping.mongo.engine
Abstract implementation of MongoDB mongo object mapping entity persister.
AbstractMongoObectEntityPersister.MongoAssociationIndexer - Class in org.grails.datastore.mapping.mongo.engine
AbstractMongoObectEntityPersister.MongoAssociationIndexer(T, Association, MongoSession) - Constructor in AbstractMongoObectEntityPersister.MongoAssociationIndexer
AbstractMongoObectEntityPersister(MappingContext, PersistentEntity, Session, ApplicationEventPublisher) - Constructor in AbstractMongoObectEntityPersister
AbstractMongoSession - Class in org.grails.datastore.mapping.mongo
Abstract implementation on the Session interface for MongoDB
AbstractMongoSession(MongoDatastore, MappingContext, ApplicationEventPublisher, boolean) - Constructor in AbstractMongoSession
AbstractPersistenceEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
AbstractPersistenceEvent(Datastore, Object) - Constructor in AbstractPersistenceEvent
AbstractPersistenceEventListener - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
AbstractPersistenceEventListener(Datastore) - Constructor in AbstractPersistenceEventListener
AbstractPersistentCollection - Class in org.grails.datastore.mapping.collection
Abstract base class for persistent collections.
AbstractPersistentCollection(Serializable, Session, AssociationQueryExecutor, Collection) - Constructor in AbstractPersistentCollection
AbstractPersistentEntity - Class in org.grails.datastore.mapping.model
Abstract implementation to be subclasses on a per datastore basis
AbstractPersistentEntity(Class, MappingContext) - Constructor in AbstractPersistentEntity
AbstractPersistentProperty - Class in org.grails.datastore.mapping.model
Abstract implementation of the PersistentProperty interface that uses the PropertyDescriptor instance to establish name and type.
AbstractPersistentProperty(PersistentEntity, MappingContext, String, Class) - Constructor in AbstractPersistentProperty
AbstractProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementation for projections
AbstractQueryEvent - Class in org.grails.datastore.mapping.query.event
Base class for query events.
AbstractQueryEvent(Object, Query) - Constructor in AbstractQueryEvent
AbstractReadOperationImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementor for read operations
AbstractResultList - Class in org.grails.datastore.gorm.query
An abstract result list for initializing objects lazily from a cursor
AbstractResultList(int, Integer, Iterator<Object>) - Constructor in AbstractResultList
AbstractSaveImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementation of saving
AbstractServiceImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementation of the ServiceImplementer interface
AbstractSession - Class in org.grails.datastore.mapping.core
Abstract implementation of the Session interface that uses a list of Persister instances to save, update and delete instances
AbstractSession(Datastore, MappingContext, ApplicationEventPublisher, TPCacheAdapterRepository, boolean) - Constructor in AbstractSession
AbstractShapeCoordsType - Class in org.grails.datastore.gorm.mongo.geo
Abstract implementation for custom types that persist shapes using their coordinate values
AbstractShapeCoordsType(Class<T>) - Constructor in AbstractShapeCoordsType
AbstractStringQueryImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract support for String-based queries
AbstractTraitApplyingGormASTTransformation - Class in org.grails.datastore.gorm.transform
An abstract transformation that applies a Trait
AbstractWhereImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementation for queries annotated with Where
AbstractWriteOperationImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementer for write operations
adapt(ServiceImplementer) - Method in ServiceImplementerAdapter
Adapt the implementer, returning a new implementer if possible, otherwise null
AdaptedImplementer - Interface in org.grails.datastore.gorm.services.implementers
An interface for adapters to return the original implementer
adapters - Field in Service
@default {}
Returns:
Any additional adapters to apply
add(Criterion) - Method in AbstractDetachedCriteria
add(Object) - Method in AbstractPersistentCollection
add(Object) - Method in DirtyCheckingCollection
add(int, Object) - Method in DirtyCheckingList
add(E) - Method in PagedResultList
add(int, Object) - Method in PersistentList
add(Query.Junction, Query.Criterion) - Method in Query
Adds the specified criterion instance to the given junction
add(Criterion) - Method in Query.Junction
add(Projection) - Method in Query.ProjectionList
ADD_TO_PARAMETERS - Field in GormEntityTransformation
addAll(Collection) - Method in AbstractPersistentCollection
addAll(Collection) - Method in DirtyCheckingCollection
addAll(int, Collection) - Method in DirtyCheckingList
addAll(int, Collection<? extends E>) - Method in PagedResultList
addAll(int, Collection) - Method in PersistentList
addAnnotationIfNecessary(AnnotatedNode, Class<? extends Annotation>) - Method in AstAnnotationUtils
Adds an annotation to the give nclass node if it doesn't already exist
addAnnotationIfNecessary(AnnotatedNode, Class<? extends Annotation>) - Method in AstUtils
Adds an annotation to the give nclass node if it doesn't already exist
addAnnotationOrGetExisting(AnnotatedNode, ClassNode, Map<String, Object>) - Method in AstAnnotationUtils
addAnnotationOrGetExisting(AnnotatedNode, ClassNode, Map<String, Object>) - Method in AstUtils
addApplicationListener(ApplicationListener<?>) - Method in ConfigurableApplicationContextEventPublisher
addApplicationListener(ApplicationListener<?>) - Method in ConfigurableApplicationEventPublisher
Adds a new application listener
addApplicationListener(ApplicationListener<?>) - Method in DefaultApplicationEventPublisher
addBeanProperty(List<PropertyDescriptor>, MetaProperty) - Method in ClassPropertyFetcher
addCascadeOperation(PendingOperation<E, K>) - Method in PendingOperation
Adds an operation that should be executed after this operation
addCascadeOperation(PendingOperation<E, K>) - Method in PendingOperationAdapter
addConnectionSource(String, Map<String, Object>) - Method in AbstractConnectionSources
addConnectionSource(String, Map<String, Object>) - Method in ConnectionSources
Adds a new ConnectionSource
addConnectionSource(String, PropertyResolver) - Method in InMemoryConnectionSources
addConnectionSource(String, Map<String, Object>) - Method in MongoConnectionSources
addConnectionSource(String, PropertyResolver) - Method in SingletonConnectionSources
addConnectionSource(String, PropertyResolver) - Method in StaticConnectionSources
addEntityValidator(PersistentEntity, Validator) - Method in AbstractMappingContext
Adds a validator for an entity
addEntityValidator(PersistentEntity, Validator) - Method in MappingContext
Adds a validator to be used by the entity for validation
addExcludedListenerName(String) - Method in AbstractPersistenceEvent
addExternalPersistentEntity(Class) - Method in AbstractMappingContext
Adds an external PersistentEntity instance, one that is not managed and persisted by this context
addExternalPersistentEntity(Class) - Method in MappingContext
Adds a persistent entity that is not mapped by this MappingContext instance.
addInstanceMethods(PersistentEntity, boolean) - Method in GormEnhancer
AdditionalGormEntityTransformation - Interface in org.grails.compiler.gorm
Additional transformations applied to GORM entities
addListener(ConnectionSourcesListener<T, S>) - Method in AbstractConnectionSources
addListener(ConnectionSourcesListener<T, S>) - Method in ConnectionSources
Adds a listener
addMappingContextListener(Listener) - Method in AbstractMappingContext
addMappingContextListener(MappingContext.Listener) - Method in MappingContext
Adds a new mapping context listener instance
addMultiTenantFilterIfNecessary(FindIterable<FT>) - Method in MongoStaticApi
addOwner(Class) - Method in AbstractPersistentEntity
addOwner(Class) - Method in PersistentEntity
Add a class to the owners list of this PersistentEntity
addParameterNames(String, Class, List<String>) - Method in ConfigurableParameterNameProvider
registers parameter names
addPendingDelete(PendingDelete) - Method in AbstractSession
addPendingInsert(PendingInsert) - Method in AbstractSession
addPendingInsert(PendingInsert) - Method in SessionImplementor
Adds a pending insert operation
addPendingUpdate(PendingUpdate) - Method in AbstractSession
addPendingUpdate(PendingUpdate) - Method in SessionImplementor
Adds a pending update operation
addPersistentEntities(Class) - Method in AbstractMappingContext
addPersistentEntities(Class) - Method in MappingContext
Adds several PersistentEntity instances
addPersistentEntity(Class) - Method in AbstractMappingContext
Adds a PersistentEntity instance
addPersistentEntity(Class, boolean) - Method in MappingContext
Adds a PersistentEntity instance
addPostFlushOperation(Runnable) - Method in AbstractSession
addPostFlushOperation(Runnable) - Method in SessionImplementor
Adds an operation to be executed after a flush
addPostFlushOperations(List<PendingOperation>) - Method in AbstractMongoSession
addPreOperation(PendingOperation<E, K>) - Method in PendingOperation
Adds an operation to executed prior to other operations
addPreOperation(PendingOperation<E, K>) - Method in PendingOperationAdapter
addSession(Session) - Method in SessionHolder
addStaticMethods(PersistentEntity, boolean) - Method in GormEnhancer
addTenantForSchema(String) - Method in SchemaMultiTenantCapableDatastore
Add a new tenant at runtime for the given schema name
addTo(String, Object) - Method in GormEntity
Adds the given value to given association ensuring both sides are correctly associated
addToCriteria(Criterion) - Method in AbstractCriteriaBuilder
addTransformedEntityName(String) - Method in AstUtils
@param name Adds the name of a transformed entity
addTypeConverter(Converter) - Method in AbstractMappingContext
addTypeConverter(Converter) - Method in MappingContext
Add a converter used to convert property values to and from the datastore
AFTER_DELETE_EVENT - Field in AbstractPersistenceEvent
AFTER_INSERT_EVENT - Field in AbstractPersistenceEvent
AFTER_LOAD_EVENT - Field in AbstractPersistenceEvent
AFTER_UPDATE_EVENT - Field in AbstractPersistenceEvent
afterCommit() - Method in SpringSessionSynchronization
afterCompletion(int) - Method in SpringSessionSynchronization
afterDelete(PersistentEntity, EntityAccess, PostDeleteEvent) - Method in DomainEventListener
afterInsert(PersistentEntity, EntityAccess, PostInsertEvent) - Method in DomainEventListener
afterLoad(PersistentEntity, EntityAccess, PostLoadEvent) - Method in DomainEventListener
afterPropertiesSet() - Method in MongoClientFactoryBean
afterPropertiesSet() - Method in MongoClientOptionsFactoryBean
afterUpdate(PersistentEntity, EntityAccess, PostUpdateEvent) - Method in DomainEventListener
aggregate(List, AggregationOptions, ReadPreference) - Method in MongoEntity
Execute a MongoDB aggregation pipeline.
aggregate(DBCollection, List<? extends Map>, AggregationOptions) - Method in MongoExtensions
aggregate(List, AggregationOptions, ReadPreference) - Method in MongoStaticApi
aggregate(List, AggregationOptions, ReadPreference) - Method in MongoStaticOperations
Execute a MongoDB aggregation pipeline.
AggregateTimestampProvider - Class in org.grails.datastore.gorm.timestamp
*************************************************************************** Copyright 2014 original authors
alias - Field in AbstractDetachedCriteria
aliases - Field in DetachedCriteriaTransformer
aliasExpressions - Field in DetachedCriteriaTransformer
ALL - Field in ConnectionSource
Constance for a mapping to all connection sources
ALL_DATA_SOURCES - Field in Entity
@deprecated Use ConnectionSource.DEFAULT instead
allEq(Map<String, Object>) - Method in AbstractCriteriaBuilder
Apply an "equals" constraint to each property in the key set of a Map
allEq(Map<String, Object>) - Method in AbstractDetachedCriteria
@see Criteria#allEq(java.util.Map)
allEq(Map<String, Object>) - Method in Criteria
Apply an "equals" constraint to each property in the key set of a Map
allEq(Map<String, Object>) - Method in DetachedCriteria
allEq(Map<String, Object>) - Method in Query
Shortcut to restrict the query to multiple given property values
allowArbitraryCustomTypes() - Method in MappingFactory
allQualifiers(Datastore, PersistentEntity) - Method in GormEnhancer
Obtain all of the qualifiers (typically the connection names) for the datastore and entity
AllTenantsResolver - Interface in org.grails.datastore.mapping.multitenancy
For discriminator based multi-tenancy the tenant resolver has to be able to resolve all tenant ids in order to be able to iterate of the the available tenants
and(Closure) - Method in AbstractCriteriaBuilder
and(Closure) - Method in AbstractDetachedCriteria
Handles a conjunction
and(Closure) - Method in Criteria
Creates a logical conjunction
and(Closure) - Method in DetachedCriteria
AND_OPERATOR - Field in BsonQuery
AND_OPERATOR - Field in DetachedCriteriaTransformer
and(Query.Criterion, Query.Criterion) - Method in Query
Creates a conjunction using two specified criterion
and(Criterion, Criterion) - Method in Restrictions
AnnotatedServiceImplementer - Interface in org.grails.datastore.gorm.services.implementers
An annotated implementer
AnnotationMetadataReader - Class in org.grails.datastore.gorm.utils
A more limited version of Spring's annotation reader that only reads annotations on classes
apiDelegate - Field in MethodInvokingClosure
appendCriteriaForOperator(StringBuilder, String, String, int, String, boolean) - Method in JpaQueryBuilder
appendOrder(StringBuilder, String) - Method in JpaQueryBuilder
appliesToDatastore(Datastore, PersistentEntity) - Method in GormEnhancer
applyAdditionalCriteria(Query, Closure) - Method in AbstractFinder
applyConnectionString(def) - Method in MongoConnectionSourceSettingsBuilder
applyCredentials(def) - Method in MongoConnectionSourceSettingsBuilder
applyDefaultTransactionHandling(MethodNode) - Method in AbstractReadOperationImplementer
applyDefaultTransactionHandling(MethodNode) - Method in DeleteImplementer
applyDefaultTransactionHandling(MethodNode) - Method in DeleteWhereImplementer
applyDefaultTransactionHandling(MethodNode) - Method in FindAndDeleteImplementer
applyDefaultTransactionHandling(MethodNode) - Method in UpdateStringQueryImplementer
applyDetachedCriteria(Query, AbstractDetachedCriteria) - Method in DynamicFinder
Applies the given detached criteria to the given query
ApplyDetachedCriteriaTransform - Annotation Type in org.grails.datastore.gorm.query.transform
Used only for testing
applyLazyCriteria() - Method in AbstractDetachedCriteria
applyLazyCriteria() - Method in DetachedCriteria
applyOrder(List, Order) - Method in ManualEntityOrdering
applySortForMap(Query, Map, boolean) - Method in DynamicFinder
Applies sorting logic to the given query from the given map
applyTransactionalAttributeSettings(AnnotationNode, VariableExpression, BlockStatement) - Method in TransactionalTransform
areAssociationsDirty(Session, PersistentEntity, Object) - Method in DirtyCheckingSupport
Checks whether associations are dirty
areCollectionsEqual(Object, Object) - Method in NativeEntryEntityPersister
areEqual(Object, Object, String) - Method in NativeEntryEntityPersister
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
arguments(Map) - Method in MongoCriteriaBuilder
argumentsRequired - Field in MethodExpression
asArray() - Method in Point
@return An array representation of the point
asBoolean(Closure) - Method in DetachedCriteria
Counts the number of records returned by the query
asBoolean() - Method in EventTriggerCaller
asc(String) - Method in Query.Order
Creates a new order for the given property in ascending order
asList() - Method in Box
Converts the Polygon to a multi-dimensional list of coordinates.
asList() - Method in Circle
@return The circle as a coordinate list
asList() - Method in GeoJSON
Converts the GeoJSON shape into a coordinate list
asList() - Method in GeometryCollection
asList() - Method in LineString
Converts the line string to a multi dimensional coordinate list.
asList() - Method in MultiLineString
asList() - Method in MultiPoint
asList() - Method in MultiPolygon
asList() - Method in Point
@return A list representation of the point
asList() - Method in Polygon
Converts the Polygon to a multi-dimensional list of coordinates.
asList() - Method in Shape
Converts the Shape into a coordinate list
asList() - Method in Sphere
The sphere coordinate list with the radius in radians
ASSIGNED_IDENTIFIER_MAPPING - Field in MongoCodecEntityPersister
ASSIGNED_IDENTIFIER_MAPPING - Field in MongoConstants
ASSIGNMENT_OPERATOR - Field in AstUtils
Association - Class in org.grails.datastore.mapping.model.types
Models an association between one class and another
Association(PersistentEntity, MappingContext, String, Class) - Constructor in Association
AssociationCriteria - Interface in org.grails.datastore.mapping.query.api
Interface for criteria related to an association
associationCriteriaMap - Field in AbstractDetachedCriteria
AssociationIndexer - Interface in org.grails.datastore.mapping.engine
Responsible for creating indices for associations used in queries.
associationKey - Field in AbstractPersistentCollection
associationKey - Field in AssociationQueryProxyHandler
AssociationQuery - Class in org.grails.datastore.mapping.query
Used to capture the metadata for a query on an associated object.
AssociationQuery(Session, PersistentEntity, Association) - Constructor in AssociationQuery
AssociationQueryExecutor - Interface in org.grails.datastore.mapping.engine
An interface for classes that know how to query an association
AssociationQueryProxyHandler - Class in org.grails.datastore.mapping.proxy
A proxy handler that uses a AssociationQueryExecutor to retrieve the association
AssociationQueryProxyHandler(Session, AssociationQueryExecutor, Serializable) - Constructor in AssociationQueryProxyHandler
associations - Field in AbstractPersistentEntity
associationtoString(String, Association) - Method in MappingFactory
AstAnnotationUtils - Class in org.grails.datastore.mapping.reflect
Utility methods for dealing with annotations in AST transforms
AstGenericsUtils - Class in org.grails.datastore.mapping.reflect
Generics utilities
AstMethodDispatchUtils - Class in org.grails.datastore.gorm.transform
@author Graeme Rocher
AstPropertyResolveUtils - Class in org.grails.datastore.gorm.transform
Utilities for resolving property names from domain classes etc.
AstUtils - Class in org.grails.datastore.mapping.reflect
Utility methods for dealing with Groovy ASTs
asType(FindIterable, Class<T>) - Method in MongoExtensions
attach(Object) - Method in AbstractSession
attach() - Method in DelegatingGormEntityApi
attach() - Method in GormEntity
Attaches an instance to an existing session.
attach() - Method in GormEntityApi
Attaches an instance to an existing session.
attach(D) - Method in GormInstanceApi
Attaches an instance to an existing session.
attach(D) - Method in GormInstanceOperations
Attaches an instance to an existing session.
attach(D) - Method in GormStaticApi
attach(Object) - Method in Session
Attaches an object the current session
attach(D) - Method in TenantDelegatingGormOperations
ATTACHED - Field in GormProperties
attr(String) - Method in Attribute
Attribute - Class in org.grails.datastore.mapping.document.config
Configures how a Java property maps to a Document attribute
attribute(String) - Method in Attribute
attributes - Field in AbstractAttributeStoringSession
attributes(Map<String, Object>) - Method in DynamicAttributes
Obtain the dynamic attributes combined with the provided attributes
AutoTimestampEventListener - Class in org.grails.datastore.gorm.events
An event listener that adds support for GORM-style auto-timestamping
AutoTimestampEventListener(MappingContext) - Constructor in AutoTimestampEventListener
autowireBeanProperties(Object) - Method in DomainEventListener
AVERAGE_OPERATOR - Field in BsonQuery
avg(String) - Method in AbstractCriteriaBuilder
Computes the average value of a property
avg(String) - Method in AbstractDetachedCriteria
Adds a avg projection
avg(String) - Method in AbstractDetachedCriteria.DetachedProjections
avg(String) - Method in DetachedCriteria
Adds a avg projection
avg(String) - Method in ProjectionList
Computes the average value of a property
avg(String) - Method in Projections
Computes the average value of a property
avg(String) - Method in Query.ProjectionList
Computes the average value of a property

B

Basic - Class in org.grails.datastore.mapping.model.types
Models a basic collection type such as a list of Strings
Basic(PersistentEntity, MappingContext, String, Class) - Constructor in Basic
BasicCollectionTypeDecoder - Class in org.grails.datastore.bson.codecs.decoders
A {@PropertyDecoder} capable of decoding {@Basic} collection types
BasicCollectionTypeEncoder - Class in org.grails.datastore.bson.codecs.encoders
A {@PropertyEncoder} capable of encoding {@Basic} collection types
BasicTypeConverterRegistrar - Class in org.grails.datastore.mapping.model.types
A registrar that registers basic type converters
BeanEntityAccess - Class in org.grails.datastore.mapping.engine
Class used to access properties of an entity.
BeanEntityAccess(PersistentEntity, Object) - Constructor in BeanEntityAccess
BeanFactoryValidatorRegistry - Class in org.grails.datastore.mapping.validation
Looks up validators from Spring
BeanFactoryValidatorRegistry(BeanFactory) - Constructor in BeanFactoryValidatorRegistry
beanWrapper - Field in BeanEntityAccess
BEFORE_DELETE_EVENT - Field in AbstractPersistenceEvent
BEFORE_INSERT_EVENT - Field in AbstractPersistenceEvent
BEFORE_LOAD_EVENT - Field in AbstractPersistenceEvent
BEFORE_UPDATE_EVENT - Field in AbstractPersistenceEvent
BEFORE_VALIDATE - Field in BeforeValidateHelper
beforeCommit(boolean) - Method in SpringSessionSynchronization
beforeCompletion() - Method in SpringSessionSynchronization
beforeDelete(PersistentEntity, EntityAccess, PreDeleteEvent) - Method in DomainEventListener
beforeFinishDocument(BsonWriter, EntityAccess) - Method in BsonPersistentEntityCodec
Called directly before the last call to finish the document writing process
beforeInsert(PersistentEntity, EntityAccess) - Method in AutoTimestampEventListener
beforeInsert(PersistentEntity, EntityAccess, PreInsertEvent) - Method in DomainEventListener
beforeInsert(PersistentEntity, EntityAccess) - Method in ValidatingEventListener
beforeLoad(PersistentEntity, EntityAccess, PreLoadEvent) - Method in DomainEventListener
beforeUpdate(PersistentEntity, EntityAccess) - Method in AutoTimestampEventListener
beforeUpdate(PersistentEntity, EntityAccess, PreUpdateEvent) - Method in DomainEventListener
beforeUpdate(PersistentEntity, EntityAccess) - Method in ValidatingEventListener
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
beginTransaction(TransactionDefinition) - Method in AbstractSession
beginTransaction(TransactionDefinition) - Method in Session
Starts a transaction
beginTransactionInternal() - Method in AbstractSession
beginTransactionInternal() - Method in MongoCodecSession
beginTransactionInternal() - Method in MongoSession
BELONGS_TO - Field in GormProperties
between(String, Object, Object) - Method in AbstractCriteriaBuilder
Restricts the results by the given property value range (inclusive)
between(String, Object, Object) - Method in AbstractDetachedCriteria
@see Criteria
between(String, Object, Object) - Method in Criteria
Restricts the results by the given property value range (inclusive)
between(String, Object, Object) - Method in DetachedCriteria
between(String, Object, Object) - Method in Query
Restricts the results by the given property value range
between(String, Object, Object) - Method in Restrictions
Restricts the results by the given property value range
BigDecimalCodec - Class in org.grails.datastore.bson.codecs
A codec for BigDecimal
BigIntegerCodec - Class in org.grails.datastore.bson.codecs
A codec for BigDecimal
bindNewSession(Session) - Method in DatastoreUtils
Adds the session to the current SessionHolder's list of sessions, making it the current session.
bindParametersAndSave(ClassNode, MethodNode, Parameter, BlockStatement, VariableExpression) - Method in AbstractSaveImplementer
bindSession(Session, Object) - Method in DatastoreUtils
Bind the session to the thread with a SessionHolder keyed by its Datastore.
Box - Class in grails.mongodb.geo
Represents a box for use in Geo data models
Box(Point, Point) - Constructor in Box
Construct a box from 2 points representing the lower left corner and the uppper right corner
BOX_OPERATOR - Field in MongoQuery
BoxType - Class in org.grails.datastore.gorm.mongo.geo
A custom type for persisting Box instances
BoxType() - Constructor in BoxType
BsonPersistentEntityCodec - Class in org.grails.datastore.bson.codecs
Encodes and decodes PersistentEntity objects from a BSON stream
BsonPersistentEntityCodec(CodecRegistry, PersistentEntity, boolean) - Constructor in BsonPersistentEntityCodec
BsonQuery - Class in org.grails.datastore.bson.query
A base class for Query implementations that create BSON queries based on MongoDB query format.
BsonQuery.OperatorHandler - Interface in org.grails.datastore.bson.query
Handles query operators when reading BSON
BsonQuery.ProjectionHandler - Interface in org.grails.datastore.bson.query
Handles a projection
BsonQuery.QueryHandler - Interface in org.grails.datastore.bson.query
Handles an individual criterion
BsonQuery(PersistentEntity) - Constructor in BsonQuery
bsonType() - Method in IdentityDecoder.IdentityTypeDecoder
bsonType() - Method in SimpleDecoder.TypeDecoder
build(Closure) - Method in AbstractCriteriaBuilder
build(Closure) - Method in AbstractDetachedCriteria
Enable the builder syntax for constructing Criteria
build(Class<?>, MetaClass, Class<?>) - Method in BeforeValidateHelper.BeforeValidateEventTriggerCaller
build() - Method in ConfigurationBuilder
build() - Method in DataSourceBuilder
build(Closure) - Method in DetachedCriteria
Enable the builder syntax for constructing Criteria
build(Class, String, Object) - Method in MappingContextAwareConstraintFactory
build() - Method in MappingDefinition
Build a new mapping
build() - Method in MongoClientOptionsBuilder
build() - Method in MongoQuery.AggregatePipeline
BuildableCriteria - Interface in org.grails.datastore.mapping.query.api
@author Jeff Brown
buildAggregatePipeline(PersistentEntity, Document, List<Projection>) - Method in MongoQuery
buildCaller(String, Class<?>, MetaClass, Class<?>) - Method in EventTriggerCaller
buildCallToOriginalMethod(ClassNode, MethodNode) - Method in AbstractMethodDecoratingTransformation
buildConfiguration() - Method in JavaxValidatorRegistry
Builds the default Validator configuration
buildConfigurationFor(MappingContext, MessageSource) - Method in JavaxValidatorRegistry
Builds a configuration for the given context and message source
buildDefault(Class) - Method in ConfigurableParameterNameProvider
buildDelegatingMethodCall(SourceUnit, AnnotationNode, ClassNode, MethodNode, MethodCallExpression, BlockStatement) - Method in AbstractMethodDecoratingTransformation
Builds the delegating method call for the given class node
buildDelegatingMethodCall(SourceUnit, AnnotationNode, ClassNode, MethodNode, MethodCallExpression, BlockStatement) - Method in TenantTransform
buildDelegatingMethodCall(SourceUnit, AnnotationNode, ClassNode, MethodNode, MethodCallExpression, BlockStatement) - Method in TransactionalTransform
buildDelete() - Method in JpaQueryBuilder
Builds a DELETE statement
buildGetPropertyExpression(Expression, String, ClassNode, boolean) - Method in AstUtils
Build static direct call to getter of a property
buildIndex() - Method in MongoDatastore
Builds the MongoDB index for this datastore
buildInstanceApiLookup(ClassNode, Expression) - Method in AbstractServiceImplementer
buildInterfaceImpl(ClassNode, ClassNode, ClassNode, MethodNode) - Method in InterfaceProjectionBuilder
buildInterfaceProjection(ClassNode, MethodNode, Expression, Expression, MethodNode) - Method in IterableInterfaceProjectionBuilder
buildInterfaceProjection(ClassNode, MethodNode, Expression, Expression, MethodNode) - Method in SingleResultInterfaceProjectionBuilder
buildLazy(Closure) - Method in AbstractDetachedCriteria
Enable the builder syntax for constructing Criteria
buildLazy(Closure) - Method in DetachedCriteria
Enable the builder syntax for constructing Criteria
buildMatchSpec(String, String, int) - Method in DynamicFinder
Builds a match specification that can be used to establish information about a dynamic finder compilation for the purposes of compilation etc.
buildMatchSpec(String, String, int) - Method in FindAllByImplementer
buildQuery(DynamicFinderInvocation, Class<?>, Query) - Method in AbstractFindByFinder
buildQuery(DynamicFinderInvocation, Class<?>, Query) - Method in CountByFinder
buildQuery(DynamicFinderInvocation, Class<?>, Query) - Method in FindAllByFinder
buildQuery(DynamicFinderInvocation, Session) - Method in QueryBuildingFinder
Build a query from an invocation
buildQueryableCriteria(Closure) - Method in AbstractDetachedCriteria
buildQueryableCriteria(Closure) - Method in DetachedCriteria
buildQueryReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in AbstractStringQueryImplementer
Builds the query return statement
buildQueryReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindAllStringQueryImplementer
buildQueryReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindOneInterfaceProjectionStringQueryImplementer
buildQueryReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindOneStringQueryImplementer
buildQueryReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in UpdateStringQueryImplementer
buildRecurse(Object, Object, String) - Method in ConfigurationBuilder
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in AbstractWhereImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in CountWhereImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in DeleteWhereImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindAllByImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindAllByInterfaceProjectionImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindAllWhereImplementer
buildReturnStatement(ClassNode, MethodNode, Expression, Expression, MethodNode) - Method in FindAndDeleteImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindOneByInterfaceProjectionImplementer
buildReturnStatement(ClassNode, MethodNode, Expression, Expression, MethodNode) - Method in FindOneImplementer
buildReturnStatement(ClassNode, MethodNode, Expression, Expression, MethodNode) - Method in FindOneInterfaceProjectionImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindOneInterfaceProjectionWhereImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindOneWhereImplementer
buildRuntimeSettings(String, PropertyResolver, F) - Method in AbstractConnectionSourceFactory
buildRuntimeSettings(String, PropertyResolver, F) - Method in MongoConnectionSourceFactory
buildSelect() - Method in JpaQueryBuilder
Builds SELECT statement
buildSetPropertyExpression(Expression, String, ClassNode, Expression) - Method in AstUtils
Build static direct call to setter of a property
buildSettings(String, PropertyResolver, F, boolean) - Method in AbstractConnectionSourceFactory
buildSettings(String, PropertyResolver, F, boolean) - Method in DataSourceConnectionSourceFactory
buildSettings(String, PropertyResolver, F, boolean) - Method in MongoConnectionSourceFactory
buildSettings(String, PropertyResolver, F, boolean) - Method in SingletonConnectionSources.NullConnectionFactory
buildStaticApiLookup(ClassNode, Expression) - Method in AbstractServiceImplementer
buildSubQuery(StringBuilder, StringBuilder, int, List, ConversionService, boolean, boolean, QueryableCriteria) - Method in JpaQueryBuilder
buildUpdate(Map<String, Object>) - Method in JpaQueryBuilder
Builds an UPDATE statement.
buildValidatorFactoryAdapter(Configuration) - Method in JavaxValidatorRegistry
Build the validator factory from the validator configuration
by() - Method in Implemented
ByteArrayToStringConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster

C

cache(boolean) - Method in AbstractCriteriaBuilder
cache(boolean) - Method in AbstractDetachedCriteria
cache(boolean) - Method in BuildableCriteria
Whether to cache the query
cache(boolean) - Method in Criteria
cache(boolean) - Method in CriteriaBuilder
cache(boolean) - Method in Query
Specifies whether the query results should be cached (if supported by the underlying datastore)
cacheAdapterRepository - Field in AbstractDatastore
cacheAdapterRepository - Field in AbstractSession
cacheAdapterRepository - Field in ThirdPartyCacheEntityPersister
cacheCollection(PersistentEntity, Serializable, Collection, String) - Method in AbstractSession
cacheCollection(PersistentEntity, Serializable, Collection, String) - Method in SessionImplementor
Caches a collection
cachedClassProperties - Field in AstPropertyResolveUtils
cacheEmbeddedEntry(PersistentEntity, Serializable, T) - Method in NativeEntryEntityPersister
cacheEntry(Serializable, Object, Map<Serializable, Object>, boolean) - Method in AbstractSession
cacheEntry(Serializable, T) - Method in HashMapTPCacheAdapter
cacheEntry(Serializable, Object, Map<Serializable, Object>, boolean) - Method in MongoSession
cacheEntry(PersistentEntity, Serializable, T) - Method in SessionImplementor
Caches a native entry
cacheEntry(Serializable, T) - Method in TPCacheAdapter
Stores a cached entry in a synchronous manner.
CacheException - Class in org.grails.datastore.mapping.cache.exception
Top-level exception used to report problems with third-party cache operations
CacheException(Throwable) - Constructor in CacheException
cacheInstance(Class, Serializable, Object) - Method in AbstractSession
cacheInstance(Class, Serializable, Object) - Method in SessionImplementor
Caches an instance
cacheNativeEntry(PersistentEntity, Serializable, T) - Method in NativeEntryEntityPersister
cacheObject(Serializable, Object) - Method in AbstractSession
calculatePropertyPath(PropertyExpression) - Method in QueryStringTransformer
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
callD(Expression, String, Expression) - Method in AstMethodDispatchUtils
Make a direct method call on this object for the given name and arguments
callThisD(ClassNode, String, Expression) - Method in AstMethodDispatchUtils
Make a direct method call on this object for the given name and arguments
cancel() - Method in AbstractPersistenceEvent
cancelDelete(PersistentEntity, EntityAccess) - Method in EntityPersister
Fire the beforeDelete event on an entityAccess object and return true if the operation should be cancelled
cancelInsert(PersistentEntity, EntityAccess) - Method in EntityPersister
Fire the beforeInsert even on an entityAccess object and return true if the operation should be cancelled
cancelLoad(PersistentEntity, EntityAccess) - Method in EntityPersister
Fire the beforeDelete event on an entityAccess object and return true if the operation should be cancelled
cancelUpdate(PersistentEntity, EntityAccess) - Method in EntityPersister
Fire the beforeUpdate event on an entityAccess object and return true if the operation should be cancelled
canConvert(TypeDescriptor, TypeDescriptor) - Method in DefaultConversionService
CANDIDATE_METHODS_WHERE_ONLY - Field in DetachedCriteriaTransformer
capitalize(String) - Method in NameUtils
Converts a property name to class name according to the JavaBean convention
cascadeAfterDelete(PersistentEntity, EntityAccess, K, Object) - Method in NativeEntryEntityPersister
Delete many-to-ones after owner delete.
cascadeBeforeDelete(PersistentEntity, EntityAccess, K, Object) - Method in NativeEntryEntityPersister
Delete collections before owner delete.
cascadeDeleteCollection(EntityAccess, Association) - Method in AbstractMongoObectEntityPersister
cascadeDeleteCollection(EntityAccess, Association) - Method in NativeEntryEntityPersister
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.
CENTER_OPERATOR - Field in MongoQuery
CENTER_SPHERE_OPERATOR - Field in MongoQuery
childType - Field in AbstractPersistentCollection
Circle - Class in grails.mongodb.geo
Represents a circle with the radius specified in the unit of the coordinate system
Circle(Point, double) - Constructor in Circle
Construct a circle for the given center Point and radius
CircleType - Class in org.grails.datastore.gorm.mongo.geo
A custom type for persisting Circle instances
CircleType() - Constructor in CircleType
CLASS - Field in GormProperties
classLoader - Field in AbstractDatastoreInitializer
ClassMapping - Interface in org.grails.datastore.mapping.model
A class mapping is a mapping between a class and some external form such as a table, column family, or document (depending on the underlying data store).
classMapping - Field in NativeEntryEntityPersister
ClasspathEntityScanner - Class in org.grails.datastore.gorm.utils
Utility class for scanning the classpath for entities
ClasspathEntityScanner() - Constructor in ClasspathEntityScanner
ClassPropertyFetcher - Class in org.grails.datastore.mapping.reflect
Reads the properties of a class in an optimized manner avoiding exceptions.
ClassUtils - Class in org.grails.datastore.mapping.reflect
Helper methods for dealing with classes and reflection
cleanup() - Method in MongoSpec
clear() - Method in AbstractDatastorePersistenceContextInterceptor
clear() - Method in AbstractPersistentCollection
clear(Object) - Method in AbstractSession
clear() - Method in DirtyCheckingCollection
clear() - Method in DirtyCheckingMap
clear() - Method in PagedResultList
clear() - Method in PropertyResolverMap
clear(Object) - Method in Session
Clear a specific object
clearCache() - Method in ClassPropertyFetcher
@deprecated Does nothing, no longer needed
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
clearPendingOperations() - Method in AbstractSession
clearReflectors() - Method in FieldEntityAccess
clearSessionProperty(String) - Method in AbstractAttributeStoringSession
Clear a property in a session.
clearSessionProperty(String) - Method in Session
Clear a property in a session.
clone() - Method in AbstractDetachedCriteria
clone() - Method in DetachedCriteria
clone() - Method in Property
clone() - Method in Query
cloneAnnotation(AnnotationNode) - Method in AstUtils
cloneGlobalConstraint() - Method in Entity
close() - Method in AbstractConnectionSources
close() - Method in DataSourceConnectionSource
close() - Method in DefaultConnectionSource
close() - Method in GormEnhancer
Closes the enhancer clearing any stored static state
close() - Method in GormValidatorFactoryAdapter
close() - Method in JavaxValidatorRegistry
close() - Method in MongoDatastore
close() - Method in MongoQuery.AggregatedResultList
close() - Method in MongoQuery.MongoResultList
closed - Field in DefaultConnectionSource
closeSession(Session) - Method in DatastoreUtils
Perform actual closing of the Session, catching and logging any cleanup exceptions thrown.
closeSessionOrRegisterDeferredClose(Session, Datastore) - Method in DatastoreUtils
Close the given Session or register it for deferred close.
ClosureToMapPopulator - Class in org.grails.datastore.mapping.reflect
A simple class that takes method invocations and property setters and populates the arguments of these into the supplied map ignoring null values.
ClosureToMapPopulator() - Constructor in ClosureToMapPopulator
CODEC_ENGINE - Field in MongoConstants
CODEC_ENGINE - Field in MongoDatastore
CodecCustomTypeMarshaller - Class in org.grails.datastore.bson.codecs
Custom type handler for types that have codecs
CodecCustomTypeMarshaller(Codec, MappingContext) - Constructor in CodecCustomTypeMarshaller
codecEngine - Field in MongoDatastore
CodecExtensions - Class in org.grails.datastore.bson.codecs
Additional org.bson.codecs.Codec extensions.
CodecExtensions.CurrencyCodec - Class in org.grails.datastore.bson.codecs
CodecExtensions.GStringCodec - Class in org.grails.datastore.bson.codecs
CodecExtensions.IntRangeCodec - Class in org.grails.datastore.bson.codecs
CodecExtensions.ListCodec - Class in org.grails.datastore.bson.codecs
CodecExtensions.LocaleCodec - Class in org.grails.datastore.bson.codecs
CodecExtensions.MapCodec - Class in org.grails.datastore.bson.codecs
codecRegistry - Field in MongoDatastore
CodecRegistryAware - Interface in org.grails.datastore.bson.codecs
Can be implemented by codecs to be made aware of the registry
CodecRegistryEmbeddedQueryEncoder - Class in org.grails.datastore.bson.query
Default embedded encoder that uses the codec registry
CodecRegistryEmbeddedQueryEncoder(CodecRegistry) - Constructor in CodecRegistryEmbeddedQueryEncoder
CodecRegistryProvider - Interface in org.grails.datastore.bson.codecs
An interface for objects that provide a codec registry
collectAndOrderGormTransformations(AnnotatedNode) - Method in OrderedGormTransformation
Collection - Class in org.grails.datastore.mapping.document.config
Configures how an entity is mapped onto a Document collection
collection - Field in AbstractPersistentCollection
collectMappedClasses(String) - Method in AbstractDatastoreInitializer
ColumnDatastore - Interface in org.grails.datastore.mapping.column
@author Guillaume Laforge
commit() - Method in SessionOnlyTransaction
commit() - Method in Transaction
Commit the transaction.
comparator() - Method in PersistentSortedSet
compare(T, T) - Method in OrderedComparator
compareTo(GrailsVersion) - Method in GrailsVersion
compareTo(Snapshot) - Method in Snapshot
compilationUnit - Field in DirtyCheckingTransformer
compilationUnit - Field in GormEntityTransformation
COMPILE_STATIC_TYPE - Field in AstUtils
compileMethodStatically(SourceUnit, MethodNode) - Method in AbstractMethodDecoratingTransformation
compoundIndex(Map) - Method in MongoCollection
Sets a compound index definition
ConfigurableApplicationContextEventPublisher - Class in org.grails.datastore.gorm.events
Bridge to Spring ApplicationContext event publishing
ConfigurableApplicationContextEventPublisher(ConfigurableApplicationContext) - Constructor in ConfigurableApplicationContextEventPublisher
ConfigurableApplicationEventPublisher - Interface in org.grails.datastore.gorm.events
An org.springframework.context.ApplicationEventPublisher that is configurable with new listeners
ConfigurableParameterNameProvider - Class in org.grails.datastore.gorm.validation.javax
A configurable parameter name provider
configuration - Field in AbstractConnectionSources
CONFIGURATION_PREFIX - Field in AbstractMappingContext
ConfigurationBuilder - Class in org.grails.datastore.mapping.config
A generic configuration builder that implementers can implement to construct the configuration from the source org.springframework.core.env.PropertyResolver
ConfigurationBuilder(PropertyResolver, String, Object, String) - Constructor in ConfigurationBuilder
@param propertyResolver The property resolver
ConfigurationException - Class in org.grails.datastore.mapping.core.exceptions
An exception thrown if a configuration error occurs
ConfigurationException(String, Throwable) - Constructor in ConfigurationException
ConfigurationUtils - Class in org.grails.datastore.mapping.config
Utility methods for configuration
configure() - Method in AbstractDatastoreInitializer
Configures for an existing Mongo instance
configure(PropertyResolver) - Method in AbstractMappingContext
configure() - Method in DynamicMethodsConfigurer
configure(E) - Method in MappingDefinition
Configures an existing mapping
configure() - Method in MongoDbDataStoreSpringInitializer
Configures for an existing Mongo instance
configureExisting(T, Closure) - Method in Entity
Configures an existing Mapping instance
configureExisting(T, Map) - Method in Property
Configures an existing PropertyConfig instance
configureForBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in AbstractDatastoreInitializer
Configures an existing BeanDefinitionRegistry
configureOwningSide(Association) - Method in GormMappingConfigurationStrategy
configureQueryWithArguments(Class, Query, Object) - Method in DynamicFinder
configureSpring(Closure) - Method in SpringConfigurer
ConfigUtils - Class in org.grails.datastore.mapping.config.utils
@author Graeme Rocher
conjunction() - Method in Query
Creates a conjunction (AND) query
connect(PropertyResolver) - Method in AbstractDatastore
connect() - Method in Datastore
Connects to the datastore with the default connection details, normally provided via the datastore implementations constructor
connection(String) - Method in Entity
Sets the datastore to use
connection - Field in ReadOnly
The connection to use by default @default ConnectionSource.DEFAULT
connection - Field in Transactional
The connection to use by default @default ConnectionSource.DEFAULT
connectionDetails - Field in AbstractDatastore
connectionName - Field in AbstractDetachedCriteria
ConnectionNotFoundException - Class in org.grails.datastore.mapping.core
Thrown when a session cannot be located.
ConnectionNotFoundException(String) - Constructor in ConnectionNotFoundException
connections(List<String>) - Method in Entity
Sets the connection to use
ConnectionSource - Interface in org.grails.datastore.mapping.core.connections
Represents a connection source, which could be a SQL DataSource, a MongoClient etc.
ConnectionSourceFactory - Interface in org.grails.datastore.mapping.core.connections
A factory for creating new ConnectionSource instances
connectionSourceFactory - Field in AbstractConnectionSources
connectionSourceMap - Field in InMemoryConnectionSources
connectionSourceMap - Field in StaticConnectionSources
ConnectionSources - Interface in org.grails.datastore.mapping.core.connections
Models multiple connection sources
connectionSources - Field in GormStaticApi
connectionSources - Field in MongoDatastore
ConnectionSourceSettings - Class in org.grails.datastore.mapping.core.connections
Default settings shared across all implementations
ConnectionSourceSettings.CustomSettings - Class in org.grails.datastore.mapping.core.connections
Any custom settings
ConnectionSourceSettings.DefaultSettings - Class in org.grails.datastore.mapping.core.connections
Represents the default settings
ConnectionSourceSettingsBuilder - Class in org.grails.datastore.mapping.core.connections
Builder for the default settings
ConnectionSourceSettingsBuilder(PropertyResolver, String) - Constructor in ConnectionSourceSettingsBuilder
ConnectionSourcesInitializer - Class in org.grails.datastore.mapping.core.connections
Initializer sequence for creating ConnectionSources
ConnectionSourcesListener - Interface in org.grails.datastore.mapping.core.connections
A listener for connection sources
ConnectionSourcesProvider - Interface in org.grails.datastore.mapping.core.connections
An interfaces for classes that provide ConnectionSources
ConnectionSourcesSupport - Class in org.grails.datastore.mapping.core.connections
Utility methods for ConnectionSource handling
connectionString - Field in AbstractMongoConnectionSourceSettings
The connection string
connectStateless() - Method in AbstractDatastore
connectStateless() - Method in StatelessDatastore
Connect and return a stateless session
CONSTANT_NULL - Field in DirtyCheckingTransformer
CONSTRAINTS - Field in GormProperties
constraintValidatorFactory(ConstraintValidatorFactory) - Method in GormValidatorFactoryAdapter.GormValidatorContext
contains(Object) - Method in AbstractPersistentCollection
contains(Object) - Method in AbstractSession
contains(Object) - Method in PagedResultList
contains(Object) - Method in Session
Whether the object is contained within the first level cache
containsAll(Collection) - Method in AbstractPersistentCollection
containsAll(Collection<?>) - Method in PagedResultList
containsKey(Object) - Method in PropertyResolverMap
containsRegisteredBean(Object, BeanDefinitionRegistry, String) - Method in AbstractDatastoreInitializer
containsSession(Session) - Method in SessionHolder
containsValue(Object) - Method in PropertyResolverMap
context - Field in AbstractClassMapping
context - Field in AbstractPersistentEntity
context - Field in AbstractPersistentProperty
conversionService - Field in AbstractMappingContext
convert(byte[]) - Method in ByteArrayToStringConverter
convert(Object, TypeDescriptor, TypeDescriptor) - Method in DefaultConversionService
convert(Double) - Method in DoubleToFloatConverter
convert(int[]) - Method in IntArrayToIntegerArrayConverter
convert(Integer) - Method in IntegerToByteConverter
convert(Integer) - Method in IntegerToShortConverter
convert(long[]) - Method in LongArrayToLongArrayConverter
convert(String) - Method in StringToBigDecimalConverter
convert(String) - Method in StringToBigIntegerConverter
convert(String) - Method in StringToByteArrayConverter
convert(String) - Method in StringToCurrencyConverter
convert(String) - Method in StringToLocaleConverter
convert(String) - Method in StringToShortConverter
convert(String) - Method in StringToTimeZoneConverter
convert(String) - Method in StringToURLConverter
convertArgumentList(Collection) - Method in AbstractDetachedCriteria
convertArguments(PersistentEntity) - Method in MethodExpression
convertArguments(PersistentEntity) - Method in MethodExpression.InList
convertArguments(PersistentEntity) - Method in MethodExpression.InRange
convertArguments(PersistentEntity) - Method in MethodExpression.NotInList
convertBasicEntryValue(PersistentEntity, Basic, Object) - Method in NativeEntryEntityPersister
Convert a Basic (collection-style) property native entry value taken from an entity into the target property type.
convertDBObject(Object) - Method in MongoQuery.MongoResultList
convertIdentityIfNecessasry(PersistentProperty, Serializable) - Method in AbstractSession
convertIdIfNecessary(PersistentEntity, Serializable) - Method in NativeEntryEntityPersister
convertObject(Object) - Method in AbstractResultList
convertObject(Object) - Method in MongoQuery.MongoResultList
convertToGeoDocument(Shape) - Method in GeoJSONType
convertToNativeKey(Serializable) - Method in NativeEntryEntityPersister
Subclasses should override to provide any conversion necessary to convert to a nativeKey
COORDINATES - Field in GeoJSONType
copyAnnotations(AnnotatedNode, AnnotatedNode, Set<String>, Set<String>) - Method in AstUtils
copyClassAnnotations(MethodNode, MethodNode) - Method in AbstractServiceImplementer
Copies annotation from the abstract method to the implementation method
copyParameters(Map<String, ClassNode>, Parameter, List<String>) - Method in AstUtils
count() - Method in AbstractCriteriaBuilder
Count the number of records returned
count() - Method in AbstractDetachedCriteria.DetachedProjections
count(Closure) - Method in CriteriaBuilder
Defines and 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 GormEntity
Counts the number of persisted entities
count(Map, Closure) - Method in GormQueryOperations
Counts the number of records returned by the query
count() - Method in GormStaticApi
Counts the number of persisted entities
count() - Method in GormStaticOperations
Counts the number of persisted entities
count(Bson) - Method in MongoEntity
Counts the number of the entities in the collection.
count(DBCollection, Map, ReadPreference) - Method in MongoExtensions
count(Bson) - Method in MongoStaticApi
count(Closure) - Method in NamedCriteriaProxy
COUNT_PROJECTION - Field in Projections
count() - Method in ProjectionList
Count the number of records returned
count() - Method in Projections
Projection that returns the number of records from the query instead of the results themselves
count() - Method in Query.ProjectionList
count() - Method in TenantDelegatingGormOperations
CountByFinder - Class in org.grails.datastore.gorm.finders
Supports counting objects.
CountByFinder(MappingContext) - Constructor in CountByFinder
CountByImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements countBy* methods on Service instances
countDistinct(String) - Method in AbstractCriteriaBuilder
Projection that signifies to count distinct results
countDistinct(String) - Method in AbstractDetachedCriteria.DetachedProjections
countDistinct(Collection, String) - Method in ManualProjections
Counts the number of distinct values
countDistinct(String) - Method in ProjectionList
Count the number of records returned
countDistinct(String) - Method in Projections
Projection that signifies to return only distinct results
countDistinct(String) - Method in Query.ProjectionList
countHits(String) - Method in MongoEntity
Counts the number of hits
countHits(String) - Method in MongoStaticApi
countHits(String) - Method in MongoStaticOperations
Counts the number of hits
CountImplementer - Class in org.grails.datastore.gorm.services.implementers
Implementation for counting
CountWhereImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements support for the Where annotation on Service instances that return a multiple results
create(String, PropertyResolver, F) - Method in AbstractConnectionSourceFactory
create(String, PropertyResolver, F) - Method in ConnectionSourceFactory
Creates a new ConnectionSource for the given name and configuration
create(ConnectionSourceFactory<T, S>, PropertyResolver) - Method in ConnectionSourcesInitializer
Creates the ConnectionSources for the given factory and configuration
create(ClassLoader) - Method in DataSourceBuilder
create(String, DataSourceSettings) - Method in DataSourceConnectionSourceFactory
create() - Method in GormEntity
Creates an instance of this class
create() - Method in GormStaticApi
Creates an instance of this class
create() - Method in GormStaticOperations
Creates an instance of this class
create(String, MongoConnectionSourceSettings) - Method in MongoConnectionSourceFactory
create(String, S) - Method in SingletonConnectionSources.NullConnectionFactory
create(String, DataSourceSettings) - Method in SpringDataSourceConnectionSourceFactory
create() - Method in TenantDelegatingGormOperations
createAggregateBeanDefinition(ManagedList) - Method in PersistenceContextInterceptorAggregator
createAggregatePersistenceContextInterceptorOnDemand(BeanDefinitionRegistry) - Method in PersistenceContextInterceptorAggregator
createAlias(String, String) - Method in AbstractDetachedCriteria
If the underlying datastore supports aliases, then an alias is created for the given association
createBasicCollection(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
createBsonQuery(CodecRegistry, PersistentEntity, Junction) - Method in BsonQuery
Creates a new query for the given registry, entity and criteria
createBuilder() - Method in ConfigurationBuilder
Creates the native builder
createBuilder() - Method in ConnectionSourceSettingsBuilder
createBuilder() - Method in DataSourceSettingsBuilder
createBuilder() - Method in MongoConnectionSourceSettingsBuilder
createCollection(MongoDatabase, String, Map<String, Object>) - Method in MongoExtensions
createCollection() - Method in PersistentSet
createConcreteCollection(Class) - Method in MappingUtils
Creates a concrete collection for the supplied interface
createConfigurationBuilder(PersistentEntity, R) - Method in AbstractGormMappingFactory
createCriteria() - Method in GormEntity
Creates a criteria builder instance
createCriteria() - Method in GormStaticApi
Creates a criteria builder instance
createCriteria() - Method in GormStaticOperations
Creates a criteria builder instance
createCriteria() - Method in MongoEntity
@return Custom MongoDB criteria builder
createCriteria() - Method in MongoStaticApi
createCriteria() - Method in MongoStaticOperations
@return Custom MongoDB criteria builder
createCriteria() - Method in TenantDelegatingGormOperations
createCriterion() - Method in GeoIntersects
createCriterion() - Method in GeoWithin
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.NotInList
createCriterion() - Method in MethodExpression.Rlike
createCriterion() - Method in Near
createCriterion() - Method in NearSphere
createCriterion() - Method in WithinBox
createCriterion() - Method in WithinCircle
createCriterion() - Method in WithinPolygon
createCustom(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates a custom prpoerty type
createDBObjectWithKey(Object) - Method in MongoEntityPersister
createDefaultConnectionSources(MongoClient, PropertyResolver, MongoMappingContext) - Method in MongoDatastore
Creates the connection sources for an existing com.mongodb.MongoClient
createDefaultIdentityMapping(ClassMapping, T) - Method in MappingFactory
createDelegingMethodBody(Parameter, MethodCallExpression) - Method in AbstractMethodDecoratingTransformation
createDocumentMappingFactory(Closure) - Method in DocumentMappingContext
createDocumentMappingFactory(Closure) - Method in MongoMappingContext
createDynamicFinders(Datastore) - Method in GormEnhancer
createEmbedded(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates an Embedded type used to model an embedded association (composition)
createEmbeddedCacheEntryKey(Object) - Method in NativeEntryEntityPersister
createEmbeddedCollection(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates an EmbeddedCollection type used to model an embedded collection association (composition).
createEmbeddedEntity(Class) - Method in AbstractMappingContext
createEmbeddedEntity(Class) - Method in MappingContext
createEmbeddedEntity(Class) - Method in MongoMappingContext
createEmbeddedEntityCodec(CodecRegistry, PersistentEntity) - Method in EmbeddedCollectionDecoder
createEmbeddedEntityCodec(CodecRegistry, PersistentEntity) - Method in EmbeddedCollectionEncoder
createEmbeddedEntityCodec(CodecRegistry, PersistentEntity) - Method in EmbeddedDecoder
createEmbeddedEntityCodec(CodecRegistry, PersistentEntity) - Method in EmbeddedEncoder
createEnhancer() - Method in DynamicMethodsConfigurer
createEntityAccess(PersistentEntity, Object) - Method in AbstractMappingContext
createEntityAccess(PersistentEntity, Object) - Method in AbstractSession
createEntityAccess(PersistentEntity, def) - Method in BsonPersistentEntityCodec
createEntityAccess(PersistentEntity, Object) - Method in EntityPersister
createEntityAccess(PersistentEntity, Object) - Method in MappingContext
Creates an EntityAccess instance for the given entity and instance of said entity
createEntityAccess(PersistentEntity, Object) - Method in MongoCodecEntityPersister
createEntityAccess(PersistentEntity, Object, T) - Method in NativeEntryEntityPersister
createEntityAccess(PersistentEntity, Object) - Method in SessionImplementor
createFinderInvocation(Class, String, Closure, Object) - Method in DynamicFinder
createFromCoords(List<List<Double>>) - Method in GeoJSONType
createFromCoords(List<List<Double>>) - Method in LineStringType
createFromCoords(List) - Method in MultiLineStringType
createFromCoords(List) - Method in MultiPointType
createFromCoords(List) - Method in MultiPolygonType
createFromCoords(List) - Method in PointType
createFromCoords(List) - Method in PolygonType
createFromCoords(List) - Method in ShapeType
createGormInstanceApi(Class) - Method in DynamicMethodsConfigurer
createGormStaticApi(Class, List<FinderMethod>) - Method in DynamicMethodsConfigurer
createIdentity(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates an identifier property
createIdentityMapping(ClassMapping) - Method in AbstractGormMappingFactory
createIdentityMapping(ClassMapping) - Method in MappingFactory
createIdQuery(Object) - Method in MongoCodecEntityPersister
createIndex(MongoCollection<Document>, Map<String, Object>, Map<String, Object>) - Method in MongoExtensions
createInstanceCacheEntryKey(Object) - Method in AbstractMongoObectEntityPersister
createManyToMany(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates a ManyToMany type used to model a many-to-many association between entities
createManyToOne(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates a many-to-one association type used for a mapping a many-to-one association between entities
createMappedForm(PersistentProperty) - Method in AbstractGormMappingFactory
createMappedForm(PersistentProperty) - Method in GormKeyValueMappingFactory
createMappedForm(PersistentProperty) - Method in KeyValueMappingFactory
createMappedForm(PersistentProperty) - Method in MappingFactory
Creates the mapped form of a PersistentProperty instance
createMappingContext(PropertyResolver, Class) - Method in MongoDatastore
createMarkDirtyMethodCall(MethodNode, String, Variable) - Method in DirtyCheckingTransformer
createMethodHandler(Session, Class, Class, Serializable) - Method in JavassistProxyFactory
createMongoClient(PropertyResolver, Builder, MongoMappingContext) - Method in MongoDatastore
createMongoClient() - Method in MongoSpec
@return The default mongo client
createNamedCriteriaProxy(Closure) - Method in NamedQueriesBuilder
createNativeObjectForEmbedded(Association, Object) - Method in NativeEntryEntityPersister
createNewEntry(String) - Method in MongoEntityPersister
createNewEntry(String, Object) - Method in NativeEntryEntityPersister
Creates a new entry for the given family.
createObjectFromEmbeddedNativeEntry(PersistentEntity, T) - Method in NativeEntryEntityPersister
createObjectFromNativeEntry(PersistentEntity, Serializable, T) - Method in NativeEntryEntityPersister
createOneToMany(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates a OneToMany type used to model a one-to-many association between entities
createOneToOne(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates a one-to-one association type used for mapping a one-to-one association between entities
createPersistentEntity(Class, boolean) - Method in AbstractMappingContext
createPersistentEntity(Class, boolean) - Method in DocumentMappingContext
createPersistentEntity(Class, boolean) - Method in KeyValueMappingContext
createPersister(Class, MappingContext) - Method in AbstractSession
createPersister(Class, MappingContext) - Method in MongoCodecSession
createPersister(Class, MappingContext) - Method in MongoSession
createPropertyDescriptor(Class, MetaProperty) - Method in ClassPropertyFetcher
Creates a PropertyDescriptor from a MetaBeanProperty
createPropertyDescriptor(Class, MetaProperty) - Method in MappingFactory
Creates a PropertyDescriptor from a MetaBeanProperty
createPropertyMapping(PersistentProperty<T>, PersistentEntity) - Method in MappingFactory
createPropertyResolver(Map<String, Object>) - Method in DatastoreUtils
Creates a org.springframework.core.env.PropertyResolver from the given configuration
createPropertyResolvers(Collection<Map<String, Object>>) - Method in DatastoreUtils
Creates a org.springframework.core.env.PropertyResolver from the given configuration
createProxiedInstance(Session, Class, Class, Serializable) - Method in JavassistProxyFactory
createProxy(Session, AssociationQueryExecutor<K, T>, K) - Method in GroovyProxyFactory
createProxy(Session, AssociationQueryExecutor<K, T>, K) - Method in JavassistProxyFactory
createProxy(Session, AssociationQueryExecutor<K, T>, K) - Method in ProxyFactory
Creates a proxy
createQuery(Class) - Method in AbstractSession
createQuery() - Method in MongoCodecEntityPersister
createQuery() - Method in MongoEntityPersister
createQuery(Class) - Method in MongoSession
createQuery() - Method in Persister
Creates a query for the entity
createQuery(String) - Method in Query
Creates an association query
createQuery(Class, String) - Method in QueryAliasAwareSession
Creates a query instance for the give type
createQuery(Class) - Method in QueryCreator
Creates a query instance for the give type
createQuery(Class) - Method in Session
Creates a query instance for the give type
createQueryObject(PersistentEntity) - Method in MongoQuery
createQueryStringTransformer(SourceUnit, VariableScope) - Method in AbstractStringQueryImplementer
Creates the query string transformer
createRuntime(String, PropertyResolver, S) - Method in AbstractConnectionSourceFactory
createRuntime(String, PropertyResolver, S) - Method in ConnectionSourceFactory
Creates a connection at runtime.
createSchema(Connection, String) - Method in DefaultSchemaHandler
createSchema(Connection, String) - Method in SchemaHandler
Creates the given schema.
createSession(PropertyResolver) - Method in AbstractDatastore
Creates the native session
createSession(PropertyResolver) - Method in MongoDatastore
createSetAndUnsetDoc(Document) - Method in MongoSession
createSimple(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates a simple property type used for mapping basic types such as String, long, integer etc.
createStatelessSession(PropertyResolver) - Method in AbstractDatastore
Creates the native stateless session
createStatelessSession(PropertyResolver) - Method in MongoDatastore
createTenantId(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates the tenant identifier property
createTimestamp(TimestampProvider, Class<T>) - Method in AggregateTimestampProvider
createTimestamp(Class<T>) - Method in DefaultTimestampProvider
createTimestamp(Class<T>) - Method in TimestampProvider
Creates a timestamp for the given class
createValidationEvent(def) - Method in GormValidationApi
createValidatorRegistry(MappingContext, ConnectionSourceSettings, MessageSource) - Method in ValidatorRegistries
Creates the most appropriate validator registry
Criteria - Interface in org.grails.datastore.mapping.query.api
Interface for the implementations that construct of criteria queries.
criteria - Field in AbstractDetachedCriteria
criteria - Field in Query
CriteriaBuilder - Class in grails.gorm
Criteria builder implementation that operates against DataStore abstraction.
CriteriaBuilder(Class, Session, Query) - Constructor in CriteriaBuilder
CURRENT_TENANT_ANNOTATION_TYPE - Field in TenantTransform
currentClassNode - Field in DetachedCriteriaTransformer
currentId() - Method in DefaultTenantService
currentId(Class<? extends Datastore>) - Method in Tenants
@return The current tenant id for the given datastore type
currentId() - Method in TenantService
@return The current tenant id
currentlyInitializing() - Method in AbstractPersistentCollection
CurrentTenant - Annotation Type in grails.gorm.multitenancy
currentTimeMillis() - Method in DefaultTimestampProvider
currentTransaction(Datastore) - Method in TransactionUtils
cursor - Field in AbstractResultList
Custom - Class in org.grails.datastore.mapping.model.types
Represents a custom type ie. a type whose database read/write semantics are specified by the user.
Custom(PersistentEntity, MappingContext, String, Class<?>, CustomTypeMarshaller<?, ?, ?>) - Constructor in Custom
CustomizableRollbackTransactionAttribute - Class in org.grails.datastore.mapping.transactions
Extended version of org.springframework.transaction.interceptor.RuleBasedTransactionAttribute that ensures all exception types are rolled back and allows inheritance of setRollbackOnly
CustomizableRollbackTransactionAttribute(RuleBasedTransactionAttribute) - Constructor in CustomizableRollbackTransactionAttribute
CustomTypeDecoder - Class in org.grails.datastore.bson.codecs.decoders
A {@PropertyDecoder} capable of decoding {@Custom} types
CustomTypeEncoder - Class in org.grails.datastore.bson.codecs.encoders
A {@PropertyEncoder} capable of encoding {@Custom} types
CustomTypeMarshaller - Interface in org.grails.datastore.mapping.engine.types
Interface for defining custom datastore types beyond the simple and association types supported out of the box.

D

DatabaseDriver - Enum in org.grails.datastore.gorm.jdbc
Enumeration of common database drivers.
databaseName - Field in MongoDbDataStoreSpringInitializer
datasource(String) - Method in Entity
Sets the datastore to use
DataSourceBuilder - Class in org.grails.datastore.gorm.jdbc
NOTE: Forked from Spring Boot logic to avoid hard dependency on Boot.
DataSourceBuilder.ReadOnlyDriverManagerDataSource - Class in org.grails.datastore.gorm.jdbc
DataSourceBuilder(ClassLoader) - Constructor in DataSourceBuilder
DataSourceConnectionSource - Class in org.grails.datastore.gorm.jdbc.connections
A ConnectionSource for JDBC javax.sql.DataSource objects.
DataSourceConnectionSource(String, DataSource, DataSourceSettings) - Constructor in DataSourceConnectionSource
DataSourceConnectionSourceFactory - Class in org.grails.datastore.gorm.jdbc.connections
A ConnectionSourceFactory for creating JDBC javax.sql.DataSource connections
DataSourceSettings - Class in org.grails.datastore.gorm.jdbc.connections
DataSource settings
DataSourceSettingsBuilder - Class in org.grails.datastore.gorm.jdbc.connections
Settings builder for DataSourceSettings
DataSourceSettingsBuilder(PropertyResolver, String, Object) - Constructor in DataSourceSettingsBuilder
Datastore - Interface in org.grails.datastore.mapping.core
The Datastore interface is the basic common denominator all NoSQL databases should support:
  • Storing data
  • Retrieving one or more elements at a time, identified by their keys
  • Deleting one or more elements
datastore - Field in AbstractDatastoreApi
datastore - Field in AbstractDatastorePersistenceContextInterceptor
datastore - Field in AbstractFinder
datastore - Field in AbstractPersistenceEventListener
datastore() - Method in AbstractServiceImplementer
@return The datastore expression
datastore - Field in CurrentTenant
If you are using multiple GORM implementations and wish to create a transaction for a specific implementation then use this.
datastore - Field in MultiTenantEventListener
datastore - Field in ReadOnly
If you are using multiple GORM implementations and wish to create a transaction for a specific implementation then use this.
datastore - Field in Tenant
If you are using multiple GORM implementations and wish to create a transaction for a specific implementation then use this.
datastore - Field in Transactional
If you are using multiple GORM implementations and wish to create a transaction for a specific implementation then use this.
DATASTORE_TYPE - Field in MongoDbDataStoreSpringInitializer
datastore - Field in WithoutTenant
If you are using multiple GORM implementations and wish to create a transaction for a specific implementation then use this.
DatastoreAware - Interface in org.grails.datastore.mapping.core
An interface for classes to implement that want access to the Datastore
DatastoreConfigurationException - Class in org.grails.datastore.mapping.model
Exception thrown when something goes wrong configuring a datastore.
DatastoreConfigurationException(String, Throwable) - Constructor in DatastoreConfigurationException
DatastoreEnvironment - Class in org.grails.datastore.mapping.config
An environment for GORM
DatastoreException - Class in org.grails.datastore.mapping.core
General exception for errors related to the configuration of the Datastore
DatastoreException(String, Throwable) - Constructor in DatastoreException
DatastoreInitializedEvent - Class in org.grails.datastore.mapping.engine.event
Fired when the datastore is initialised
DatastoreInitializedEvent(Object) - Constructor in DatastoreInitializedEvent
datastoresByConnectionSource - Field in MongoDatastore
DatastoreTransactionManager - Class in org.grails.datastore.mapping.transactions
A org.springframework.transaction.PlatformTransactionManager instance that works with the Spring datastore abstraction
DatastoreUtils - Class in org.grails.datastore.mapping.core
Helper class for obtaining Datastore sessions.
DATE_CREATED - Field in GormProperties
DATE_CREATED_PROPERTY - Field in AutoTimestampEventListener
DB_REF_ID_FIELD - Field in PersistentEntityCodec
decapitalize(String) - Method in NameUtils
Converts class name to property name using JavaBean decaplization
declaredWriteConcerns - Field in AbstractMongoSession
decode(Class<T>, Object) - Method in AbstractMongoSession
Decodes the given entity type from the given native object type
decode(BsonReader, Basic, EntityAccess, DecoderContext, CodecRegistry) - Method in BasicCollectionTypeDecoder
decode(BsonReader, DecoderContext) - Method in BigDecimalCodec
decode(BsonReader, DecoderContext) - Method in BigIntegerCodec
decode(BsonReader, DecoderContext) - Method in BsonPersistentEntityCodec
decode(BsonReader, DecoderContext) - Method in CodecExtensions.CurrencyCodec
decode(BsonReader, DecoderContext) - Method in CodecExtensions.GStringCodec
decode(BsonReader, DecoderContext) - Method in CodecExtensions.IntRangeCodec
decode(BsonReader, DecoderContext) - Method in CodecExtensions.ListCodec
decode(BsonReader, DecoderContext) - Method in CodecExtensions.LocaleCodec
decode(BsonReader, DecoderContext) - Method in CodecExtensions.MapCodec
decode(CodecRegistry, BsonReader, DecoderContext, CustomTypeMarshaller, PersistentProperty, EntityAccess) - Method in CustomTypeDecoder
decode(BsonReader, EmbeddedCollection, EntityAccess, DecoderContext, CodecRegistry) - Method in EmbeddedCollectionDecoder
decode(BsonReader, Embedded, EntityAccess, DecoderContext, CodecRegistry) - Method in EmbeddedDecoder
decode(BsonReader, Identity, EntityAccess, DecoderContext, CodecRegistry) - Method in IdentityDecoder
decode(BsonReader, Identity, EntityAccess) - Method in IdentityDecoder.IdentityTypeDecoder
decode(Class, Object) - Method in MongoCodecSession
decode(Class, Object) - Method in MongoSession
decode(BsonReader, Association, EntityAccess, DecoderContext, CodecRegistry) - Method in PersistentEntityCodec.OneToManyDecoder
decode(BsonReader, ToOne, EntityAccess, DecoderContext, CodecRegistry) - Method in PersistentEntityCodec.ToOneDecoder
decode(BsonReader, T, EntityAccess, DecoderContext, CodecRegistry) - Method in PropertyDecoder
Decodes a persistent property using the given reader
decode(BsonReader, Simple, EntityAccess, DecoderContext, CodecRegistry) - Method in SimpleDecoder
decode(BsonReader, PersistentProperty, EntityAccess) - Method in SimpleDecoder.TypeDecoder
decode(BsonReader, TenantId, EntityAccess, DecoderContext, CodecRegistry) - Method in TenantIdDecoder
decodeAssociations(Session, EntityAccess) - Method in PersistentEntityCodec
DECORATED_METHODS - Field in AbstractMethodDecoratingTransformation
Key used to store within the original method node metadata, all previous decorated methods
DEFAULT_CONNECTION_SOURCE_NAMES - Field in ConnectionSourcesSupport
DEFAULT - Field in ConnectionSource
The name of the default connection source
DEFAULT_DATA_SOURCE - Field in Entity
@deprecated Use ConnectionSource.ALL instead
DEFAULT_DATABASE_NAME - Field in MongoDbDataStoreSpringInitializer
DEFAULT_DECODER_CONTEXT - Field in BsonPersistentEntityCodec
DEFAULT_DECODER - Field in SimpleDecoder
DEFAULT_DECODERS - Field in IdentityDecoder
DEFAULT_DECODERS - Field in SimpleDecoder
DEFAULT_ENCODER_CONTEXT - Field in BsonPersistentEntityCodec
DEFAULT_ENCODER - Field in SimpleEncoder
DEFAULT_MAPPING_STRATEGY - Field in GormProperties
DEFAULT_ORDER - Field in PersistenceEventListener
DEFAULT_TIMEOUT - Field in LockableEntityPersister
DefaultApplicationEventPublisher - Class in org.grails.datastore.gorm.events
Simple implementation that just iterates over a sequence of listeners
DefaultConnectionSource - Class in org.grails.datastore.mapping.core.connections
Abstract implementation of the ConnectionSource interface
defaultConnectionSource - Field in AbstractConnectionSources
DefaultConnectionSource(String, T, S) - Constructor in DefaultConnectionSource
defaultConstraints - Field in AbstractGormMappingFactory
DefaultConversionService - Class in org.grails.datastore.mapping.model.types.conversion
Default conversion service th
DefaultConversionService() - Constructor in DefaultConversionService
defaultDatabase - Field in AbstractMongoSession
defaultDatabase - Field in MongoDatastore
defaultDatabaseName - Field in DocumentMappingContext
defaultFlushMode - Field in MongoDatastore
defaultMapping - Field in MongoDbDataStoreSpringInitializer
DefaultMappingConfigurationBuilder - Class in org.grails.datastore.mapping.config.groovy
@author Graeme Rocher
DefaultMappingConfigurationBuilder(Entity, Class) - Constructor in DefaultMappingConfigurationBuilder
defaultMax - Field in AbstractDetachedCriteria
defaultOffset - Field in AbstractDetachedCriteria
defaultQualifier - Field in GormStaticApi
DefaultSchemaHandler - Class in org.grails.datastore.gorm.jdbc.schema
Resolves the schema names
DefaultSchemaHandler(String, String, String) - Constructor in DefaultSchemaHandler
DefaultServiceRegistry - Class in org.grails.datastore.mapping.services
The default ServiceRegistry implementation
DefaultServiceRegistry(Datastore, boolean) - Constructor in DefaultServiceRegistry
DefaultTenantService - Class in org.grails.datastore.gorm.services
Default implementation of the TenantService interface
DefaultTimestampProvider - Class in org.grails.datastore.gorm.timestamp
*************************************************************************** Copyright 2014 original authors
DefaultTransactionService - Class in org.grails.datastore.gorm.services
The transaction service implementation
deindex(Object, K) - Method in PropertyValueIndexer
Removes the index for the given value and key
DelegatingGormEntityApi - Class in org.grails.datastore.gorm
A delegating implementation of GormEntityApi
DelegatingGormEntityApi(GormInstanceApi<D>, D) - Constructor in DelegatingGormEntityApi
delete(Iterable) - Method in AbstractSession
DELETE_CLAUSE - Field in JpaQueryBuilder
delete(Map) - Method in DelegatingGormEntityApi
delete(Object) - Method in EntityPersister
delete(Map) - Method in GormEntity
Deletes an instance from the datastore
delete(Map) - Method in GormEntityApi
Deletes an instance from the datastore
delete(D, Map) - Method in GormInstanceApi
Deletes an instance from the datastore
delete(D, Map) - Method in GormInstanceOperations
Deletes an instance from the datastore
delete(D, Map) - Method in GormStaticApi
delete(Iterable) - Method in MongoSession
delete(Object) - Method in Persister
Deletes a single object
delete(Object) - Method in Session
Deletes a single object
delete(D, Map) - Method in TenantDelegatingGormOperations
deleteAll(QueryableCriteria) - Method in AbstractSession
This default implementation of the deleteAll method is unlikely to be optimal as it iterates and deletes each object.
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
deleteAll(Iterable) - Method in GormStaticOperations
Deletes a list of objects in one go
deleteAll(QueryableCriteria) - Method in MongoCodecSession
deleteAll(QueryableCriteria) - Method in MongoSession
deleteAll(QueryableCriteria) - Method in Session
Deletes all objects matching the given criteria
deleteAll(Iterable) - Method in TenantDelegatingGormOperations
deleteEntities(PersistentEntity, Iterable) - Method in EntityPersister
deleteEntities(PersistentEntity, Iterable) - Method in MongoCodecEntityPersister
deleteEntities(PersistentEntity, Iterable) - Method in NativeEntryEntityPersister
deleteEntity(PersistentEntity, Object) - Method in EntityPersister
deleteEntity(PersistentEntity, Object) - Method in MongoCodecEntityPersister
deleteEntity(PersistentEntity, Object) - Method in NativeEntryEntityPersister
deleteEntries(String, List<Object>) - Method in MongoEntityPersister
deleteEntries(String, List<K>) - Method in NativeEntryEntityPersister
Deletes one or many entries for the given list of Keys
deleteEntry(String, Object, Object) - Method in MongoEntityPersister
deleteEntry(String, K, Object) - Method in NativeEntryEntityPersister
Deletes a single entry
DeleteImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements "void delete(..)"
deleteMany(MongoCollection<Document>, Map<String, Object>, WriteConcern) - Method in MongoExtensions
deleteOne(MongoCollection<Document>, Map<String, Object>, WriteConcern) - Method in MongoExtensions
DeleteWhereImplementer - Class in org.grails.datastore.gorm.services.implementers
Implement delete method that are annotated with Where
desc(String) - Method in Query.Order
Creates a new order for the given property in descending order
destroy() - Method in AbstractDatastore
destroy() - Method in AbstractDatastorePersistenceContextInterceptor
destroy() - Method in MongoClientFactoryBean
DETACHED_CRITERIA - Field in AbstractDetachedCriteriaServiceImplementor
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, 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(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
DetachedCriteriaTransformer(SourceUnit) - Constructor in DetachedCriteriaTransformer
detachedCriteriaVariables - Field in DetachedCriteriaTransformer
dirty - Field in AbstractPersistentCollection
DIRTY_CHECKED_PROPERTY_ANNOTATION_NODE - Field in DirtyCheckingTransformer
DIRTY_CHECKED_PROPERTY_CLASS_NODE - Field in DirtyCheckingTransformer
DIRTY_CLASS_MARKER - Field in DirtyCheckable
For internal use, do not use
DIRTY_CLASS_MARKER - Field in DirtyCheckingSupport
Used internally as a marker.
DIRTY - Field in GormProperties
DIRTY_PROPERTY_NAMES - Field in GormProperties
DirtyCheck - Annotation Type in grails.gorm.dirty.checking
Apply to enhance an entity with dirty checking support
DirtyCheckable - Trait in org.grails.datastore.mapping.dirty.checking
Interface to classes that are able to track changes to their internal state.
DirtyCheckableCollection - Interface in org.grails.datastore.mapping.dirty.checking
@author Graeme Rocher
DirtyCheckedProperty - Annotation Type in grails.gorm.dirty.checking
A marker annotation added to methods that are dirty checked
DirtyCheckingCollection - Class in org.grails.datastore.mapping.dirty.checking
Collection capable of marking the parent entity as dirty when it is modified
DirtyCheckingCollection(Collection, DirtyCheckable, String) - Constructor in DirtyCheckingCollection
DirtyCheckingList - Class in org.grails.datastore.mapping.dirty.checking
Wrapper list to dirty check a list and mark a parent as dirty
DirtyCheckingList(List, DirtyCheckable, String) - Constructor in DirtyCheckingList
DirtyCheckingMap - Class in org.grails.datastore.mapping.dirty.checking
A map that can be dirty checked
DirtyCheckingMap(Map, DirtyCheckable, String) - Constructor in DirtyCheckingMap
DirtyCheckingSet - Class in org.grails.datastore.mapping.dirty.checking
Wrapper list to dirty check a list and mark a parent as dirty
DirtyCheckingSet(Set, DirtyCheckable, String) - Constructor in DirtyCheckingSet
DirtyCheckingSortedSet - Class in org.grails.datastore.mapping.dirty.checking
Dirty checks sorted sets
DirtyCheckingSortedSet(SortedSet, DirtyCheckable, String) - Constructor in DirtyCheckingSortedSet
DirtyCheckingSupport - Class in org.grails.datastore.mapping.dirty.checking
Support methods for dirty checking
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 DelegatingGormEntityApi
discard() - Method in GormEntity
Discards any pending changes.
discard() - Method in GormEntityApi
Discards any pending changes.
discard(D) - Method in GormInstanceApi
Discards any pending changes.
discard(D) - Method in GormInstanceOperations
Discards any pending changes.
discard(D) - Method in GormStaticApi
discard(D) - Method in TenantDelegatingGormOperations
disconnect() - Method in AbstractAttributeStoringSession
Performs clear up.
disconnect() - Method in AbstractDatastorePersistenceContextInterceptor
disconnect() - Method in MongoSession
disconnect() - Method in Session
Disconnects from the datastore.
discriminatePersistentEntity(PersistentEntity, T) - Method in AbstractMongoObectEntityPersister
discriminatePersistentEntity(PersistentEntity, T) - Method in NativeEntryEntityPersister
Subclasses should override to customize how entities in hierarchies are discriminated
disjunction() - Method in Query
Creates a disjunction (OR) query
Distance - Class in grails.mongodb.geo
Represents the distance from one Point to another
Distance(double, Metric) - Constructor in Distance
Constructs a distance for the given value and optional metric
distinct(String) - Method in AbstractCriteriaBuilder
Projection that signifies to return only distinct results
distinct(String) - Method in AbstractDetachedCriteria
Adds a distinct property projection
distinct() - Method in AbstractDetachedCriteria.DetachedProjections
distinct(String) - Method in DetachedCriteria
Adds a distinct property projection
distinct(Collection, String) - Method in ManualProjections
distinct(MongoCollection<Document>, String, Map<String, Object>, ReadPreference) - Method in MongoExtensions
distinct(String) - Method in ProjectionList
Projection to return only distinct properties
distinct(String) - Method in Projections
Projection that signifies to return only distinct results
distinct(String) - Method in Query.ProjectionList
doBegin(Object, TransactionDefinition) - Method in DatastoreTransactionManager
doCall(Object) - Method in MethodInvokingClosure
doCleanupAfterCompletion(Object) - Method in DatastoreTransactionManager
doCommit(DefaultTransactionStatus) - Method in DatastoreTransactionManager
document(Closure) - Method in MappingBuilder
Build a MongoDB document mapping
DocumentDatastore - Interface in org.grails.datastore.mapping.document
@author Guillaume Laforge
DocumentMappingContext - Class in org.grails.datastore.mapping.document.config
Models a MappingContext for a Document store.
DocumentMappingContext(String, Closure) - Constructor in DocumentMappingContext
DocumentPersistentEntity - Class in org.grails.datastore.mapping.document.config
DocumentPersistentEntity.DocumentCollectionMapping - Class in org.grails.datastore.mapping.document.config
DocumentPersistentEntity.DocumentCollectionMapping(PersistentEntity, MappingContext) - Constructor in DocumentPersistentEntity.DocumentCollectionMapping
DocumentPersistentEntity(Class, MappingContext) - Constructor in DocumentPersistentEntity
doesCascade(CascadeType) - Method in Association
Returns true if the this association cascade for the given cascade operation
doesEnhance(ClassNode, MethodNode) - Method in AbstractReadOperationImplementer
doesEnhance(ClassNode, MethodNode) - Method in AbstractWriteOperationImplementer
doesEnhance(ClassNode, MethodNode) - Method in MethodValidationImplementer
doesEnhance(ClassNode, MethodNode) - Method in ServiceEnhancer
Does this service enhancer enhance the method
doesImplement(ClassNode, MethodNode) - Method in AbstractServiceImplementer
doesImplement(ClassNode, MethodNode) - Method in AbstractStringQueryImplementer
doesImplement(ClassNode, MethodNode) - Method in AbstractWhereImplementer
doesImplement(ClassNode, MethodNode) - Method in CountImplementer
doesImplement(ClassNode, MethodNode) - Method in CountWhereImplementer
doesImplement(ClassNode, MethodNode) - Method in DeleteImplementer
doesImplement(ClassNode, MethodNode) - Method in DeleteWhereImplementer
doesImplement(ClassNode, MethodNode) - Method in FindAllByImplementer
doesImplement(ClassNode, MethodNode) - Method in FindAllByInterfaceProjectionImplementer
doesImplement(ClassNode, MethodNode) - Method in FindAllWhereImplementer
doesImplement(ClassNode, MethodNode) - Method in FindAndDeleteImplementer
doesImplement(ClassNode, MethodNode) - Method in FindOneByInterfaceProjectionImplementer
doesImplement(ClassNode, MethodNode) - Method in FindOneWhereImplementer
doesImplement(ClassNode, MethodNode) - Method in MethodValidationImplementer
doesImplement(ClassNode, MethodNode) - Method in SaveImplementer
doesImplement(ClassNode, MethodNode) - Method in ServiceImplementer
Does this service implement the method
doesImplement(ClassNode, MethodNode) - Method in UpdateOneImplementer
doesImplement(ClassNode, MethodNode) - Method in UpdateStringQueryImplementer
doesNotHoldNonDefaultSession() - Method in SessionHolder
doesRealMethodExist(MetaClass, String, Class, boolean) - Method in GormEnhancer
doesRequirePropertyIndexing() - Method in AbstractMongoObectEntityPersister
doesRequirePropertyIndexing() - Method in NativeEntryEntityPersister
Subclasses should override to optimize away manual property indexing if it is not required
doesReturnKeys() - Method in AbstractMongoObectEntityPersister.MongoAssociationIndexer
doesReturnKeys() - Method in AssociationQueryExecutor
@return Whether the query returns the keys for the entities or the enities themselves
doGetSession(Datastore, boolean) - Method in DatastoreUtils
Get a Datastore Session for the given Datastore.
doGetTransaction() - Method in DatastoreTransactionManager
doImplement(ClassNode, ClassNode, MethodNode, MethodNode, boolean) - Method in AbstractArrayOrIterableResultImplementer
Implement the method for the given arguments
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractDetachedCriteriaServiceImplementor
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractReadOperationImplementer
Subclasses should override to add the logic that implements the method
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractStringQueryImplementer
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractWhereImplementer
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractWriteOperationImplementer
Subclasses should override to add the logic that implements the method
doImplement(ClassNode, ClassNode, MethodNode, MethodNode, boolean) - Method in FindAllByImplementer
doImplement(ClassNode, ClassNode, MethodNode, MethodNode, boolean) - Method in FindOneByImplementer
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in SaveImplementer
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in UpdateOneImplementer
doInSession(Session) - Method in SessionCallback
doInSession(Session) - Method in VoidSessionCallback
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
DOLLAR_SEPARATOR - Field in NameUtils
DOMAIN_PATH_PATTERN - Field in AstUtils
DOMAIN_TYPE - Field in AstUtils
DomainEventListener - Class in org.grails.datastore.gorm.events
An event listener that provides support for GORM domain events.
DomainEventListener(ConnectionSourcesProvider, MappingContext) - Constructor in DomainEventListener
doManualDirtyCheck(Object, Object) - Method in NativeEntryEntityPersister
doPeekBinarySize() - Method in JsonReader
doPeekBinarySubType() - Method in JsonReader
doReadBinaryData() - Method in JsonReader
doReadBoolean() - Method in JsonReader
doReadDateTime() - Method in JsonReader
doReadDBPointer() - Method in JsonReader
doReadDecimal128() - Method in JsonReader
doReadDouble() - Method in JsonReader
doReadEndArray() - Method in JsonReader
doReadEndDocument() - Method in JsonReader
doReadInt32() - Method in JsonReader
doReadInt64() - Method in JsonReader
doReadJavaScript() - Method in JsonReader
doReadJavaScriptWithScope() - Method in JsonReader
doReadMaxKey() - Method in JsonReader
doReadMinKey() - Method in JsonReader
doReadNull() - Method in JsonReader
doReadObjectId() - Method in JsonReader
doReadRegularExpression() - Method in JsonReader
doReadStartArray() - Method in JsonReader
doReadStartDocument() - Method in JsonReader
doReadString() - Method in JsonReader
doReadSymbol() - Method in JsonReader
doReadTimestamp() - Method in JsonReader
doReadUndefined() - Method in JsonReader
doResume(Object, Object) - Method in DatastoreTransactionManager
doRollback(DefaultTransactionStatus) - Method in DatastoreTransactionManager
doSave(D, Map, Session, boolean) - Method in GormInstanceApi
doSetRollbackOnly(DefaultTransactionStatus) - Method in DatastoreTransactionManager
doSkipName() - Method in JsonReader
doSkipValue() - Method in JsonReader
doSuspend(Object) - Method in DatastoreTransactionManager
DoubleToFloatConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
doWithApplicationContext() - Method in MongodbGrailsPlugin
doWithSession(Datastore, Closure) - Method in DatastoreUtils
Execute the closure in the current session if it exists, or create a new one and close it otherwise.
doWithSpring() - Method in MongodbGrailsPlugin
doWithSpring() - Method in RxMongodbGrailsPlugin
doWriteBinaryData(BsonBinary) - Method in JsonWriter
doWriteBoolean(boolean) - Method in JsonWriter
doWriteDateTime(long) - Method in JsonWriter
doWriteDBPointer(BsonDbPointer) - Method in JsonWriter
doWriteDecimal128(Decimal128) - Method in JsonWriter
doWriteDouble(double) - Method in JsonWriter
doWriteEndArray() - Method in JsonWriter
doWriteEndDocument() - Method in JsonWriter
doWriteInt32(int) - Method in JsonWriter
doWriteInt64(long) - Method in JsonWriter
doWriteJavaScript(String) - Method in JsonWriter
doWriteJavaScriptWithScope(String) - Method in JsonWriter
doWriteMaxKey() - Method in JsonWriter
doWriteMinKey() - Method in JsonWriter
doWriteNull() - Method in JsonWriter
doWriteObjectId(ObjectId) - Method in JsonWriter
doWriteRegularExpression(BsonRegularExpression) - Method in JsonWriter
doWriteStartArray() - Method in JsonWriter
doWriteStartDocument() - Method in JsonWriter
doWriteString(String) - Method in JsonWriter
doWriteSymbol(String) - Method in JsonWriter
doWriteTimestamp(BsonTimestamp) - Method in JsonWriter
doWriteUndefined() - Method in JsonWriter
driverClassName(String) - Method in DataSourceBuilder
dropIndex(MongoCollection<Document>, Map<String, Object>) - Method in MongoExtensions
DynamicAttributeHelper - Class in org.grails.datastore.gorm.schemaless
Helper class for use in other traits
DynamicAttributes - Trait in org.grails.datastore.gorm.schemaless
A trait that adds support for defining dynamic attributes for databases that support it
DynamicFinder - Class in org.grails.datastore.gorm.finders
Abstract base class for dynamic finders.
DynamicFinder(Pattern, String, MappingContext) - 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 AbstractDetachedCriteria
DynamicMethodsConfigurer - Class in org.grails.datastore.gorm.plugin.support
Utility class for use by plugins in configuration of dynamic methods.
DynamicMethodsConfigurer(Datastore, PlatformTransactionManager) - Constructor in DynamicMethodsConfigurer

E

eachTenant(Closure) - Method in DefaultTenantService
eachTenant(Closure) - Method in GormStaticApi
eachTenant(Closure) - Method in GormStaticOperations
Execute the closure for each tenant
eachTenant(Closure) - Method in MultiTenant
Execute the closure for each tenant
eachTenant(Closure) - Method in TenantDelegatingGormOperations
eachTenant(MultiTenantCapableDatastore, Closure) - Method in Tenants
Execute the given closure for each tenant for the given datastore.
eachTenant(Closure) - Method in TenantService
Execute the given closure for each tenant.
Embedded - Class in org.grails.datastore.mapping.model.types
Models an embedded component
Embedded(PersistentEntity, MappingContext, String, Class) - Constructor in Embedded
EMBEDDED - Field in GormProperties
EMBEDDED_PREFIX - Field in NativeEntryEntityPersister
EmbeddedCollection - Class in org.grails.datastore.mapping.model.types
Models an embedded collection.
EmbeddedCollection(PersistentEntity, MappingContext, PropertyDescriptor) - Constructor in EmbeddedCollection
EmbeddedCollectionDecoder - Class in org.grails.datastore.bson.codecs.decoders
A {@PropertyDecoder} capable of decoding {@EmbeddedCollection} collection types
EmbeddedCollectionEncoder - Class in org.grails.datastore.bson.codecs.encoders
A {@PropertyEncoder} capable of encoding {@EmbeddedCollection} collection types
EmbeddedDecoder - Class in org.grails.datastore.bson.codecs.decoders
A {@PropertyDecoder} capable of decoding {@Embedded} association types
EmbeddedEncoder - Class in org.grails.datastore.bson.codecs.encoders
A {@PropertyEncoder} capable of encoding {@Embedded} association types
EmbeddedPersistentEntity - Class in org.grails.datastore.mapping.model
Models an embedded entity
EmbeddedPersistentEntity(Class, MappingContext) - Constructor in EmbeddedPersistentEntity
EmbeddedQueryEncoder - Interface in org.grails.datastore.bson.query
Encodes an embedded object as a query
EMPTY_CLASS_ARRAY - Field in AstUtils
enableBigDecimalEncoding() - Method in SimpleEncoder
Enables Decimal128 encoding for simple types
encode(BsonWriter, Basic, Object, EntityAccess, EncoderContext, CodecRegistry) - Method in BasicCollectionTypeEncoder
encode(BsonWriter, BigDecimal, EncoderContext) - Method in BigDecimalCodec
encode(BsonWriter, BigInteger, EncoderContext) - Method in BigIntegerCodec
encode(BsonWriter, Object, EncoderContext, boolean) - Method in BsonPersistentEntityCodec
encode(BsonWriter, Currency, EncoderContext) - Method in CodecExtensions.CurrencyCodec
encode(BsonWriter, GString, EncoderContext) - Method in CodecExtensions.GStringCodec
encode(BsonWriter, IntRange, EncoderContext) - Method in CodecExtensions.IntRangeCodec
encode(BsonWriter, List, EncoderContext) - Method in CodecExtensions.ListCodec
encode(BsonWriter, Locale, EncoderContext) - Method in CodecExtensions.LocaleCodec
encode(BsonWriter, Map<String, Object>, EncoderContext) - Method in CodecExtensions.MapCodec
encode(Embedded, Object) - Method in CodecRegistryEmbeddedQueryEncoder
encode(CodecRegistry, EncoderContext, BsonWriter, PersistentProperty, CustomTypeMarshaller, def) - Method in CustomTypeEncoder
encode(BsonWriter, EmbeddedCollection, Object, EntityAccess, EncoderContext, CodecRegistry) - Method in EmbeddedCollectionEncoder
encode(BsonWriter, Embedded, Object, EntityAccess, EncoderContext, CodecRegistry) - Method in EmbeddedEncoder
encode(Embedded, Object) - Method in EmbeddedQueryEncoder
Takes an embedded property and instance and returns the query encoded value
encode(BsonWriter, Identity, Object, EntityAccess, EncoderContext, CodecRegistry) - Method in IdentityEncoder
encode(BsonWriter, Association, Object, EntityAccess, EncoderContext, CodecRegistry) - Method in PersistentEntityCodec.OneToManyEncoder
encode(BsonWriter, ToOne, Object, EntityAccess, EncoderContext, CodecRegistry) - Method in PersistentEntityCodec.ToOneEncoder
encode(BsonWriter, T, Object, EntityAccess, EncoderContext, CodecRegistry) - Method in PropertyEncoder
Encodes a property to the given writer
encode(BsonWriter, Simple, Object, EntityAccess, EncoderContext, CodecRegistry) - Method in SimpleEncoder
encode(BsonWriter, PersistentProperty, Object) - Method in SimpleEncoder.TypeEncoder
encode(BsonWriter, TenantId, Object, EntityAccess, EncoderContext, CodecRegistry) - Method in TenantIdEncoder
encodeEmbeddedCollectionUpdate(EntityAccess, BsonDocument, Document, Association, def) - Method in PersistentEntityCodec
encodeEmbeddedUpdate(BsonDocument, Document, Association, def) - Method in PersistentEntityCodec
ENCODER_CONTEXT - Field in BsonQuery
encodeUpdate(Object, EntityAccess, EncoderContext, boolean) - Method in BsonPersistentEntityCodec
This method will encode an update for the given object based
encodeUpdate(Object, EntityAccess, EncoderContext, boolean) - Method in PersistentEntityCodec
This method will encode an update for the given object based
enhance(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractReadOperationImplementer
enhance(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractWriteOperationImplementer
enhance(PersistentEntity, boolean) - Method in GormEnhancer
Enhance and individual entity
enhance(ClassNode, MethodNode, MethodNode, ClassNode) - Method in MethodValidationImplementer
enhance(ClassNode, MethodNode, MethodNode, ClassNode) - Method in ServiceEnhancer
Enhances the method
enhanceClassNode(SourceUnit, AnnotationNode, ClassNode) - Method in AbstractDatastoreMethodDecoratingTransformation
enhanceClassNode(SourceUnit, AnnotationNode, ClassNode) - Method in AbstractMethodDecoratingTransformation
Add any additional logic to enhance the class node
enhanceClassNode(SourceUnit, AnnotationNode, ClassNode) - Method in TransactionalTransform
ensureQueryIsInitialized() - Method in AbstractCriteriaBuilder
entitiesWithDateCreated - Field in AutoTimestampEventListener
entitiesWithLastUpdated - Field in AutoTimestampEventListener
Entity - Trait in grails.gorm
Trait added to all domain classes
entity - Field in AbstractClassMapping
ENTITY_ACCESS - Field in AbstractSession
entity - Field in BeanEntityAccess
ENTITY_CLASS_RESOURCE_PATTERN - Field in AbstractDatastoreInitializer
entity - Field in PendingOperationAdapter
entity - Field in Query
EntityAccess - Interface in org.grails.datastore.mapping.engine
@author Graeme Rocher
EntityCreationException - Class in org.grails.datastore.mapping.core
Thrown when there was an error creating an entity.
EntityCreationException(String, Throwable) - Constructor in EntityCreationException
entityFamily - Field in AbstractKeyValueEntityPersister
EntityPersister - Class in org.grails.datastore.mapping.engine
A Persister specifically for persisting PersistentEntity instances.
EntityPersister(MappingContext, PersistentEntity, Session, ApplicationEventPublisher) - Constructor in EntityPersister
EntityProxy - Interface in org.grails.datastore.mapping.proxy
@author Graeme Rocher
EntityProxyMethodHandler - Class in org.grails.datastore.mapping.proxy
Base class for entity proxy handlers that are aware of Groovy
EntityProxyMethodHandler(Class<?>) - Constructor in EntityProxyMethodHandler
EntityReflector - Interface in org.grails.datastore.mapping.reflect
Used for reflective data
EntityReflector.PropertyReader - Interface in org.grails.datastore.mapping.reflect
EntityReflector.PropertyWriter - Interface in org.grails.datastore.mapping.reflect
entityToMapping - Field in AbstractGormMappingFactory
entityToPropertyMap - Field in AbstractGormMappingFactory
entityValidators - Field in AbstractMappingContext
entrySet() - Method in PropertyResolverMap
EnumType - Class in org.grails.datastore.gorm.mongo.simple
A custom type for persisting Enum which have an id field in domain classes.
EnumType() - Constructor in EnumType
eq(String, Object) - Method in AbstractCriteriaBuilder
Creates an "equals" Criterion based on the specified property name and value.
eq(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
eq(String, Object) - Method in Criteria
Creates an "equals" Criterion based on the specified property name and value
eq(String, Object) - Method in DetachedCriteria
EQ_OPERATOR - Field in BsonQuery
eq(String, Object) - Method in Query
Restricts the results by the given properties value
eq(String, Object) - Method in Restrictions
Restricts the property to be equal to the given value
eqAll(String, QueryableCriteria) - Method in AbstractCriteriaBuilder
Creates a subquery criterion that ensures the given property is equal to all the given returned values
eqAll(String, QueryableCriteria) - Method in AbstractDetachedCriteria
eqAll(String, QueryableCriteria) - Method in Criteria
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 AbstractCriteriaBuilder
Constraints a property to be equal to a specified other property
eqProperty(String, String) - Method in AbstractDetachedCriteria
@see Criteria
eqProperty(String, String) - Method in Criteria
Constrains a property to be equal to a specified other property
eqProperty(String, String) - Method in DetachedCriteria
eqProperty(String, String) - Method in Restrictions
Constraints a property to be equal to a specified other property
equals(Object) - Method in AbstractPersistentCollection
equals(Object) - Method in AbstractPersistentEntity
EQUALS_OPERATOR - Field in DetachedCriteriaTransformer
equals(Object) - Method in PagedResultList
error(SourceUnit, ASTNode, String) - Method in AstUtils
errorOccured - Field in AbstractMongoSession
ERRORS - Field in GormProperties
establishPropertyName(MethodNode, String, ClassNode) - Method in AbstractProjectionImplementer
establishRelationshipForCollection(PropertyDescriptor, PersistentEntity, MappingContext, Map<String, Class>, Map, boolean) - Method in GormMappingConfigurationStrategy
establishRelationshipForCollection(PropertyDescriptor, Field, PersistentEntity, MappingContext, boolean) - Method in JpaMappingConfigurationStrategy
evaluate(Closure, Object) - Method in DefaultMappingConfigurationBuilder
evaluate(Closure, Object) - Method in MappingConfigurationBuilder
Evaluates the configuration for the given closure
evaluate(Closure) - Method in NamedQueriesBuilder
evaluateWithContext(MappingConfigurationBuilder, Closure) - Method in AbstractGormMappingFactory
EVENT_BEFORE_INSERT - Field in DomainEventListener
eventListeners - Field in AbstractMappingContext
eventPublisher - Field in GormValidationApi
eventPublisher - Field in MongoDatastore
EventTriggerCaller - Class in org.grails.datastore.gorm.support
EventType - Enum in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
EXCLUDED_PROPERTIES - Field in ClassPropertyFetcher
execute(VoidSessionCallback) - Method in AbstractDatastoreApi
execute(VoidSessionCallback) - Method in AbstractFinder
execute(Datastore, VoidSessionCallback) - Method in DatastoreUtils
Execute the callback in the current session if it exists, or create a new one and close it otherwise.
execute(Closure<T>) - Method in GrailsTransactionTemplate
executeAndRollback(Closure<T>) - Method in GrailsTransactionTemplate
executed - Field in PendingOperationAdapter
executeInsert(PersistentEntity, NativeEntryEntityPersister.NativeEntryModifyingEntityAccess, K, T) - Method in NativeEntryEntityPersister
Executes an insert for the given entity, entity access, identifier and native entry.
executePendingOperation(PendingOperation) - Method in PendingOperationExecution
executePendings(Collection<? extends Runnable>) - Method in AbstractSession
executeQuery(PersistentEntity, Junction) - Method in AssociationQuery
executeQuery(CharSequence, Collection, Map) - Method in GormEntity
Executes a query for the given String
executeQuery(CharSequence, Collection, Map) - Method in GormStaticApi
executeQuery(CharSequence, Collection, Map) - Method in GormStaticOperations
Executes a query for the given String
executeQuery(PersistentEntity, Junction, MongoCollection<Document>, Document) - Method in MongoQuery
executeQuery(PersistentEntity, Query.Junction) - Method in Query
Subclasses should implement this to provide the concrete implementation of querying
executeQuery(CharSequence, Collection, Map) - Method in TenantDelegatingGormOperations
executeQueryAndApplyPagination(MongoCollection<Document>, Document) - Method in MongoQuery
executeUpdate(CharSequence, Collection, Map) - Method in GormEntity
Executes an update for the given String
executeUpdate(CharSequence, Collection, Map) - Method in GormStaticApi
executeUpdate(CharSequence, Collection, Map) - Method in GormStaticOperations
Executes an update for the given String
executeUpdate(CharSequence, Collection, Map) - Method in TenantDelegatingGormOperations
executor - Field in AssociationQueryProxyHandler
exists(QueryableCriteria<?>) - Method in AbstractCriteriaBuilder
exists(QueryableCriteria<?>) - Method in AbstractDetachedCriteria
@see Criteria#exists(org.grails.datastore.mapping.query.api.QueryableCriteria)
exists(QueryableCriteria<?>) - Method in Criteria
Executes an exists subquery
exists(QueryableCriteria<?>) - Method in DetachedCriteria
exists(Serializable) - Method in GormEntity
Checks whether an entity exists
exists(Serializable) - Method in GormStaticApi
Checks whether an entity exists
exists(Serializable) - Method in GormStaticOperations
Checks whether an entity exists
EXISTS_OPERATOR - Field in BsonQuery
exists(Serializable) - Method in TenantDelegatingGormOperations

F

Family - Class in org.grails.datastore.mapping.keyvalue.mapping.config
Family(String, String) - Constructor in Family
fastClass - Field in AssociationQueryProxyHandler
fastClass() - Method in EntityReflector
@return The fast class
fastClass - Field in SessionEntityProxyMethodHandler
fastClassData - Field in MongoCodecEntityPersister
fetch(FetchType) - Method in Property
Configure the fetch strategy
fetchStrategies - Field in AbstractDetachedCriteria
fetchStrategies - Field in Query
fetchStrategy(String) - Method in Query
Obtain the fetch strategy for the given property
field(String) - Method in MongoAttribute
Configures the field name to map to
FIELD_TARGET_DATASTORE - Field in AbstractDatastoreMethodDecoratingTransformation
FieldEntityAccess - Class in org.grails.datastore.mapping.reflect
Uses field reflection or CGlib to improve performance
FieldEntityAccess(PersistentEntity, Object, ConversionService) - Constructor in FieldEntityAccess
filter(FindIterable<Document>, Map<String, Object>) - Method in MongoExtensions
find(Closure) - Method in DetachedCriteria
Synonym for #get
find(CharSequence, Collection, Map) - Method in GormEntity
Finds an object for the given string-based query, positional parameters and arguments
find() - Method in GormQueryOperations
Synonym for #get
find(CharSequence, Collection, Map) - Method in GormStaticApi
find(CharSequence, Collection, Map) - Method in GormStaticOperations
Finds an object for the given string-based query, positional parameters and arguments
find(Bson) - Method in MongoEntity
Finds all of the entities in the collection.
find(MongoCollection<Document>, Map<String, Object>, Map<String, Object>) - Method in MongoExtensions
@see DBCollection#findOne(com.mongodb.DBObject, com.mongodb.DBObject)
find(Bson) - Method in MongoStaticApi
find(Bson) - Method in MongoStaticOperations
Find an entity for the given filter
find(Closure) - Method in NamedCriteriaProxy
find() - Method in QueryableCriteria
@return Find a single result
find(CharSequence, Collection, Map) - Method in TenantDelegatingGormOperations
findAbstractMethodsInternal(ClassNode, List<MethodNode>, boolean) - Method in AstUtils
findAll(CharSequence, Collection, Map) - Method in GormEntity
Finds all objects for the given string-based query, positional parameters and arguments
findAll(CharSequence, Collection, Map) - Method in GormStaticApi
findAll(CharSequence, Collection, Map) - Method in GormStaticOperations
Finds all objects for the given string-based query, positional parameters and arguments
findAll(CharSequence, Collection, Map) - Method in TenantDelegatingGormOperations
findAllAbstractMethods(ClassNode) - Method in AstUtils
Finds all the abstract methods for the give class node
FindAllByBooleanFinder - Class in org.grails.datastore.gorm.finders
The "findAll<booleanProperty>By*" static persistent method.
FindAllByBooleanFinder(MappingContext) - Constructor in FindAllByBooleanFinder
FindAllByFinder - Class in org.grails.datastore.gorm.finders
Finder used to return multiple results.
FindAllByFinder(MappingContext) - Constructor in FindAllByFinder
FindAllByImplementer - Class in org.grails.datastore.gorm.services.implementers
Automatically implement services that find objects based an arguments
FindAllByInterfaceProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Created by graemerocher on 05/04/2017.
FindAllImplementer - Class in org.grails.datastore.gorm.services.implementers
Automatically implements Service interface methods that start with "list" and return an iterable of domain classes
FindAllInterfaceProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Used for performing interface projections on
FindAllPropertyProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Support for projections that return multiple results
FindAllStringQueryImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements support for String-based queries that return an iterable or array of domain classes
findAllUnimplementedAbstractMethods(ClassNode) - Method in AstUtils
Finds all the abstract methods for the give class node
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, Map) - Method in GormStaticOperations
Finds all results matching all of the given conditions.
findAllWhere(Map) - Method in NamedCriteriaProxy
findAllWhere(Map, Map) - Method in TenantDelegatingGormOperations
FindAllWhereImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements support for the Where annotation on Service instances that return a multiple results
FindAndDeleteImplementer - Class in org.grails.datastore.gorm.services.implementers
An implementer that handles delete methods
findAndModify(DBCollection, Map, Map, Map, boolean, Map, boolean, boolean, long, TimeUnit) - Method in MongoExtensions
findAndRemove(DBCollection, Map) - Method in MongoExtensions
findAnnotation(AnnotatedNode, List<AnnotationNode>) - Method in AstAnnotationUtils
findAnnotation(AnnotatedNode, List<AnnotationNode>) - Method in AstUtils
findArgsExpression(MethodNode) - Method in AbstractReadOperationImplementer
findArgsExpression(MethodNode) - Method in DeleteWhereImplementer
FindByBooleanFinder - Class in org.grails.datastore.gorm.finders
FindByBooleanFinder(MappingContext) - Constructor in FindByBooleanFinder
FindByFinder - Class in org.grails.datastore.gorm.finders
Finder used to return a single result
FindByFinder(MappingContext) - Constructor in FindByFinder
findConnectionId(MethodNode) - Method in AbstractServiceImplementer
findCustomType(MappingContext, Class<?>) - Method in MappingFactory
findDatastore(Class, String) - Method in GormEnhancer
Find a datastore for the give entity type and qualifier (the connection name)
findDatastoreByType(Class<? extends Datastore>) - Method in GormEnhancer
Finds a datastore by type
findDefaultDatastore(Datastore) - Method in RuntimeSupport
Finds the default datastore from an array of datastores
findEntity(Class, String) - Method in GormEnhancer
Find the entity for the given type
FinderMethod - Interface in org.grails.datastore.gorm.finders
Implementation of dynamic finders.
findEventPublisher(BeanDefinitionRegistry) - Method in AbstractDatastoreInitializer
Finds the event publisher to use
findInstanceApi(Class<D>, String) - Method in GormEnhancer
Find an instance API for the give entity type and qualifier (the connection name)
findInstanceApiForConnectionId(ClassNode, MethodNode) - Method in AbstractServiceImplementer
findInterface(ClassNode, String) - Method in AstUtils
findMessageSource(BeanDefinitionRegistry) - Method in AbstractDatastoreInitializer
Finds the message source to use
findMethodExpression(String) - Method in DynamicFinder
findMethodToInvoke(ClassNode, MethodNode) - Method in FindOneImplementer
findNamedQuery(Class, String) - Method in GormEnhancer
Finds a named query for the given entity
findOne(MongoCollection<Document>, Map, Map, Map, ReadPreference) - Method in MongoExtensions
@see DBCollection#findOne(com.mongodb.DBObject, com.mongodb.DBObject, com.mongodb.DBObject, com.mongodb.ReadPreference)
findOneAndDelete(Bson, FindOneAndDeleteOptions) - Method in MongoEntity
Atomically find a document and remove it.
findOneAndDelete(MongoCollection<Document>, Map<String, Object>, Map<String, Object>) - Method in MongoExtensions
findOneAndDelete(Bson, FindOneAndDeleteOptions) - Method in MongoStaticApi
findOneAndDelete(Bson, FindOneAndDeleteOptions) - Method in MongoStaticOperations
Atomically find a document and remove it.
findOneAndReplace(MongoCollection<Document>, Map<String, Object>, Map<String, Object>, Map<String, Object>) - Method in MongoExtensions
findOneAndUpdate(MongoCollection<Document>, Map<String, Object>, Map<String, Object>, Map<String, Object>) - Method in MongoExtensions
FindOneByImplementer - Class in org.grails.datastore.gorm.services.implementers
Handles implementation for a finder that returns a single result
FindOneByInterfaceProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Interface projections for dynamic finders
FindOneImplementer - Class in org.grails.datastore.gorm.services.implementers
An implementer that implements logic for finding a single entity
FindOneInterfaceProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Interface projection finder
FindOneInterfaceProjectionStringQueryImplementer - Class in org.grails.datastore.gorm.services.implementers
Interface projections for string-based queries
FindOneInterfaceProjectionWhereImplementer - Class in org.grails.datastore.gorm.services.implementers
Interface projection implementer for Where queries
FindOnePropertyProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements property projection by query
FindOneStringQueryImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements support for String-based queries that return a domain class
FindOneWhereImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements support for the Where annotation on Service instances that return a single result
FindOrCreateByFinder - Class in org.grails.datastore.gorm.finders
Finder used to return a single result
FindOrCreateByFinder(String, MappingContext) - 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.
findOrCreateWhere(Map) - Method in GormStaticOperations
Finds a single result matching all of the given conditions.
findOrCreateWhere(Map) - Method in TenantDelegatingGormOperations
findOrder(Object) - Method in OrderedComparator
Find an order value indicated by the given object.
FindOrSaveByFinder - Class in org.grails.datastore.gorm.finders
FindOrSaveByFinder(MappingContext) - 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.
findOrSaveWhere(Map) - Method in GormStaticOperations
Finds a single result matching all of the given conditions.
findOrSaveWhere(Map) - Method in TenantDelegatingGormOperations
findPersistenceInterceptorBeanNames(BeanDefinitionRegistry) - Method in PersistenceContextInterceptorAggregator
findPublicAbstractMethods(ClassNode) - Method in AstUtils
Finds all the abstract methods for the give class node
findServiceImplementors(AnnotationNode) - Method in ServiceTransformation
findServices(List, Class<T>) - Method in ConfigurationUtils
Finds services of the given type from the given list or via java.util.ServiceLoader
findSingleDatastore() - Method in GormEnhancer
Finds a single datastore
findSingleTransactionManager(String) - Method in GormEnhancer
Finds a single available transaction manager
findStaticApi(Class<D>, String) - Method in GormEnhancer
Find a static API for the give entity type and qualifier (the connection name)
findStaticApiForConnectionId(ClassNode, MethodNode) - Method in AbstractServiceImplementer
findTenantId(Class) - Method in GormEnhancer
Find the tenant id for the given entity
findTransactionalAnnotation(MethodNode) - Method in TransactionalTransform
Finds the transactional annotation for the given method node
findTransactionManager(Class<? extends Datastore>, String) - Method in GormEnhancer
Finds a single available transaction manager
findTransformName(AnnotationNode) - Method in OrderedGormTransformation
findType() - Method in DataSourceBuilder
findValidationApi(Class<D>, String) - Method in GormEnhancer
Find a validation API for the give entity type and qualifier (the connection name)
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(Map, Map) - Method in GormStaticOperations
Finds a single result matching all of the given conditions.
findWhere(Map) - Method in NamedCriteriaProxy
findWhere(Map, Map) - Method in TenantDelegatingGormOperations
firePostDeleteEvent(PersistentEntity, EntityAccess) - Method in EntityPersister
firePostInsertEvent(PersistentEntity, EntityAccess) - Method in EntityPersister
firePostLoadEvent(PersistentEntity, EntityAccess) - Method in EntityPersister
firePostUpdateEvent(PersistentEntity, EntityAccess) - Method in EntityPersister
firePreLoadEvent(PersistentEntity, EntityAccess) - Method in EntityPersister
first(Map) - Method in GormEntity
Finds the first object.
first(Map) - Method in GormStaticApi
Finds the first object.
first(Map) - Method in GormStaticOperations
Finds the first object.
first() - Method in PersistentSortedSet
first(Map) - Method in TenantDelegatingGormOperations
firstExpressionIsRequiredBoolean() - Method in AbstractFindByFinder
firstExpressionIsRequiredBoolean() - Method in FindAllByBooleanFinder
firstExpressionIsRequiredBoolean() - Method in FindAllByFinder
firstExpressionIsRequiredBoolean() - Method in FindByBooleanFinder
firstLevelCache - Field in AbstractSession
firstLevelCollectionCache - Field in AbstractSession
firstLevelEntryCache - Field in AbstractSession
firstLevelEntryCacheDirtyCheck - Field in AbstractSession
firstResult(int) - Method in Query
Defines the offset (the first result index) of the query
FixedTenantResolver - Class in org.grails.datastore.mapping.multitenancy.resolvers
A tenant resolver that resolves to a fixed static named tenant id
FixedTenantResolver(Serializable) - Constructor in FixedTenantResolver
flush() - Method in AbstractDatastorePersistenceContextInterceptor
flush(WriteConcern) - Method in AbstractMongoSession
flush() - Method in AbstractSession
flush() - Method in JsonWriter
flush(WriteConcern) - Method in MongoCodecSession
flush(WriteConcern) - Method in MongoSession
flush() - Method in Session
Flushes any pending changes to the datastore
flush() - Method in SpringSessionSynchronization
flush() - Method in TransactionObject
flushActive - Field in AbstractSession
flushBeforeQuery() - Method in MongoQuery
flushBeforeQuery() - Method in Query
Default behavior is the flush the session before a query in the case of FlushModeType.AUTO.
flushPendingDeletes(Map<PersistentEntity, Collection<PendingDelete>>) - Method in AbstractSession
flushPendingInserts(Map<PersistentEntity, Collection<PendingInsert>>) - Method in AbstractSession
The default implementation of flushPendingInserts is to iterate over each insert operations and execute them one by one.
flushPendingUpdates(Map<PersistentEntity, Collection<PendingUpdate>>) - Method in AbstractSession
The default implementation of flushPendingUpdates is to iterate over each update operation and execute them one by one.
flushPendingUpdates(Map<PersistentEntity, Collection<PendingUpdate>>) - Method in MongoSession
forClass(Class) - Method in ClassPropertyFetcher
forExecutables() - Method in GormValidatorAdapter
formatDomainClassVariable(ClassNode, String) - Method in QueryStringTransformer
Formats a domain class variable
formatErrors(Errors, String) - Method in ValidationException
formatPropertyPath(List<String>, String) - Method in QueryStringTransformer
Formats a declaration for the given property path
formatPropertyReference(VariableExpression, String, String) - Method in QueryStringTransformer
Formats a reference to a property of a declared domain class
formulateDatabaseReference(PersistentEntity, Association, Serializable) - Method in AbstractMongoObectEntityPersister
formulateDatabaseReference(PersistentEntity, Association, Serializable) - Method in NativeEntryEntityPersister
Formulates a database reference for the given entity, association and association id
forName(String, ClassLoader) - Method in ReflectionUtils
fromJdbcUrl(String) - Method in DatabaseDriver
Find a DatabaseDriver for the given URL.
fromProductName(String) - Method in DatabaseDriver
Find a DatabaseDriver for the given product name.
FUNCTION_CALL_CRITERION - Field in DetachedCriteriaTransformer
FunctionCallingCriterion - Class in org.grails.datastore.mapping.query.criteria
This criterion calls a function on the property before apply the appropriate comparison.
FunctionCallingCriterion(String, String, PropertyCriterion, boolean) - Constructor in FunctionCallingCriterion

G

ge(String, Object) - Method in AbstractCriteriaBuilder
Used to restrict a value to be greater than or equal to the given value
ge(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
ge(String, Object) - Method in Criteria
Used to restrict a value to be greater than or equal to the given value
ge(String, Object) - Method in DetachedCriteria
ge(String, Object) - Method in Query
Used to restrict a value to be greater than or equal to the given value
geAll(String, QueryableCriteria) - Method in AbstractCriteriaBuilder
Creates a subquery criterion that ensures the given property is greater than all the given returned values
geAll(String, QueryableCriteria) - Method in AbstractDetachedCriteria
geAll(String, QueryableCriteria) - Method in Criteria
Creates a subquery criterion that ensures the given property is greater than all the given returned values
geAll(String, QueryableCriteria) - Method in DetachedCriteria
generateIdentifier(PersistentEntity) - Method in MongoCodecEntityPersister
generateIdentifier(PersistentEntity, Document) - Method in MongoEntityPersister
generateIdentifier(PersistentEntity, T) - Method in NativeEntryEntityPersister
Subclasses should override to provide id generation.
generateServiceDescriptor(SourceUnit, ClassNode) - Method in ServiceTransformation
GEO_INTERSECTS_OPERATOR - Field in MongoQuery
GEO_TYPE - Field in GeoJSONType
GEO_WITHIN_OPERATOR - Field in MongoQuery
geoIndex(String) - Method in MongoAttribute
Sets the geo index type
GeoIntersects - Class in org.grails.datastore.gorm.mongo
Dynamic finder extension for GeoIntersects style queries
GeoIntersects(Class<?>, String) - Constructor in GeoIntersects
geoIntersects(String, GeoJSON) - Method in MongoCriteriaBuilder
Geospacial query for the given shape returning records that are found to intersect the given shape
geoIntersects(String, GeoJSON) - Method in MongoQuery
Geospacial query for values within the given shape
GeoJSON - Interface in grails.mongodb.geo
Marker interface for shapes that are GeoJSON shapes
GeoJSONType - Class in org.grails.datastore.gorm.mongo.geo
Abstract class for persisting Shape instances in GeoJSON format.
GeoJSONType(Class<T>) - Constructor in GeoJSONType
GEOMETRIES - Field in GeometryCollectionType
GEOMETRY_OPERATOR - Field in MongoQuery
GeometryCollection - Class in grails.mongodb.geo
Represents a GeoJSON GeometryCollection.
GeometryCollectionType - Class in org.grails.datastore.gorm.mongo.geo
Custom type implementation for persisting GeometryCollection instances
GeometryCollectionType() - Constructor in GeometryCollectionType
GeoWithin - Class in org.grails.datastore.gorm.mongo
Dynamic finder extension for GeoWithin style queries
GeoWithin(Class<?>, String) - Constructor in GeoWithin
geoWithin(String, Shape) - Method in MongoCriteriaBuilder
Geospacial query for the given shape returning records that are found within the given shape
geoWithin(String, Shape) - Method in MongoQuery
Geospacial query for values within the given shape
geProperty(String, String) - Method in AbstractCriteriaBuilder
Constraints a property to be greater than or equal to a specified other property
geProperty(String, String) - Method in AbstractDetachedCriteria
@see Criteria
geProperty(String, String) - Method in Criteria
Constrains a property to be greater than or equal to a specified other property
geProperty(String, String) - Method in DetachedCriteria
geProperty(String, String) - Method in Restrictions
Constraints a property to be greater than or equal to a specified other property
geSome(String, Closure<?>) - Method in AbstractCriteriaBuilder
geSome(String, Closure<?>) - Method in AbstractDetachedCriteria
geSome(String, Closure<?>) - Method in Criteria
Creates a subquery criterion that ensures the given property is greater than or equal to some of the given values
geSome(String, Closure<?>) - Method in DetachedCriteria
get(int) - Method in AbstractResultList
get(Closure) - Method in BuildableCriteria
Defines and executes a get query ( a single result) in a single call.
get(Class<T>, CodecRegistry) - Method in CodecExtensions
get(Closure) - Method in CriteriaBuilder
Defines and 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 GormQueryOperations
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(Serializable) - Method in GormStaticOperations
Retrieves and object from the datastore. eg.
GET_ID_METHOD - Field in EntityProxyMethodHandler
GET_META_CLASS - Field in GroovyObjectMethodHandler
get(Class<T>) - Method in MongoClientFactoryBean.DefaultGrailsCodecRegistry
get(int) - Method in MongoQuery.AggregatedResultList
get(Map, Closure) - Method in NamedCriteriaProxy
get(int) - Method in PagedResultList
get(int) - Method in PersistentList
GET_PROPERTY - Field in GroovyObjectMethodHandler
get(Object) - Method in PropertyResolverMap
GET_PROXY_KEY_METHOD - Field in EntityProxyMethodHandler
GET_TARGET_METHOD - Field in EntityProxyMethodHandler
get(Serializable) - Method in TenantDelegatingGormOperations
get() - Method in Tenants.CurrentTenant
@return Obtain the current tenant
GET_TRANSACTION_MANAGER_METHOD - Field in TransactionalTransform
getAdapted() - Method in AdaptedImplementer
getAdditionalBeansConfiguration(BeanDefinitionRegistry, String) - Method in AbstractDatastoreInitializer
Internal method aiding in datastore configuration.
getAggregationPipeline() - Method in MongoQuery.AggregatePipeline
getAlias() - Method in AbstractDetachedCriteria
@return The root alias to be used for the query
getAlias() - Method in QueryableCriteria
@return The alias to be used for the query, null if none
getAll() - Method in GormEntity
@return Synonym for list()
getAll() - Method in GormStaticApi
@return Synonym for list()
getAll() - Method in GormStaticOperations
@return Synonym for list()
getAll() - Method in TenantDelegatingGormOperations
getAllAssociationMap(ClassPropertyFetcher) - Method in GormMappingConfigurationStrategy
Retrieves the association map
getAllConnectionSources() - Method in ConnectionSources
@return An iterable containing all ConnectionSource instances
getAllConnectionSources() - Method in InMemoryConnectionSources
getAllConnectionSources() - Method in SingletonConnectionSources
getAllConnectionSources() - Method in StaticConnectionSources
getAnnotationMetadata() - Method in AnnotationMetadataReader
getAnnotationType() - Method in AbstractGormASTTransformation
getAnnotationType() - Method in AbstractStringQueryImplementer
getAnnotationType() - Method in ServiceTransformation
getAnnotationType() - Method in TenantTransform
getAnnotationType() - Method in TransactionalTransform
getApplicationContext() - Method in AbstractDatastore
@deprecated Deprecated, will be removed in a future version of GORM
getApplicationContext() - Method in Datastore
Get the application context.
getApplicationEventPublisher() - Method in AbstractDatastore
getApplicationEventPublisher() - Method in Datastore
Get the application event publisher.
getApplicationEventPublisher() - Method in MongoDatastore
@return The ConfigurableApplicationEventPublisher instance used by this datastore
getAppliedMarker() - Method in AbstractGormASTTransformation
getAppliedMarker() - Method in ServiceTransformation
getAppliedMarker() - Method in TenantTransform
getAppliedMarker() - Method in TransactionalTransform
getArguments() - Method in DynamicFinderInvocation
getArguments() - Method in MethodExpression
getArgumentsRequired() - Method in MethodExpression
getArtefactTypes() - Method in DirtyCheckingTransformer
getAssociatedEntity() - Method in Association
getAssociatedEntity() - Method in Basic
getAssociation() - Method in AssociationCriteria
getAssociation() - Method in AssociationQuery
The association being queried
getAssociationId(String) - Method in GormEntity
Obtains the id of an association without initialising the association
getAssociationIndexer(T, Association) - Method in AbstractMongoObectEntityPersister
getAssociationIndexer(T, Association) - Method in NativeEntryEntityPersister
Obtains an indexer for the given association
getAssociationMap(ClassPropertyFetcher) - Method in GormMappingConfigurationStrategy
Retrieves the association map
getAssociations() - Method in AbstractPersistentEntity
getAssociations() - Method in PersistentEntity
A list of the associations for this entity.
getAt(String) - Method in DynamicAttributes
Obtains a dynamic attribute
getAt(String) - Method in InstanceProxy
getAt(MongoDatabase, String) - Method in MongoExtensions
Adds a method to return a collection using the dot syntax
getAt(String) - Method in ValidationErrors
getAttribute(Object, String) - Method in AbstractAttributeStoringSession
getAttribute(Object, String) - Method in ProxyInstanceMetaClass
getAttribute(Object, String) - Method in Session
Obtains an attribute for the given entity
getBaseConfiguration() - Method in AbstractConnectionSources
getBaseConfiguration() - Method in ConnectionSources
@return Obtains the base configuration
getBeanDefinitions(BeanDefinitionRegistry) - Method in AbstractDatastoreInitializer
getBeanDefinitions(BeanDefinitionRegistry) - Method in MongoDbDataStoreSpringInitializer
getBooleanFromMap(String, Map<?, ?>) - Method in ClassUtils
Retrieves a boolean value from a Map for the given key
getBsonConverter(Class<? extends BsonValue>) - Method in CodecExtensions
getBsonConverters() - Method in CodecExtensions
getCachedCollection(PersistentEntity, Serializable, String) - Method in AbstractSession
getCachedCollection(PersistentEntity, Serializable, String) - Method in SessionImplementor
Obtains a cached collection
getCachedEntry(PersistentEntity, Serializable, boolean) - Method in AbstractSession
getCachedEntry(Serializable) - Method in HashMapTPCacheAdapter
getCachedEntry(PersistentEntity, Serializable, boolean) - Method in SessionImplementor
Obtains a cached entry
getCachedEntry(Serializable) - Method in TPCacheAdapter
Returns the stored value for the specified key.
getCachedInstance(Class, Serializable) - Method in AbstractSession
getCachedInstance(Class, Serializable) - Method in SessionImplementor
Get the cached instance if it exists.
getCapitilizedName() - Method in AbstractPersistentProperty
getCapitilizedName() - Method in PersistentProperty
The name with the first letter in upper case as per Java bean conventions
getCascadeOperations() - Method in Association
getCascadeOperations() - Method in PendingOperation
Operations to be executed directly following this operation
getCascadeOperations() - Method in PendingOperationAdapter
getChildEntities(PersistentEntity) - Method in AbstractMappingContext
getChildEntities(PersistentEntity) - Method in MappingContext
Obtains all of the children for the given root
getChildEntityByDiscriminator(PersistentEntity, String) - Method in AbstractMappingContext
getChildEntityByDiscriminator(PersistentEntity, String) - Method in MappingContext
Obtains a child of the given root entity using the given discriminator
getClassMapping() - Method in AbstractKeyValueEntityPersister
getClassMapping() - Method in NativeEntryEntityPersister
getClassMapping() - Method in PropertyMapping
Retrieves the ClassMapping instance of the owning class
getClassMetadata() - Method in AnnotationMetadataReader
getClassName(Class) - Method in NameUtils
Get the class name, taking into account proxies
getCodecForBsonType(BsonType, CodecRegistry) - Method in CodecExtensions
getCodecRegistry() - Method in CodecRegistryProvider
getCodecRegistry() - Method in MongoDatastore
@return The org.bson.codecs.configuration.CodecRegistry
getCodecRegistry() - Method in MongoMappingContext
@return The codec registry for this mapping context
getCollection(PersistentEntity) - Method in AbstractMongoSession
getCollection(PersistentEntity) - Method in MongoDatastore
Obtain the raw com.mongodb.client.MongoCollection for the given entity
getCollection() - Method in MongoEntity
The actual collection that this entity maps to.
getCollection() - Method in MongoStaticApi
getCollection() - Method in MongoStaticOperations
The actual collection that this entity maps to.
getCollectionName(PersistentEntity, T) - Method in AbstractMongoObectEntityPersister
getCollectionName(PersistentEntity) - Method in AbstractMongoSession
getCollectionName(PersistentEntity) - Method in MongoCodecEntityPersister
getCollectionName(PersistentEntity) - Method in MongoDatastore
Gets the default collection name for the given entity
getCollectionName() - Method in MongoEntity
@return The name of the Mongo collection that entity maps to
getCollectionName(PersistentEntity, Document) - Method in MongoEntityPersister
getCollectionName() - Method in MongoStaticApi
getCollectionName() - Method in MongoStaticOperations
@return The name of the Mongo collection that entity maps to
getCollectionNames(MongoDatabase) - Method in MongoExtensions
getCommonConfiguration(BeanDefinitionRegistry, String) - Method in AbstractDatastoreInitializer
getComponentType() - Method in Basic
getCompositeIdentity() - Method in AbstractPersistentEntity
getCompositeIdentity(Class, MappingContext) - Method in GormMappingConfigurationStrategy
getCompositeIdentity(Class, MappingContext) - Method in MappingConfigurationStrategy
Obtains the identity of a persistent entity
getCompositeIdentity() - Method in PersistentEntity
The composite id
getCompoundIndices() - Method in MongoCollection
Return all defined compound indices
getConfiguration() - Method in SpringConfigurer
getConnection() - Method in CustomizableRollbackTransactionAttribute
@return The connection being used
getConnectionFromDriverManager(String, Properties) - Method in DataSourceBuilder.ReadOnlyDriverManagerDataSource
getConnectionsCollection(ConnectionSource<MongoClient, MongoConnectionSourceSettings>) - Method in MongoConnectionSources
getConnectionSource(String) - Method in ConnectionSources
Obtain a ConnectionSource by name
getConnectionSource(String) - Method in InMemoryConnectionSources
getConnectionSource(String) - Method in SingletonConnectionSources
getConnectionSource(String) - Method in StaticConnectionSources
getConnectionSourceNames(ConnectionSourceFactory<T, S>, PropertyResolver) - Method in AbstractConnectionSources
Implementors should provide a method to lookup the data source names, which could be read from a database, configuration etc.
getConnectionSourceNames(PersistentEntity) - Method in ConnectionSourcesSupport
Obtain all of the ConnectionSource names for the given entity
getConnectionSourceNames(ConnectionSourceFactory<T, S>, PropertyResolver) - Method in SingletonConnectionSources
getConnectionSourceNames(ConnectionSourceFactory<T, S>, PropertyResolver) - Method in StaticConnectionSources
getConnectionSources() - Method in ConnectionSourcesProvider
@return The ConnectionSources
getConnectionSources() - Method in MongoDatastore
@return The ConnectionSources for this datastore
getConnectionSourcesConfigurationKey() - Method in ConnectionSourceFactory
Returns:
Obtain the prefix used to obtain the default configuration.
getConnectionSourcesConfigurationKey() - Method in DataSourceConnectionSourceFactory
getConnectionSourcesConfigurationKey() - Method in MongoConnectionSourceFactory
getConnectionSourcesConfigurationKey() - Method in SingletonConnectionSources.NullConnectionFactory
getConstraintValidatorFactory() - Method in GormValidatorFactoryAdapter
getConstraintValidatorFactory() - Method in JavaxValidatorRegistry
getContext() - Method in JsonReader
getContext() - Method in JsonWriter
getContextType() - Method in JsonReader.Context
getConversionService() - Method in AbstractMappingContext
getConversionService() - Method in MappingContext
Obtains the ConversionService instance to use for type conversion
getConverterRegistry() - Method in AbstractMappingContext
getConverterRegistry() - Method in MappingContext
Obtains the converter registry
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)
getCount() - Method in GormStaticOperations
Same as count() but allows property-style syntax (Foo.count)
getCount(DBCollection, Map, Map, long, long, ReadPreference) - Method in MongoExtensions
getCount() - Method in TenantDelegatingGormOperations
getCreator() - Method in SessionHolder
getCriteria() - Method in AbstractDetachedCriteria
getCriteria() - Method in AssociationCriteria
getCriteria() - Method in DynamicFinderInvocation
getCriteria() - Method in Query
@return The criteria defined by this query
getCriteria() - Method in Query.Junction
getCriteria() - Method in QueryableCriteria
@return A list of all criteria
getCurrent() - Method in GrailsVersion
@return Obtains the current Grails version
getCurrentSession() - Method in AbstractDatastore
getCurrentSession() - Method in Datastore
Obtains the current session (if any)
getCurrentVersion(EntityAccess) - Method in EntityPersister
getCursor() - Method in AbstractResultList
getCursor() - Method in MongoQuery.MongoResultList
@return The underlying MongoDB cursor instance
getCustomTypeMarshaller() - Method in Basic
@return The type converter for this custom type
getCustomTypeMarshaller() - Method in Custom
@return The type converter for this custom type
getDatabase() - Method in AbstractMongoConnectionSourceSettings
@return Obtain the database name
getDatabase(PersistentEntity) - Method in AbstractMongoSession
@return The name of the default database
getDatabaseName(PersistentEntity) - Method in MongoDatastore
getDatastore() - Method in AbstractDatastoreApi
getDatastore() - Method in AbstractMongoSession
getDatastore() - Method in AbstractSession
getDatastore() - Method in DatastoreTransactionManager
getDatastore() - Method in MongoCodecSession
getDatastore() - Method in Session
The Datastore that created this Session
getDatastoreForConnection(String) - Method in MongoDatastore
getDatastoreForConnection(String) - Method in MultipleConnectionSourceCapableDatastore
Lookup a Datastore by ConnectionSource name
getDatastoreForTenantId(Serializable) - Method in MongoDatastore
getDatastoreForTenantId(Serializable) - Method in MultiTenantCapableDatastore
Obtains the datastore for the given tenant id.
getDatastoreType() - Method in DynamicMethodsConfigurer
getDatastoreType() - Method in OnChangeHandler
getDatastoreType() - Method in SpringConfigurer
The name of the datastore type (example "Mongo" or "Neo4j") @return
getDB() - Method in MongoEntity
@return The database for this domain class
getDB() - Method in MongoStaticApi
getDB() - Method in MongoStaticOperations
@return The database for this domain class
getDbo() - Method in MongoEntity
Return the DBObject instance for the entity
getDbo(D) - Method in MongoInstanceOperations
Return the DBObject instance for the entity
getDbo(D) - Method in MongoStaticApi
getDecapitalizedName() - Method in AbstractPersistentEntity
getDecapitalizedName() - Method in PersistentEntity
@return Returns the name of the class decapitalized form
getDeclaredField(String) - Method in ClassPropertyFetcher
getDeclaredField(Class, String) - Method in MappingUtils
Get a declared field, searching super classes for the field if it is not found in the class.
getDeclaredWriteConcern(PersistentEntity) - Method in AbstractMongoSession
getDefault() - Method in ConnectionSourceSettings
@return Any defaults
getDefaultConnectionSource() - Method in AbstractConnectionSources
getDefaultConnectionSource() - Method in ConnectionSources
Obtains the default ConnectionSource
getDefaultConnectionSourceName(PersistentEntity) - Method in ConnectionSourcesSupport
If a domain class uses more than one datasource, we need to know which one to use when calling a method without a namespace qualifier.
getDefaultDatabase() - Method in AbstractMongoSession
@return The name of the default database
getDefaultDatabase() - Method in MongoDatastore
@return The default database name
getDefaultDatabaseName() - Method in DocumentMappingContext
getDefaultDatabaseName(PropertyResolver) - Method in MongoMappingContext
getDefaultFlushMode() - Method in MongoDatastore
@return The default flush mode
getDefaultIdentityMapping(ClassMapping) - Method in GormMappingConfigurationStrategy
getDefaultIdentityMapping(ClassMapping) - Method in MappingConfigurationStrategy
Obtains the default manner in which identifiers are mapped.
getDefaultMapping() - Method in DocumentMappingContext
getDefinition() - Method in MongoCollection.Index
getDeleteMap(Iterable) - Method in MongoSession
getDetachedCriteria() - Method in DynamicFinderInvocation
getDetachedCriteriaType(ClassNode) - Method in AbstractDetachedCriteriaServiceImplementor
getDetachedCriteriaType(ClassNode) - Method in AbstractWhereImplementer
getDirectChildEntities(PersistentEntity) - Method in AbstractMappingContext
getDirectChildEntities(PersistentEntity) - Method in MappingContext
Obtains only the direct children (1 level down) for the given root entity
getDirection() - Method in Query.Order
@return The direction order by
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 AbstractPersistentEntity
getDiscriminator() - Method in PersistentEntity
The discriminator used when persisting subclasses of an inheritance hierarchy
getDiscriminatorAttributeName() - Method in BsonPersistentEntityCodec
@return The name of the discriminator
getDiscriminatorAttributeName() - Method in PersistentEntityCodec
getDocumentMappingContext() - Method in AbstractMongoSession
getDocumentMappingContext() - Method in MongoCodecSession
getDomainClasses() - Method in MongoSpec
@return The domain classes
getDriverClassName() - Method in DatabaseDriver
Return the driver class name.
getDynamicFinderPrefix() - Method in CountByImplementer
getDynamicFinderPrefix() - Method in FindAllByImplementer
getDynamicFinderPrefix() - Method in FindOneByImplementer
getEmbedded(T, String) - Method in AbstractMongoObectEntityPersister
getEmbedded(T, String) - Method in NativeEntryEntityPersister
Implementors should override to provide support for embedded objects.
getEncoderClass() - Method in BigDecimalCodec
getEncoderClass() - Method in BigIntegerCodec
getEncoderClass() - Method in BsonPersistentEntityCodec
getEncoderClass() - Method in CodecExtensions.CurrencyCodec
getEncoderClass() - Method in CodecExtensions.GStringCodec
getEncoderClass() - Method in CodecExtensions.IntRangeCodec
getEncoderClass() - Method in CodecExtensions.ListCodec
getEncoderClass() - Method in CodecExtensions.LocaleCodec
getEncoderClass() - Method in CodecExtensions.MapCodec
getEntity() - Method in AbstractClassMapping
getEntity() - Method in AbstractPersistenceEvent
getEntity() - Method in BeanEntityAccess
getEntity() - Method in ClassMapping
Obtains the PersistentEntity for this class mapping
getEntity() - Method in EntityAccess
@return The entity being persisted
getEntity() - Method in FieldEntityAccess
getEntity() - Method in ManualEntityOrdering
getEntity() - Method in PendingOperation
@return The PersistentEntity being inserted
getEntity() - Method in PendingOperationAdapter
getEntity() - Method in Query
@return The PersistentEntity being query
getEntityAccess() - Method in AbstractPersistenceEvent
getEntityAccess() - Method in PendingInsert
@return The EntityAccess object for the entity to be inserted
getEntityAccess() - Method in PendingInsertAdapter
getEntityAccess() - Method in PendingUpdate
@return The EntityAccess object for the entity to be inserted
getEntityAccess() - Method in PendingUpdateAdapter
getEntityFamily() - Method in AbstractKeyValueEntityPersister
getEntityFamily() - Method in AbstractMongoObectEntityPersister
getEntityFamily() - Method in NativeEntryEntityPersister
getEntityMappedFormType() - Method in AbstractGormMappingFactory
getEntityMappedFormType() - Method in GormDocumentMappingFactory
getEntityMappedFormType() - Method in GormKeyValueMappingFactory
getEntityObject() - Method in AbstractPersistenceEvent
getEntityReflector(PersistentEntity) - Method in AbstractMappingContext
Obtains a EntityReflector instance for the given entity
getEntityReflector(PersistentEntity) - Method in MappingContext
Obtains a EntityReflector instance for the given entity
getEntityTrait() - Method in GormEntityTraitProvider
getEntityValidator(PersistentEntity) - Method in AbstractMappingContext
Retrieves a validator for an entity
getEntityValidator(PersistentEntity) - Method in MappingContext
Obtains a validator for the given entity
getEntryValue(T, String) - Method in AbstractMongoObectEntityPersister
getEntryValue(T, String) - Method in NativeEntryEntityPersister
Reads a value for the given key from the native entry
getEnumType() - Method in Property
@return The type of the enum, either ordinal or string
getEnumTypeObject() - Method in Property
@return The type of the enum, either ordinal or string
getErrors() - Method in GormValidateable
Obtains the errors for an instance
getErrors(D) - Method in GormValidationApi
Obtains the errors for an instance
getEventType() - Method in AbstractPersistenceEvent
getEventType() - Method in AbstractQueryEvent
@return The type of event.
getEventType() - Method in PostDeleteEvent
getEventType() - Method in PostInsertEvent
getEventType() - Method in PostLoadEvent
getEventType() - Method in PostQueryEvent
@return The type of event.
getEventType() - Method in PostUpdateEvent
getEventType() - Method in PreDeleteEvent
getEventType() - Method in PreInsertEvent
getEventType() - Method in PreLoadEvent
getEventType() - Method in PreQueryEvent
@return The type of event.
getEventType() - Method in PreUpdateEvent
getEventType() - Method in SaveOrUpdateEvent
getEventType() - Method in ValidationEvent
getExpandoMetaClass(Class<?>) - Method in MetaClassUtils
getExpressions() - Method in DynamicFinderInvocation
getExtendedMethods() - Method in AbstractGormApi
getFactory() - Method in AbstractConnectionSources
getFactory() - Method in ConnectionSources
@return The factory used to create new connections
getFallBackValue(def, String) - Method in ConfigurationBuilder
getFamily(PersistentEntity, ClassMapping<Family>) - Method in AbstractKeyValueEntityPersister
getFamily() - Method in KeyValueEntry
getFetchMode(Object) - Method in DynamicFinder
Retrieves the fetch mode for the specified instance; otherwise returns the default FetchMode.
getFetchStrategies() - Method in AbstractDetachedCriteria
@return Obtain the fetch strategies for each property
getFetchStrategy() - Method in Association
@return The fetch strategy for the association
getField() - Method in MongoAttribute
@return The field name to map to
getFinders() - Method in GormEnhancer
getFindMethodToInvoke(ClassNode, MethodNode, ClassNode) - Method in FindOneStringQueryImplementer
getFlushMode() - Method in AbstractSession
getFlushMode() - Method in Session
Obtains the current FlushModeType
getFrom() - Method in Query.Between
getFromTPCache(PersistentEntity, Serializable) - Method in ThirdPartyCacheEntityPersister
getFunctionName() - Method in FunctionCallingCriterion
getFurthestUnresolvedParent(ClassNode) - Method in AstUtils
getGenerator() - Method in IdentityMapping
@return The type of value generated used
getGenericType(Class) - Method in MappingUtils
getGenericTypeForMapProperty(Class, String, boolean) - Method in MappingUtils
getGenericTypeForProperty(Class, String) - Method in MappingUtils
getGetterAndSetterForPropertyName(LinkedHashMap<String, GetterAndSetter>, String) - Method in DirtyCheckingTransformer
getGetterName(String) - Method in MappingUtils
Calculate the name for a getter method to retrieve the specified property
getGetterName(String, boolean) - Method in NameUtils
Retrieves the name of a setter for the specified property name
getGormDynamicFinders() - Method in GormEntity
getGormDynamicFinders() - Method in GormStaticApi
getGormDynamicFinders() - Method in GormStaticOperations
@return The GORM dynamic finders
getGormDynamicFinders() - Method in TenantDelegatingGormOperations
getGormPersistentEntity() - Method in GormEntity
@return The PersistentEntity for this class
getGormPersistentEntity() - Method in GormStaticApi
@return The PersistentEntity for this class
getGormPersistentEntity() - Method in GormStaticOperations
@return The PersistentEntity for this class
getGormPersistentEntity() - Method in TenantDelegatingGormOperations
getGrailsApplicationClass() - Method in AbstractDatastoreInitializer
getGrailsValidatorClass() - Method in AbstractDatastoreInitializer
getHandledPrefixes() - Method in AbstractStringQueryImplementer
getHandledPrefixes() - Method in AbstractWhereImplementer
getHandledPrefixes() - Method in CountByImplementer
getHandledPrefixes() - Method in CountImplementer
getHandledPrefixes() - Method in DeleteImplementer
getHandledPrefixes() - Method in DeleteWhereImplementer
getHandledPrefixes() - Method in FindAllByImplementer
getHandledPrefixes() - Method in FindAllImplementer
getHandledPrefixes() - Method in FindAllPropertyProjectionImplementer
getHandledPrefixes() - Method in FindAndDeleteImplementer
getHandledPrefixes() - Method in FindOneByImplementer
getHandledPrefixes() - Method in FindOneImplementer
getHandledPrefixes() - Method in FindOnePropertyProjectionImplementer
getHandledPrefixes() - Method in PrefixedServiceImplementer
@return The handled prefixes
getHandledPrefixes() - Method in SaveImplementer
getHandledPrefixes() - Method in UpdateOneImplementer
getId(Enum) - Method in EnumType
getIdDynamic(def) - Method in GroovyProxyFactory
getIdentifier() - Method in AbstractClassMapping
getIdentifier() - Method in BeanEntityAccess
getIdentifier() - Method in ClassMapping
Returns details of the identifier used for this class
getIdentifier() - Method in DocumentPersistentEntity.DocumentCollectionMapping
getIdentifier() - Method in EntityAccess
@return Obtains the value of the entity identifier
getIdentifier(Object) - Method in EntityReflector
@return Obtain the identifier
getIdentifier() - Method in FieldEntityAccess
getIdentifier(Object) - Method in GroovyProxyFactory
getIdentifier(Object) - Method in JavassistProxyFactory
getIdentifier(Object) - Method in ProxyHandler
Obtains the identifier of an object without initializing the proxy if it is one
getIdentifierForKey(Object) - Method in AbstractMongoObectEntityPersister
getIdentifierName() - Method in BeanEntityAccess
getIdentifierName() - Method in EntityAccess
@return The name of the identifier property
getIdentifierName() - Method in EntityReflector
@return The name of the identifier
getIdentifierName() - Method in FieldEntityAccess
getIdentifierName(Identity) - Method in IdentityEncoder
getIdentifierName() - Method in IdentityMapping
The identifier property name(s).
getIdentifierName(ClassMapping) - Method in MongoCodecEntityPersister
getIdentifierName(ClassMapping) - Method in NativeEntryEntityPersister
Obtains the identifier name to use.
getIdentity() - Method in AbstractPersistentEntity
getIdentity(Class, MappingContext) - Method in GormMappingConfigurationStrategy
@see org.grails.datastore.mapping.model.MappingConfigurationStrategy#getIdentity(Class, org.grails.datastore.mapping.model.MappingContext)
getIdentity(Class, MappingContext) - Method in MappingConfigurationStrategy
Obtains the identity of a persistent entity
getIdentity() - Method in PersistentEntity
Returns the identity of the instance
getIdentityMappedForm(ClassMapping, T) - Method in AbstractGormMappingFactory
getIdentityMappedForm(ClassMapping, KeyValue) - Method in GormKeyValueMappingFactory
getIdentityMapping(ClassMapping) - Method in GormMappingConfigurationStrategy
Obtains the identity mapping for the specified class mapping
getIdentityMapping(ClassMapping) - Method in JpaMappingConfigurationStrategy
getIdentityMapping(ClassMapping) - Method in MappingConfigurationStrategy
Obtains the identity mapping for the specified class mapping
getIndexAttributes() - Method in MongoAttribute
@return The attributes for the index
getIndexedEntity() - Method in AbstractMongoObectEntityPersister.MongoAssociationIndexer
getIndexedEntity() - Method in AssociationQueryExecutor
@return The entity to be queried
getIndexName(Object) - Method in PropertyValueIndexer
@param value The indexed value
getIndices() - Method in MongoCollection
getInListQueryValues(PersistentEntity, In) - Method in BsonQuery
Get the list of native values to use in the query.
getInstanceApi(Class<D>, String) - Method in GormEnhancer
getInstanceMethodApiProviders(Class<D>) - Method in GormEnhancer
getInstancePropertyValue(Object, String) - Method in ClassPropertyFetcher
getInversePropertyName() - Method in ManyToMany
getInverseSide() - Method in Association
@return The inverside side or null if the association is not bidirectional
getInverseSide() - Method in Basic
getJavaClass() - Method in AbstractPersistentEntity
getJavaClass() - Method in ClassPropertyFetcher
@return The Java that this ClassPropertyFetcher was constructor for
getJavaClass() - Method in DynamicFinderInvocation
getJavaClass() - Method in PersistentEntity
@return The underlying Java class for this entity
getJoinTypes() - Method in AbstractDetachedCriteria
@return Obtain the join types
getKey() - Method in KeyValue
getKey() - Method in OptimisticLockingException
getKey() - Method in ProxyInstanceMetaClass
getKeyspace(ClassMapping<Family>, String) - Method in AbstractKeyValueEntityPersister
getKeyspace() - Method in KeyValueMappingContext
getKnownEntityNames() - Method in AstUtils
@return The names of the transformed entities for this context
getLazy() - Method in Property
getManyToManyKeys(PersistentEntity, Object, Serializable, T, ManyToMany) - Method in AbstractMongoObectEntityPersister
getManyToManyKeys(PersistentEntity, Object, Serializable, T, ManyToMany) - Method in NativeEntryEntityPersister
getMappedForm() - Method in AbstractClassMapping
getMappedForm() - Method in ClassMapping
Returns the mapped form of the class such as a Table, a Key Space, Document etc.
getMappedForm() - Method in DocumentPersistentEntity.DocumentCollectionMapping
getMappedForm() - Method in KeyValuePersistentEntity.KeyValueClassMapping
getMappedForm() - Method in MongoMappingContext.DocumentEmbeddedPersistentEntity.DocumentCollectionMapping
getMappedForm() - Method in PropertyMapping
Returns the mapped form of the property such as a Column, a Key/Value pair, attribute etc.
getMapping() - Method in AbstractPersistentEntity
getMapping() - Method in DocumentPersistentEntity
getMapping() - Method in KeyValuePersistentEntity
getMapping() - Method in PersistentEntity
Defines the mapping between this persistent entity and an external form
getMapping() - Method in PersistentProperty
Specifies the mapping between this property and an external form such as a column, key/value pair etc.
getMappingContext() - Method in AbstractDatastore
getMappingContext() - Method in AbstractMongoSession
getMappingContext() - Method in AbstractPersistentEntity
getMappingContext() - Method in AbstractSession
getMappingContext() - Method in Datastore
Obtains the MappingContext object
getMappingContext() - Method in EntityPersister
@return The MappingContext instance
getMappingContext() - Method in MongoDatastore
@return The mapping context
getMappingContext() - Method in MongoSpec
@return Obtains the mapping context
getMappingContext() - Method in PersistentEntity
Obtains the MappingContext where this PersistentEntity is defined
getMappingContext() - Method in Session
Obtains the MappingContext instance
getMappingFactory() - Method in AbstractMappingContext
getMappingFactory() - Method in DocumentMappingContext
getMappingFactory() - Method in KeyValueMappingContext
getMappingFactory() - Method in MappingContext
Obtains the MappingFactory instance
getMappingStrategy() - Method in AbstractPersistentEntity
getMappingSyntaxStrategy() - Method in DocumentMappingContext
getMappingSyntaxStrategy() - Method in KeyValueMappingContext
getMappingSyntaxStrategy() - Method in MappingContext
Returns the syntax reader used to interpret the entity mapping syntax
getMaximumNumberOfParameters() - Method in MethodInvokingClosure
getMessage() - Method in ValidationException
getMessageInterpolator() - Method in GormValidatorFactoryAdapter
getMessageInterpolator() - Method in JavaxValidatorRegistry
getMessageSource() - Method in BeanFactoryValidatorRegistry
getMessageSource() - Method in ValidatorRegistry
@return The message source used by this registry
getMetaProperties() - Method in ClassPropertyFetcher
@return The meta properties of this class
getMethodName() - Method in DynamicFinderInvocation
getMethods() - Method in AbstractGormApi
getMilestoneVersion() - Method in Snapshot
getMongoClient() - Method in MongoDatastore
@return The com.mongodb.MongoClient instance
getMongoClient() - Method in MongoSpec
@return Obtain the mongo client
getMongoCollection(PersistentEntity) - Method in MongoCodecEntityPersister
getMongoQuery() - Method in MongoQuery
Gets the Mongo query for this query instance
getMongoSession() - Method in AbstractMongoObectEntityPersister
getMultiTenancyMode() - Method in AbstractMappingContext
getMultiTenancyMode() - Method in MappingContext
@return The multi tenancy mode
getMultiTenancyMode() - Method in MongoDatastore
getMultiTenancyMode() - Method in MultiTenantCapableDatastore
@return The multi tenancy mode
getName() - Method in AbstractPersistentEntity
getName() - Method in AbstractPersistentProperty
getName() - Method in ConnectionSource
@return The name of the connection source
getName() - Method in DefaultConnectionSource
getName(MongoCollection<Document>) - Method in MongoExtensions
getName() - Method in PersistentEntity
The entity name including any package prefix
getName() - Method in PersistentProperty
The name of the property
getName() - Method in Property
@return The name of the property this property mapping relates to
getName() - Method in Query.In
getName() - Method in Query.NotIn
getName() - Method in UniqueConstraint
getNamedQuery(String) - Method in GormEntity
Looks up a named query
getNativeEntry() - Method in PendingOperation
@return The native entry to persist
getNativeEntry() - Method in PendingOperationAdapter
getNativeEvent() - Method in AbstractPersistenceEvent
getNativeInterface() - Method in AbstractMongoSession
getNativeInterface() - Method in MongoCodecSession
getNativeInterface() - Method in Session
@return The native interface to the datastore
getNativeKey() - Method in PendingOperation
@return The native key to insert
getNativeKey() - Method in PendingOperationAdapter
getNativePropertyKey(PersistentProperty) - Method in AbstractKeyValueEntityPersister
getNativePropertyKey(PersistentProperty) - Method in NativeEntryEntityPersister
getNativeTransaction() - Method in SessionOnlyTransaction
getNativeTransaction() - Method in Transaction
@return the native transaction object.
getObject() - Method in InstanceFactoryBean
getObject() - Method in MongoClientFactoryBean
getObject() - Method in MongoClientOptionsFactoryBean
getObject() - Method in PendingDeleteAdapter
getObject() - Method in PendingInsertAdapter
getObject() - Method in PendingOperation
@return The target object of the pending operation
getObject() - Method in PendingOperationAdapter
getObject() - Method in PendingUpdateAdapter
getObject() - Method in ServiceRegistryFactoryBean
getObjectIdentifier(Object) - Method in AbstractSession
getObjectIdentifier(Object) - Method in EntityPersister
Obtains an objects identifer
getObjectIdentifier(Object) - Method in Persister
Get the identifier for the given object, if it has one.
getObjectIdentifier(Object) - Method in Session
Obtains the identifier for the instance
getObjectType() - Method in InstanceFactoryBean
getObjectType() - Method in MongoClientFactoryBean
getObjectType() - Method in MongoClientOptionsFactoryBean
getObjectType() - Method in ServiceRegistryFactoryBean
getOperator() - Method in DynamicFinderInvocation
getOptions() - Method in MongoCollection.Index
getOrCreateAssociatedEntity(PersistentEntity, MappingContext, Class) - Method in GormMappingConfigurationStrategy
Tries to obtain or create an associated entity.
getOrCreateEmbeddedEntity(PersistentEntity, MappingContext, Class) - Method in GormMappingConfigurationStrategy
Tries to obtain or create an embedded entity.
getOrCreateListProperty(ClassNode, String) - Method in GormEntityTransformation
getOrCreatePropertyQuery(Document, String) - Method in BsonQuery
getOrder() - Method in AbstractPersistenceEventListener
getOrder() - Method in AbstractProjectionImplementer
getOrder() - Method in AbstractStringQueryImplementer
getOrder() - Method in AbstractWhereImplementer
getOrder() - Method in DeleteWhereImplementer
getOrder() - Method in FindAllByImplementer
getOrder() - Method in MultiTenantEventListener
getOrder(Object) - Method in OrderedComparator
Determine the order value for the given object.
getOrder() - Method in TenantTransform
getOrderBy() - Method in Query
Gets the Order entries for this query
getOrders() - Method in AbstractDetachedCriteria
getOriginalSize() - Method in AbstractPersistentCollection
getOriginalSize() - Method in DirtyCheckableCollection
@return The previous size of the collection prior to any changes
getOriginalValue(String) - Method in DirtyCheckable
Returns the original value of the property prior to when trackChanges() was called
getOrInitializePropertyConfig(String) - Method in Entity
getOrIntializeReflector(PersistentEntity) - Method in FieldEntityAccess
getOtherProperty() - Method in Query.PropertyComparisonCriterion
getOwner() - Method in AbstractPersistentProperty
getOwner() - Method in PersistentProperty
Obtains the owner of this persistent property
getOwningEntities(Class, MappingContext) - Method in GormMappingConfigurationStrategy
getOwningEntities(Class, MappingContext) - Method in MappingConfigurationStrategy
Returns a set of entities that "own" the given entity.
getPackageToScan(Config) - Method in MongoSpec
Obtains the default package to scan
getParameterizedDetachedCriteriaClassNode(ClassNode) - Method in DetachedCriteriaTransformer
getParameterNameProvider() - Method in GormValidatorFactoryAdapter
getParameterNameProvider() - Method in JavaxValidatorRegistry
getParameterNames(Method) - Method in ConfigurableParameterNameProvider
getParameters() - Method in JpaQueryInfo
getParameterTypes() - Method in MethodInvokingClosure
getParentContext() - Method in JsonReader.Context
getParentContext() - Method in JsonWriter.Context
getParentEntity() - Method in AbstractPersistentEntity
getParentEntity() - Method in KeyValuePersistentEntity
getParentEntity() - Method in PersistentEntity
Returns the parent entity of this entity
getPattern() - Method in Query.Like
getPattern() - Method in Query.RLike
getPendingDeletes() - Method in AbstractSession
getPendingDeletes() - Method in SessionImplementor
@return The pending deletes
getPendingInserts() - Method in AbstractSession
getPendingInserts() - Method in SessionImplementor
@return The pending insert operations
getPendingUpdates() - Method in AbstractSession
getPendingUpdates() - Method in SessionImplementor
@return The pending updates
getPersistenceInterceptorClass() - Method in AbstractDatastoreInitializer
@return The class used to define the persistence interceptor
getPersistenceInterceptorClass() - Method in MongoDbDataStoreSpringInitializer
getPersistentClass() - Method in AbstractDetachedCriteria
getPersistentClass() - Method in GormOperations
@return The class these operations apply to
getPersistentEntities() - Method in AbstractMappingContext
getPersistentEntities() - Method in MappingContext
Obtains a list of PersistentEntity instances
getPersistentEntity() - Method in AbstractDetachedCriteria
getPersistentEntity(String) - Method in AbstractMappingContext
getPersistentEntity() - Method in BeanEntityAccess
getPersistentEntity() - Method in EntityAccess
@return The PersistentEntity instance
getPersistentEntity() - Method in EntityPersister
@return The PersistentEntity instance
getPersistentEntity() - Method in FieldEntityAccess
getPersistentEntity(String) - Method in MappingContext
Obtains a PersistentEntity by name
getPersistentEntity() - Method in OptimisticLockingException
getPersistentEntity() - Method in QueryableCriteria
@return The target entity
getPersistentEntityCodec(Class) - Method in MongoDatastore
Obtains a PersistentEntityCodec for the given entity
getPersistentProperties() - Method in AbstractPersistentEntity
getPersistentProperties(PersistentEntity, MappingContext, ClassMapping) - Method in GormMappingConfigurationStrategy
getPersistentProperties(PersistentEntity, MappingContext, ClassMapping, boolean) - Method in JpaMappingConfigurationStrategy
getPersistentProperties(Class, MappingContext, ClassMapping) - Method in MappingConfigurationStrategy
Obtains a List of PersistentProperty instances for the given Mapped class
getPersistentProperties() - Method in PersistentEntity
A list of properties to be persisted
getPersistentPropertyNames() - Method in AbstractPersistentEntity
getPersistentPropertyNames() - Method in PersistentEntity
A list of property names that a persistent
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.
getPersister(Object) - Method in AbstractSession
getPersister(Object) - Method in Session
The persister for the given object
getPersitentEntity() - Method in EntityReflector
The entity
getPointAtIndex(List, int) - Method in Point
Gets a point from the given list of coordinate lists
getPreOperations() - Method in PendingOperation
Operations to be executed directly prior to this operation
getPreOperations() - Method in PendingOperationAdapter
getProjectedKeys() - Method in MongoQuery.AggregatePipeline
getProjectionList() - Method in Query.ProjectionList
getProjectionName() - Method in AbstractProjectionImplementer
getProjections() - Method in AbstractDetachedCriteria
getProjections() - Method in QueryableCriteria
getProperties() - Method in DefaultMappingConfigurationBuilder
getProperties() - Method in MappingConfigurationBuilder
@return The build property definitions
getPropertiesAssignableFromType(Class) - Method in ClassPropertyFetcher
getPropertiesAssignableToType(Class) - Method in ClassPropertyFetcher
getPropertiesOfType(Class) - Method in ClassPropertyFetcher
getPropertiesOfType(Class<?>, Class<?>) - Method in ReflectionUtils
Retrieves all the properties of the given class for the given type
getProperty(String) - Method in BeanEntityAccess
getProperty(String) - Method in EntityAccess
Obtains a property value
getProperty(Object, String) - Method in EntityReflector
Get a property for the specified index
getProperty(String) - Method in FieldEntityAccess
getProperty(Object, String) - Method in GroovyObjectMethodHandler
getProperty(String) - Method in InstanceProxy
getProperty(Object, String) - Method in ProxyInstanceMetaClass
getProperty() - Method in Query.Between
getProperty() - Method in Query.Order
@return The property name to order by
getProperty() - Method in Query.PropertyNameCriterion
getPropertyAfterResolving(Object, String) - Method in GroovyObjectMethodHandler
getPropertyBeforeResolving(Object, String) - Method in EntityProxyMethodHandler
getPropertyBeforeResolving(Object, String) - Method in GroovyObjectMethodHandler
getPropertyByName(String) - Method in AbstractPersistentEntity
getPropertyByName(String) - Method in KeyValuePersistentEntity
getPropertyByName(String) - Method in PersistentEntity
Obtains a PersistentProperty instance by name
getPropertyConfig(String) - Method in Entity
Get a property config
getPropertyConfigs() - Method in Entity
@return The property configurations
getPropertyCriterion() - Method in FunctionCallingCriterion
getPropertyDecoder(Class<T>) - Method in BsonPersistentEntityCodec
Obtains the property encoder for the given property type
getPropertyDescriptor(String) - Method in ClassPropertyFetcher
getPropertyDescriptors() - Method in ClassPropertyFetcher
@deprecated Use getMetaProperties instead
getPropertyEncoder(Class<T>) - Method in BsonPersistentEntityCodec
Obtains the property encoder for the given property type
getPropertyFromHierarchy(ClassNode, String) - Method in AstUtils
Obtains a property from the class hierarchy
getPropertyIndexer(PersistentProperty) - Method in AbstractMongoObectEntityPersister
getPropertyIndexer(PersistentProperty) - Method in NativeEntryEntityPersister
Obtains an indexer for a particular property
getPropertyKey(PersistentProperty) - Method in AbstractMongoObectEntityPersister
getPropertyKey(PersistentProperty) - Method in NativeEntryEntityPersister
getPropertyMappedFormType() - Method in AbstractGormMappingFactory
getPropertyMappedFormType() - Method in GormDocumentMappingFactory
getPropertyMappedFormType() - Method in GormKeyValueMappingFactory
getPropertyName(PersistentEntity, String) - Method in BsonQuery
getPropertyName() - Method in MethodExpression
getPropertyName() - Method in Query.PropertyProjection
getPropertyNameForGetterOrSetter(String) - Method in NameUtils
Returns the property name for a getter or setter
getPropertyNames(ClassNode) - Method in AstPropertyResolveUtils
Resolves the property names for the given class node
getPropertyNames() - Method in EntityReflector
@return The property names
getPropertyNames() - Method in MatchSpec
getPropertyReader(String) - Method in EntityReflector
@param name Obtains the property reader for the given property
getPropertyType(ClassNode, String) - Method in AstPropertyResolveUtils
Resolves the type of of the given property
getPropertyType(ClassNode, String) - Method in AstUtils
Returns the property type if it exists
getPropertyType(String) - Method in BeanEntityAccess
getPropertyType(Class<?>, String) - Method in ClassPropertyFetcher
getPropertyType(String) - Method in EntityAccess
Obtains a property type
getPropertyType(String) - Method in FieldEntityAccess
getPropertyValue(String) - Method in BeanEntityAccess
getPropertyValue(String, Class<T>) - Method in ClassPropertyFetcher
getPropertyValue(String) - Method in EntityAccess
Obtains a property value
getPropertyValue(String) - Method in FieldEntityAccess
getPropertyWriter(String) - Method in EntityReflector
@param name Obtains the property writer for the given property
getProxiedClass(Object) - Method in GroovyProxyFactory
getProxiedClass(Object) - Method in JavassistProxyFactory
getProxiedClass(Object) - Method in ProxyHandler
Get the class being proxied
getProxyClass(Class) - Method in JavassistProxyFactory
getProxyFactory() - Method in AbstractMappingContext
getProxyFactory() - Method in EntityPersister
getProxyFactory() - Method in MappingContext
Factory used for creating proxies
getProxyHandler() - Method in AbstractMappingContext
getProxyHandler() - Method in MappingContext
For handling proxies
getProxyInstance(Session, Class, Serializable) - Method in JavassistProxyFactory
getProxyInstanceMetaClass(def) - Method in GroovyProxyFactory
getProxyInterfaces() - Method in JavassistProxyFactory
getProxyKey(Object) - Method in AssociationQueryProxyHandler
getProxyKey() - Method in EntityProxy
@return The identifier
getProxyKey(Object) - Method in EntityProxyMethodHandler
getProxyKey(Object) - Method in SessionEntityProxyMethodHandler
getProxyTarget(Object) - Method in EntityProxyMethodHandler
getProxyTarget() - Method in ProxyInstanceMetaClass
Load the target from the DB.
getQuery() - Method in AbstractCriteriaBuilder
getQuery() - Method in AbstractQueryEvent
Get the query from the event.
getQuery() - Method in JpaQueryInfo
getQueryMethodToExecute(ClassNode, MethodNode) - Method in AbstractWhereImplementer
getQueryMethodToExecute(ClassNode, MethodNode) - Method in CountWhereImplementer
getQueryMethodToExecute(ClassNode, MethodNode) - Method in DeleteWhereImplementer
getQueryMethodToExecute(ClassNode, MethodNode) - Method in FindAllWhereImplementer
getQueryMethodToInvoke(ClassNode, MethodNode) - Method in AbstractProjectionImplementer
getQueryMethodToInvoke(ClassNode, MethodNode) - Method in FindAllPropertyProjectionImplementer
getReference() - Method in ClassPropertyFetcher
@Deprecated will be removed in a future version of GORM
getReferencedPropertyName() - Method in Association
getReflector() - Method in AbstractPersistentEntity
getReflector(String) - Method in FieldEntityAccess
getReflector() - Method in PersistentEntity
@return The reflector this entity
getReleaseCandidateVersion() - Method in Snapshot
getRenamedMethodPrefix() - Method in AbstractMethodDecoratingTransformation
getRenamedMethodPrefix() - Method in TenantTransform
getRenamedMethodPrefix() - Method in TransactionalTransform
getResource() - Method in AnnotationMetadataReader
getResults() - Method in PostQueryEvent
Returns:
The results of the query.
getRootEntity() - Method in AbstractPersistentEntity
getRootEntity() - Method in PersistentEntity
Obtains the root entity of an inheritance hierarchy
getService(Class<T>) - Method in AbstractDatastore
getService(Class<T>) - Method in DefaultServiceRegistry
getService(Class<T>) - Method in ServiceRegistry
Obtain a service for the given interface
getServices() - Method in AbstractDatastore
getServices() - Method in DefaultServiceRegistry
getServices() - Method in ServiceRegistry
@return An iterable of the available services
getSession() - Method in AbstractDatastorePersistenceContextInterceptor
getSession(Datastore, boolean) - Method in DatastoreUtils
Get a Datastore Session for the given Datastore.
getSession() - Method in EntityPersister
getSession() - Method in MongoCodecEntityPersister
getSession() - Method in Query
@return The session that created the query
getSession() - Method in SessionCreationEvent
@return The session that has just been created.
getSession() - Method in SessionHolder
getSessionHolder() - Method in TransactionObject
getSessionProperty(String) - Method in AbstractAttributeStoringSession
Get the value of a property of the session.
getSessionProperty(String) - Method in Session
Get the value of a property of the session.
getSetterName(String) - Method in MappingUtils
Retrieves the name of a setter for the specified property name
getSetterName(String) - Method in NameUtils
Retrieves the name of a setter for the specified property name
getSettings() - Method in ConnectionSource
@return The settings for the ConnectionSource
getSettings() - Method in DefaultConnectionSource
getSimpleNativePropertyValue(Object, MappingContext) - Method in MongoEntityPersister
Convert a value into a type suitable for use in Mongo.
getSort() - Method in Entity
getSort() - Method in MongoCollection
getSource() - Method in ConnectionSource
@return The underlying native connection source, for example a SQL javax.sql.DataSource
getSource() - Method in DefaultConnectionSource
getSourceUnit() - Method in DetachedCriteriaTransformer
getSpringCustomizer() - Method in SpringConfigurer
Additional Spring configuration that is specific to the underlying Datastore.
getStaticApi(Class<D>, String) - Method in GormEnhancer
getStaticPropertyValue(Class, String, Class<T>) - Method in ClassPropertyFetcher
getStaticPropertyValuesFromInheritanceHierarchy(Class, String, Class<T>) - Method in ClassPropertyFetcher
Get the list of property values for this static property from the whole inheritance hierarchy, starting from the most derived version of the property ending with the base class.
getSubquery() - Method in Query.Exists
getSubquery() - Method in Query.In
getSubquery() - Method in Query.NotExists
getSubquery() - Method in Query.NotIn
getTarget() - Method in EntityProxy
Obtains the target performing initialization if necessary
getTargetClass() - Method in AbstractCriteriaBuilder
getTargetClass() - Method in BuildableCriteria
@return The class the criteria applies to
getTargetKey(PersistentProperty) - Method in MappingUtils
getTargetType() - Method in AbstractMappingAwareCustomTypeMarshaller
getTargetType() - Method in CodecCustomTypeMarshaller
getTargetType() - Method in CustomTypeMarshaller
@return The target Java type
getTenantId() - Method in AbstractPersistentEntity
getTenantId() - Method in PersistentEntity
@return The tenant id
getTenantResolver() - Method in MongoDatastore
getTenantResolver() - Method in MultiTenancySettings
@return The tenant resolver
getTenantResolver() - Method in MultiTenantCapableDatastore
@return Obtain the tenant resolver
getThisMetaClass() - Method in GroovyObjectMethodHandler
getTimestampProvider() - Method in AutoTimestampEventListener
getTimestampProviders() - Method in AggregateTimestampProvider
getTo() - Method in Query.Between
getTotalCount() - Method in PagedResultList
@return The total number of records for this query
getTPCacheAdapter(PersistentEntity) - Method in TPCacheAdapterRepository
Returns TPCacheAdapter for the specified PersistentEntity.
getTPCacheAdapter(PersistentEntity) - Method in TPCacheAdapterRepositoryImpl
getTraitClass() - Method in AbstractTraitApplyingGormASTTransformation
getTraitClass() - Method in ServiceTransformation
getTransaction() - Method in AbstractSession
getTransaction() - Method in Session
Obtains the current transaction instance
getTransaction() - Method in SessionHolder
getTransaction() - Method in TransactionObject
getTransaction(Datastore) - Method in TransactionUtils
getTransactionManager() - Method in MongoDatastore
@return The transaction manager
getTransactionManager() - Method in TransactionCapableDatastore
@return The transaction manager for this datastore
getTransactionTemplateMethodName() - Method in RollbackTransform
getTransactionTemplateMethodName() - Method in TransactionalTransform
getTraversableResolver() - Method in GormValidatorFactoryAdapter
getTraversableResolver() - Method in JavaxValidatorRegistry
getType() - Method in AbstractPersistentProperty
getType() - Method in EntityPersister
getType() - Method in PersistentProperty
The type of the property
getType() - Method in Persister
The type this persister persists
getUniquenessGroup() - Method in Property
getUrl() - Method in AbstractMongoConnectionSourceSettings
@return Obtain the final URL whether from the connection string or the host/port setting
getValidatedFields() - Method in ValidationEvent
getValidatedSession() - Method in SessionHolder
getValidationApi(Class<D>, String) - Method in GormEnhancer
getValidationQuery() - Method in DatabaseDriver
Return the validation query.
getValidator(PersistentEntity) - Method in BeanFactoryValidatorRegistry
getValidator() - Method in GormValidationApi
getValidator() - Method in GormValidatorFactoryAdapter
getValidator() - Method in GormValidatorFactoryAdapter.GormValidatorContext
getValidator() - Method in JavaxValidatorRegistry
getValidator() - Method in ValidatorProvider
@return The validator
getValidator(PersistentEntity) - Method in ValidatorRegistry
Looks up a validator for the given entity
getValidatorFactory() - Method in ValidatedService
@return The validator factory for this service
getValidatorRegistry() - Method in AbstractMappingContext
getValidatorRegistry() - Method in MappingContext
@return Gets the validation registry used by this MappingContext
getValue() - Method in Query.PropertyCriterion
getValue() - Method in Query.SubqueryCriterion
getValues() - Method in MongoQuery.WithinBox
getValues() - Method in MongoQuery.WithinCircle
getValues() - Method in MongoQuery.WithinPolygon
getValues() - Method in Query.In
getVersion() - Method in AbstractPersistentEntity
getVersion() - Method in PersistentEntity
Returns the version property.
getWriteConcern() - Method in AbstractMongoSession
Obtains the WriteConcern to use for the session
getWriteModelsForEntity(PersistentEntity, Map<PersistentEntity, List<WriteModel<?>>>) - Method in MongoCodecSession
getWriteModelsForEntity(PersistentEntity, Map<PersistentEntity, List<WriteModel<Document>>>) - Method in MongoSession
getXaDataSourceClassName() - Method in DatabaseDriver
Return the XA driver source class name.
GlobalDetachedCriteriaASTTransformation - Class in org.grails.datastore.gorm.query.transform
Global version of the detached query transformer
GlobalJpaEntityTransform - Class in org.grails.compiler.gorm
Makes all entities annotated with @Entity JPA into GORM entities
GlobalTraitRepairTransformation - Class in org.grails.compiler.gorm
Repairs the AST due to bugs in the way org.codehaus.groovy.transform.trait.TraitComposer works.
GormAllOperations - Interface in grails.gorm.api
All GORM operations
GormASTTransformationClass - Annotation Type in org.grails.datastore.gorm.transform
U
GormDocumentMappingFactory - Class in org.grails.datastore.mapping.document.config
gormDynamicFinders - Field in GormStaticApi
GormEnhancer - Class in org.grails.datastore.gorm
Enhances a class with GORM behavior
GormEnhancer(Datastore, PlatformTransactionManager, ConnectionSourceSettings) - Constructor in GormEnhancer
Construct a new GormEnhancer for the given arguments
gormEnhancer - Field in MongoDatastore
GormEntity - Trait in org.grails.datastore.gorm
A trait that turns any class into a GORM entity
GormEntityApi - Interface in org.grails.datastore.gorm
API for instance methods defined by a GORM entity
GormEntityTraitProvider - Interface in org.grails.compiler.gorm
Provides the implementation to use for the GormEntity trait
GormEntityTransformation - Class in org.grails.compiler.gorm
An AST transformation that adds the following features:

GormInstanceApi - Class in org.grails.datastore.gorm
Instance methods of the GORM API.
GormInstanceApi(Class<D>, Datastore) - Constructor in GormInstanceApi
GormInstanceOperations - Interface in grails.gorm.api
Instance methods of the GORM API.
GormKeyValueMappingFactory - Class in org.grails.datastore.mapping.keyvalue.mapping.config
@author Graeme Rocher
GormKeyValueMappingFactory(String) - Constructor in GormKeyValueMappingFactory
GormMappingConfigurationStrategy - Class in org.grails.datastore.mapping.model.config
GormMappingConfigurationStrategy(MappingFactory) - Constructor in GormMappingConfigurationStrategy
GormOperations - Interface in org.grails.datastore.gorm.query
Interface defining all typical GORM operations on class
GormProperties - Interface in org.grails.datastore.mapping.model.config
Reserved static property names used by GORM to evaluate GORM-style syntax.
GormQueryOperations - Interface in org.grails.datastore.gorm.query
Interface defining all typical query 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
GormStaticOperations - Interface in grails.gorm.api
Interface for the default static methods in GORM
GormValidateable - Trait in org.grails.datastore.gorm
A trait that adds GORM validation behavior to any class
GormValidationApi - Class in org.grails.datastore.gorm
Methods used for validating GORM instances.
GormValidationApi(Class<D>, MappingContext, ApplicationEventPublisher) - Constructor in GormValidationApi
GormValidatorAdapter - Class in org.grails.datastore.gorm.validation.javax
A validator adapter that applies translates the constraint errors into the Errors object of a GORM entity
GormValidatorAdapter(Validator) - Constructor in GormValidatorAdapter
GormValidatorFactoryAdapter - Class in org.grails.datastore.gorm.validation.javax
A ValidatorFactory that creates adapted validators
GormValidatorFactoryAdapter.GormValidatorContext - Class in org.grails.datastore.gorm.validation.javax
GormValidatorFactoryAdapter.GormValidatorContext(ValidatorContext) - Constructor in GormValidatorFactoryAdapter.GormValidatorContext
GormValidatorFactoryAdapter(ValidatorFactory) - Constructor in GormValidatorFactoryAdapter
GRAILS_APP_DIR - Field in AstUtils
The name of the Grails application directory
GrailsTransactionAttribute - Class in grails.gorm.transactions
Used to configure a GrailsTransactionTemplate
GrailsTransactionAttribute(RuleBasedTransactionAttribute) - Constructor in GrailsTransactionAttribute
GrailsTransactionTemplate - Class in grails.gorm.transactions
Template class that simplifies programmatic transaction demarcation and transaction exception handling.
GrailsTransactionTemplate(PlatformTransactionManager, CustomizableRollbackTransactionAttribute) - Constructor in GrailsTransactionTemplate
GrailsVersion - Class in org.grails.datastore.mapping.core.grailsversion
A class to represent a version of Grails for comparison
GrailsVersion(String) - Constructor in GrailsVersion
GraphDatastore - Interface in org.grails.datastore.mapping.graph
Marker interface for a Datastore that is a Graph
GROOVY_OBJECT_CLASS - Field in KeyValueMappingContext
GROOVY_PROXY_FACTORY_NAME - Field in AbstractMappingContext
GroovyObjectMethodHandler - Class in org.grails.datastore.mapping.proxy
Javassist MethodHandler for handling GroovyObject methods
GroovyObjectMethodHandler(Class<?>) - Constructor in GroovyObjectMethodHandler
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.
group(DBCollection, Map, Map, Map, String, String, ReadPreference) - Method in MongoExtensions
GROUP_OPERATOR - Field in BsonQuery
group - Field in UniqueConstraint
groupByProjectionHandlers - Field in BsonQuery
groupProperty(String) - Method in AbstractCriteriaBuilder
Defines a group by projection for datastores that support it
groupProperty(String) - Method in AbstractDetachedCriteria.DetachedProjections
groupProperty(String) - Method in ProjectionList
Defines a group by projection for datastores that support it
groupProperty(String) - Method in Projections
Defines a group by projection for datastores that support it
groupProperty(String) - Method in Query.ProjectionList
gt(String, Object) - Method in AbstractCriteriaBuilder
Used to restrict a value to be greater than or equal to the given value
gt(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
gt(String, Object) - Method in Criteria
Used to restrict a value to be greater than or equal to the given value
gt(String, Object) - Method in DetachedCriteria
GT_OPERATOR - Field in BsonQuery
gt(String, Object) - Method in Query
Used to restrict a value to be greater than the given value
gt(String, Object) - Method in Restrictions
Used to restrict a value to be greater than the given value
gtAll(String, QueryableCriteria) - Method in AbstractCriteriaBuilder
Creates a subquery criterion that ensures the given property is greater than all the given returned values
gtAll(String, QueryableCriteria) - Method in AbstractDetachedCriteria
gtAll(String, QueryableCriteria) - Method in Criteria
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 AbstractCriteriaBuilder
Used to restrict a value to be greater than or equal to the given value
gte(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
gte(String, Object) - Method in Criteria
Used to restrict a value to be greater than or equal to the given value
gte(String, Object) - Method in DetachedCriteria
GTE_OPERATOR - Field in BsonQuery
gte(String, Object) - Method in Query
Used to restrict a value to be greater than or equal to the given value
gte(String, Object) - Method in Restrictions
Used to restrict a value to be greater than or equal to the given value
gtProperty(String, String) - Method in AbstractCriteriaBuilder
Constraints a property to be greater than a specified other property
gtProperty(String, String) - Method in AbstractDetachedCriteria
@see Criteria
gtProperty(String, String) - Method in Criteria
Constrains a property to be greater than a specified other property
gtProperty(String, String) - Method in DetachedCriteria
gtProperty(String, String) - Method in Restrictions
Constraints a property to be greater than a specified other property
gtSome(String, Closure<?>) - Method in AbstractCriteriaBuilder
gtSome(String, Closure<?>) - Method in AbstractDetachedCriteria
gtSome(String, Closure<?>) - Method in Criteria
Creates a subquery criterion that ensures the given property is greater than some of the given values
gtSome(String, Closure<?>) - Method in DetachedCriteria

H

handle(Junction, String, BsonReader) - Method in BsonQuery.OperatorHandler
handle(PersistentEntity, Document, Document, T) - Method in BsonQuery.ProjectionHandler
Handles a projection modifying the aggregation pipeline appropriately
handle(EmbeddedQueryEncoder, T, Document, PersistentEntity) - Method in BsonQuery.QueryHandler
handleEmbeddedInstance(Association, Object, boolean) - Method in NativeEntryEntityPersister
handleEmbeddedToMany(EntityAccess, T, PersistentProperty, String) - Method in NativeEntryEntityPersister
handleEmbeddedToOne(Association, String, EntityAccess, T) - Method in NativeEntryEntityPersister
handleInvocation(Object, Method, Object) - Method in EntityProxyMethodHandler
handleInvocation(Object, Method, Object) - Method in GroovyObjectMethodHandler
handleInvocationFallback(Object, Method, Object) - Method in AssociationQueryProxyHandler
handleInvocationFallback(Object, Method, Object) - Method in EntityProxyMethodHandler
handleInvocationFallback(Object, Method, Object) - Method in SessionEntityProxyMethodHandler
handleJunction(Closure) - Method in AbstractDetachedCriteria
handleJunction(Closure) - Method in DetachedCriteria
handleNoResults() - Method in MongoQuery.AggregatedResultList
handleSubQuery(PersistentEntity, StringBuilder, StringBuilder, String, int, List, ConversionService, boolean, boolean, SubqueryCriterion, String) - Method in JpaQueryBuilder
HAS_MANY - Field in GormProperties
HAS_ONE - Field in GormProperties
hasAnnotation(ClassNode, Class<? extends Annotation>) - Method in AstAnnotationUtils
Returns true if classNode is marked with annotationClass
hasAnnotation(ClassNode, Class<? extends Annotation>) - Method in AstUtils
Returns true if classNode is marked with annotationClass
hasAnyAnnotations(ClassNode, Class<? extends Annotation>) - Method in AstAnnotationUtils
@param classNode a ClassNode to search
hasAnyAnnotations(ClassNode, Class<? extends Annotation>) - Method in AstUtils
@param classNode a ClassNode to search
hasBoth() - Method in DirtyCheckingTransformer.GetterAndSetter
hasChanged() - Method in AbstractPersistentCollection
hasChanged(String) - Method in DirtyCheckable
@param propertyName The name of the property
hasChanged() - Method in DirtyCheckableCollection
@return True if the collection has changed
hasChanged() - Method in DirtyCheckingCollection
hasChanged() - Method in DirtyCheckingMap
hasChangedElements() - Method in DirtyCheckingCollection
hasChangedSize() - Method in AbstractPersistentCollection
hasChangedSize() - Method in DirtyCheckableCollection
@return True if the collection has changed size
hasChangedSize() - Method in DirtyCheckingCollection
hasChangedSize() - Method in DirtyCheckingMap
hasCurrentSession() - Method in AbstractDatastore
hasCurrentSession() - Method in Datastore
Checks if there is a current session.
hasDatastore - Field in GormValidationApi
hasDateCreated(String) - 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
hasExcludedAnnotation(MethodNode, Set<String>) - Method in AbstractMethodDecoratingTransformation
hasExcludedAnnotation(MethodNode) - Method in TransactionalTransform
hasGrown() - Method in AbstractPersistentCollection
hasGrown() - Method in DirtyCheckableCollection
@return True if the collection has grown
hasGrown() - Method in DirtyCheckingCollection
hasGrown() - Method in DirtyCheckingMap
hashCode() - Method in AbstractPersistentCollection
hashCode() - Method in AbstractPersistentEntity
hashCode() - Method in PagedResultList
hasHibernatePlugin() - Method in MongodbGrailsPlugin
HashMapTPCacheAdapter - Class in org.grails.datastore.mapping.cache.impl
Simple implementation of TPCacheAdapter backed by a local hash map.
hasJunitAnnotation(MethodNode) - Method in AstAnnotationUtils
Whether the method node has any JUnit annotations
hasJunitAnnotation(MethodNode) - Method in AstUtils
Whether the method node has any JUnit annotations
hasLastUpdated(String) - Method in AutoTimestampEventListener
hasNeither() - Method in DirtyCheckingTransformer.GetterAndSetter
hasNumericalIdentifier - Field in AbstractMongoObectEntityPersister
hasNumericalIdentifier - Field in MongoCodecEntityPersister
hasOrInheritsProperty(ClassNode, String) - Method in AstUtils
hasProperty(String, Class) - Method in AbstractPersistentEntity
hasProperty(ClassNode, String) - Method in AstUtils
Returns whether a classNode has the specified property or not
hasProperty(String, Class) - Method in PersistentEntity
Checks whether an entity has a bean property of the given name and type
hasShrunk() - Method in AbstractPersistentCollection
hasShrunk() - Method in DirtyCheckableCollection
@return True if the collection has shrunk
hasShrunk() - Method in DirtyCheckingCollection
hasShrunk() - Method in DirtyCheckingMap
hasStringIdentifier - Field in AbstractMongoObectEntityPersister
hasStringIdentifier - Field in MongoCodecEntityPersister
hasTenantAnnotation(AnnotatedNode) - Method in TenantTransform
Whether the given node is Multi Tenant
hasTransaction() - Method in AbstractMongoSession
hasTransaction() - Method in AbstractSession
hasTransaction() - Method in Session
@return Whether the current session has an active transaction
hasTransactionalAnnotation(AnnotatedNode) - Method in TransactionalTransform
Whether the given method has a transactional annotation
headSet(Object) - Method in PersistentSortedSet
HIGHEST_PRECEDENCE - Field in OrderedComparator
Useful constant for the highest precedence value.
HINT_ARGUMENT - Field in MongoQuery
hint(DBCursor, Map<String, Object>) - Method in MongoExtensions

I

id() - Method in AbstractCriteriaBuilder
id() - Method in AbstractDetachedCriteria
Adds an id projection
id() - Method in AbstractDetachedCriteria.DetachedProjections
id() - Method in DetachedCriteria
Adds an id projection
id(Closure) - Method in Entity
Define the identity config
id(Closure) - Method in MongoCollection
ID_PROJECTION - Field in Projections
id() - Method in ProjectionList
A Projection that obtains the id of an object
id() - Method in Projections
Projection used to obtain the id of an object
id() - Method in Query.ProjectionList
ID_REFERENCE_SUFFIX - Field in BsonQuery
ident() - Method in DelegatingGormEntityApi
ident() - Method in GormEntity
Returns the objects identifier
ident() - Method in GormEntityApi
Returns the objects identifier
ident(D) - Method in GormInstanceApi
Returns the objects identifier
ident(D) - Method in GormInstanceOperations
Returns the objects identifier
ident(D) - Method in GormStaticApi
ident(D) - Method in TenantDelegatingGormOperations
identifierType() - Method in EntityReflector
@return The identity type
Identity - Class in org.grails.datastore.mapping.model.types
Represents the identity of a persistent entity
identity - Field in AbstractPersistentEntity
IDENTITY_DECODERS - Field in IdentityDecoder
IDENTITY - Field in GormProperties
Identity(PersistentEntity, MappingContext, String, Class) - Constructor in Identity
IDENTITY_PROPERTY - Field in MappingFactory
IdentityDecoder - Class in org.grails.datastore.bson.codecs.decoders
A {@PropertyDecoder} capable of decoding the Identity
IdentityDecoder.IdentityTypeDecoder - Interface in org.grails.datastore.bson.codecs.decoders
IdentityEncoder - Class in org.grails.datastore.bson.codecs.encoders
A {@PropertyEncoder} capable of encoding the Identity
IdentityGenerationException - Class in org.grails.datastore.mapping.core
Thrown when an identity cannot be generated.
IdentityGenerationException(String) - Constructor in IdentityGenerationException
IdentityMapping - Interface in org.grails.datastore.mapping.model
@author Graeme Rocher
idEq(Object) - Method in AbstractCriteriaBuilder
Creates an "equals" Criterion based on the specified property name and value.
idEq(Object) - Method in AbstractDetachedCriteria
@see Criteria
idEq(Object) - Method in Criteria
Creates an "equals" Criterion based on the specified property name and value
idEq(Object) - Method in DetachedCriteria
idEq(Object) - Method in Query
Restricts the results by the given properties value
idEq(Object) - Method in Restrictions
Restricts the property to be equal to the given value
idEquals(Object) - Method in AbstractCriteriaBuilder
idEquals(Object) - Method in AbstractDetachedCriteria
@see Criteria
idEquals(Object) - Method in Criteria
Creates a criterion that restricts the id to the given value
idEquals(Object) - Method in DetachedCriteria
ignoreCase() - Method in Query.Order
Whether to ignore the case for this order definition
ilike(String, Object) - Method in AbstractCriteriaBuilder
Creates an ilike Criterion based on the specified property name and value.
ilike(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
ilike(String, Object) - Method in Criteria
Creates an ilike Criterion based on the specified property name and value.
ilike(String, Object) - Method in DetachedCriteria
ilike(String, String) - Method in Query
Restricts the results by the given properties value
ilike(String, String) - Method in Restrictions
Case insensitive like
IllegalMappingException - Class in org.grails.datastore.mapping.model
Thrown when an error occurs reading the mapping between object and datastore.
IllegalMappingException(String) - Constructor in IllegalMappingException
implement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractReadOperationImplementer
implement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractWriteOperationImplementer
implement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in MethodValidationImplementer
implement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in ServiceImplementer
Implement the method
implementById(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, Expression) - Method in AbstractDetachedCriteriaServiceImplementor
Provide an implementation in the case querying for a single instance by id
implementById(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, Expression) - Method in AbstractProjectionImplementer
implementById(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, Expression) - Method in CountImplementer
implementById(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, Expression) - Method in DeleteImplementer
implementById(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, Expression) - Method in FindAllImplementer
implementById(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, Expression) - Method in FindOneImplementer
Implemented - Annotation Type in org.grails.datastore.gorm.services
Annotation added by the Service transformation to know which class implemented a method
implementers - Field in Service
@default {}
Returns:
Any additional implementers to apply
implementsInterface(ClassNode, ClassNode) - Method in AstUtils
Whether the given class node implements the given interface node
implementsOrInheritsZeroArgMethod(ClassNode, String) - Method in AstUtils
implementsZeroArgMethod(ClassNode, String) - Method in AstUtils
Tests whether the ClasNode implements the specified method name.
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in AbstractDetachedCriteriaServiceImplementor
Provide an implementation in the case of a query
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in AbstractProjectionImplementer
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in CountImplementer
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in DeleteImplementer
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in FindAllImplementer
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in FindAllInterfaceProjectionImplementer
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in FindOneImplementer
in(String, Object) - Method in AbstractCriteriaBuilder
Creates an "in" Criterion based on the specified property name and list of values.
in(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
in(String, Object) - Method in Criteria
Creates an "in" Criterion based on the specified property name and list of values
in(String, Object) - Method in DetachedCriteria
IN_OPERATOR - Field in BsonQuery
in(String, List) - Method in Query
Restricts the results by the given property values
in(String, QueryableCriteria) - Method in Restrictions
Restricts the property to be in the list of given values
INC_OPERATOR - Field in MongoCodecEntityPersister
INC_OPERATOR - Field in MongoConstants
includeIdentifiers() - Method in AbstractPersistentEntity
incrementEntityVersion(EntityAccess) - Method in EntityPersister
incrementVersion(EntityAccess) - Method in EntityPersister
index(Object, Object) - Method in AbstractMongoObectEntityPersister.MongoAssociationIndexer
index(T, K) - Method in AssociationIndexer
Index a single foreign key
INDEX_ATTRIBUTES - Field in MongoDatastore
index(String) - Method in MongoAttribute
Configures the index type
index(Map<String, Object>, Map<String, Object>) - Method in MongoCollection
Defines an index
index(Object, K) - Method in PropertyValueIndexer
Creates an index for the given value to the specified key
INDEX_TYPE_2D - Field in MongoAttribute
INDEX_TYPE_2DSPHERE - Field in MongoAttribute
INDEX_TYPE - Field in MongoAttribute
indexAttributes(Map) - Method in MongoAttribute
Configures the index attributes
indexer - Field in AbstractPersistentCollection
indexOf(Object) - Method in PagedResultList
indexOf(Object) - Method in PersistentList
inferNativeKey(String, Object) - Method in NativeEntryEntityPersister
Used to establish the native key to use from the identifier defined by the object
inherited - Field in AbstractPersistentProperty
inheritRollbackOnly - Field in ReadOnly
In Spring, when there are nested transaction calls, the execution of the outermost callback will throw UnexpectedRollbackException if TransactionStatus.setRollbackOnly() was called in a nested transaction callback.
inheritRollbackOnly - Field in Transactional
In Spring, when there are nested transaction calls, the execution of the outermost callback will throw UnexpectedRollbackException if TransactionStatus.setRollbackOnly() was called in a nested transaction callback.
init() - Method in AbstractDatastorePersistenceContextInterceptor
initDeferredClose(Datastore) - Method in DatastoreUtils
Initialize deferred close for the current thread and the given Datastore.
initForMappingContext(MappingContext) - Method in AutoTimestampEventListener
initialiseIfNecessary(Class<T>) - Method in AbstractDetachedCriteria
Initializable - Interface in org.grails.datastore.mapping.model.lifecycle
Interface for object that requires explicit initialization
initialize() - Method in AbstractMappingContext
initialize() - Method in AbstractPersistentCollection
initialize() - Method in AbstractPersistentEntity
initialize() - Method in DefaultServiceRegistry
initialize(ConnectionSourceSettings) - Method in DocumentMappingContext
initialize() - Method in EmbeddedPersistentEntity
initialize() - Method in EntityProxy
Initializes the proxy if it hasn't been initialized already
initialize(Object) - Method in GroovyProxyFactory
initialize() - Method in Initializable
Call to initialize the object
initialize(Object) - Method in JavassistProxyFactory
INITIALIZE_METHOD - Field in EntityProxyMethodHandler
initialize(ConnectionSource<MongoClient, MongoConnectionSourceSettings>) - Method in MongoConnectionSources
initialize(MongoConnectionSourceSettings) - Method in MongoDatastore
Runs the initialization sequence
initialize(ConnectionSourceSettings) - Method in MongoMappingContext
initialize() - Method in PagedResultList
initialize() - Method in PersistentCollection
Initializes the collection if it hasn't already been initialized.
initialize(Object) - Method in ProxyHandler
Initialises the given object
initializeConverters(MappingContext) - Method in AbstractDatastore
initialized - Field in AbstractPersistentCollection
initialized - Field in AbstractResultList
INITIALIZED_PROPERTY - Field in EntityProxyMethodHandler
initializeDefaultMappingFactory(String) - Method in KeyValueMappingContext
initializedObjects - Field in AbstractResultList
initializeFully() - Method in AbstractResultList
initializeFully() - Method in MongoQuery.AggregatedResultList
initializeIndices(PersistentEntity) - Method in MongoDatastore
Indexes any properties that are mapped with index:true
initializeMethods(def) - Method in AbstractGormApi