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

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
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
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
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
AbstractQueryEvent - Class in org.grails.datastore.mapping.query.event
Base class for query events.
AbstractQueryEvent(Object, Query) - Constructor in AbstractQueryEvent
add(Object) - Method in AbstractPersistentCollection
add(Object) - Method in DirtyCheckingCollection
add(int, Object) - Method in DirtyCheckingList
add(int, Object) - Method in PersistentList
add(Junction, Query.Criterion) - Method in Query
Adds the specified criterion instance to the given junction
add(Query.Criterion) - Method in Query.Junction
add(Projection) - Method in Query.ProjectionList
addAll(Collection) - Method in AbstractPersistentCollection
addAll(Collection) - Method in DirtyCheckingCollection
addAll(int, Collection) - Method in DirtyCheckingList
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
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, 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.
addListener(ConnectionSourcesListener<T, S>) - Method in AbstractConnectionSources
addListener(ConnectionSourcesListener<T, S>) - Method in ConnectionSources
Adds a listener
addMappingContextListener(Listener) - Method in AbstractMappingContext
addMappingContextListener(Listener) - Method in MappingContext
Adds a new mapping context listener instance
addOwner(Class) - Method in AbstractPersistentEntity
addOwner(Class) - Method in PersistentEntity
Add a class to the owners list of this PersistentEntity
addPendingInsert(PendingInsert) - Method in SessionImplementor
Adds a pending insert operation
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 SessionImplementor
Adds an operation to be executed after a flush
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
addTenantForSchema(String) - Method in SchemaMultiTenantCapableDatastore
Add a new tenant at runtime for the given schema name
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
ALL - Field in ConnectionSource
Constance for a mapping to all connection sources
ALL_DATA_SOURCES - Field in Entity
@deprecated Use ConnectionSource#DEFAULT#DEFAULT instead
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 Query
Shortcut to restrict the query to multiple given property values
allowArbitraryCustomTypes() - Method in MappingFactory
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 Criteria
Creates a logical conjunction
and(Query.Criterion, Query.Criterion) - Method in Query
Creates a conjunction using two specified criterion
and(Criterion, Criterion) - Method in Restrictions
appendCriteriaForOperator(StringBuilder, String, String, int, String, boolean) - Method in JpaQueryBuilder
appendOrder(StringBuilder, String) - Method in JpaQueryBuilder
applyOrder(List, Order) - Method in ManualEntityOrdering
areAssociationsDirty(PersistentEntity, Object) - Method in DirtyCheckingSupport
Checks whether associations are dirty
areCollectionsEqual(Object, Object) - Method in NativeEntryEntityPersister
areEmbeddedDirty(PersistentEntity, Object) - Method in DirtyCheckingSupport
Checks whether embedded associations are dirty
areEqual(Object, Object, String) - Method in NativeEntryEntityPersister
asc(String) - Method in Query.Order
Creates a new order for the given property in ascending order
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
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
AstUtils - Class in org.grails.datastore.mapping.reflect
Utility methods for dealing with Groovy ASTs
attach(Object) - Method in Session
Attaches an object the current session
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
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
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
beforeCommit(boolean) - Method in SpringSessionSynchronization
beforeCompletion() - Method in SpringSessionSynchronization
beginTransaction(TransactionDefinition) - Method in Session
Starts a transaction
BELONGS_TO - Field in GormProperties
between(String, Object, Object) - Method in Criteria
Restricts the results by the given property value range (inclusive)
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
bindNewSession(Session) - Method in DatastoreUtils
Adds the session to the current SessionHolder's list of sessions, making it the current session.
bindSession(Session, Object) - Method in DatastoreUtils
Bind the session to the thread with a SessionHolder keyed by its Datastore.
build() - Method in ConfigurationBuilder
build() - Method in MappingDefinition
Build a new mapping
BuildableCriteria - Interface in org.grails.datastore.mapping.query.api
@author Jeff Brown
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
buildRecurse(Object, List<Class>, Object, String) - Method in ConfigurationBuilder
buildRuntimeSettings(String, PropertyResolver, F) - Method in AbstractConnectionSourceFactory
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 SingletonConnectionSources.NullConnectionFactory
buildSubQuery(StringBuilder, StringBuilder, int, List, ConversionService, boolean, boolean, QueryableCriteria) - Method in JpaQueryBuilder
buildUpdate(Map<String, Object>) - Method in JpaQueryBuilder
Builds an UPDATE statement.
ByteArrayToStringConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster

C

cache(boolean) - Method in BuildableCriteria
Whether to cache the query
cache(boolean) - Method in Criteria
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 ThirdPartyCacheEntityPersister
cacheCollection(PersistentEntity, Serializable, Collection, String) - Method in SessionImplementor
Caches a collection
cacheEmbeddedEntry(PersistentEntity, Serializable, T) - Method in NativeEntryEntityPersister
cacheEntry(Serializable, T) - Method in HashMapTPCacheAdapter
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 SessionImplementor
Caches an instance
cacheNativeEntry(PersistentEntity, Serializable, T) - Method in NativeEntryEntityPersister
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
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 NativeEntryEntityPersister
CascadeValidateType - Enum in org.grails.datastore.mapping.validation
Defines a set of cascade validation options that are propagated to the associated entity.
childType - Field in AbstractPersistentCollection
CLASS - Field in GormProperties
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
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
clear() - Method in AbstractPersistentCollection
clear() - Method in DirtyCheckingCollection
clear() - Method in DirtyCheckingMap
clear() - Method in PropertyResolverMap
clear(Object) - Method in Session
Clear a specific object
clearCache() - Method in ClassPropertyFetcher
@deprecated Does nothing, no longer needed
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 Property
clone() - Method in Query
cloneAnnotation(AnnotationNode) - Method in AstUtils
cloneGlobalConstraint() - Method in Entity
close() - Method in AbstractConnectionSources
close() - Method in DefaultConnectionSource
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
Collection - Class in org.grails.datastore.mapping.document.config
Configures how an entity is mapped onto a Document collection
collection - Field in AbstractPersistentCollection
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
COMPILE_STATIC_TYPE - Field in AstUtils
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(PropertyResolver) - Method in AbstractMappingContext
configure(E) - Method in MappingDefinition
Configures an existing mapping
configureExisting(T, Closure) - Method in Entity
Configures an existing Mapping instance
configureExisting(T, Map) - Method in Property
Configures an existing PropertyConfig instance
configureOwningSide(Association) - Method in GormMappingConfigurationStrategy
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
connectionDetails - Field in AbstractDatastore
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
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
connectStateless() - Method in AbstractDatastore
connectStateless() - Method in StatelessDatastore
Connect and return a stateless session
CONSTRAINTS - Field in GormProperties
contains(Object) - Method in AbstractPersistentCollection
contains(Object) - Method in Session
Whether the object is contained within the first level cache
containsAll(Collection) - Method in AbstractPersistentCollection
containsKey(Object) - Method in PropertyResolverMap
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
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.
convertIdIfNecessary(PersistentEntity, Serializable) - Method in NativeEntryEntityPersister
convertToNativeKey(Serializable) - Method in NativeEntryEntityPersister
Subclasses should override to provide any conversion necessary to convert to a nativeKey
copyAnnotations(AnnotatedNode, AnnotatedNode, Set<String>, Set<String>) - Method in AstUtils
copyParameters(Map<String, ClassNode>, Parameter, List<String>) - Method in AstUtils
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
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
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(String, S) - Method in SingletonConnectionSources.NullConnectionFactory
createBasicCollection(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
createBuilder() - Method in ConfigurationBuilder
Creates the native builder
createBuilder() - Method in ConnectionSourceSettingsBuilder
createCollection() - Method in PersistentSet
createConcreteCollection(Class) - Method in MappingUtils
Creates a concrete collection for the supplied interface
createConfigurationBuilder(PersistentEntity, R) - Method in AbstractGormMappingFactory
createCustom(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates a custom prpoerty type
createDefaultIdentityMapping(ClassMapping, T) - Method in MappingFactory
createDocumentMappingFactory(Closure) - Method in DocumentMappingContext
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
createEntityAccess(PersistentEntity, Object) - Method in AbstractMappingContext
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, T) - Method in NativeEntryEntityPersister
createEntityAccess(PersistentEntity, Object) - Method in SessionImplementor
createIdentity(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates an identifier property
createIdentityMapping(ClassMapping) - Method in AbstractGormMappingFactory
createIdentityMapping(ClassMapping) - Method in MappingFactory
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
createMethodHandler(Session, Class, Class, Serializable) - Method in JavassistProxyFactory
createNativeObjectForEmbedded(Association, Object) - Method in NativeEntryEntityPersister
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
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<KeyValue>, PersistentEntity) - Method in GormKeyValueMappingFactory
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 JavassistProxyFactory
createProxy(Session, AssociationQueryExecutor<K, T>, K) - Method in ProxyFactory
Creates a proxy
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
createRuntime(String, PropertyResolver, S) - Method in AbstractConnectionSourceFactory
createRuntime(String, PropertyResolver, S) - Method in ConnectionSourceFactory
Creates a connection at runtime.
createSession(PropertyResolver) - Method in AbstractDatastore
Creates the native session
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
createTenantId(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates the tenant identifier property
Criteria - Interface in org.grails.datastore.mapping.query.api
Interface for the implementations that construct of criteria queries.
criteria - Field in Query
currentlyInitializing() - Method in AbstractPersistentCollection
currentTransaction(Datastore) - Method in TransactionUtils
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
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

datasource(String) - Method in Entity
Sets the datastore to use
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 AbstractPersistenceEventListener
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
DatastoreServiceMethodInvokingFactoryBean - Class in org.grails.datastore.mapping.config
Variant of {#link MethodInvokingFactoryBean} which returns the correct data service type instead of java.lang.Object so the Autowire with type works correctly.
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
decapitalize(String) - Method in NameUtils
Converts class name to property name using JavaBean decapitalization
decapitalizeFirstChar(String) - Method in NameUtils
Transforms the first character of a string into a lowercase letter
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#ALL instead
DEFAULT_MAPPING_STRATEGY - Field in GormProperties
DEFAULT_ORDER - Field in PersistenceEventListener
DEFAULT_TIMEOUT - Field in LockableEntityPersister
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
defaultDatabaseName - Field in DocumentMappingContext
DefaultMappingConfigurationBuilder - Class in org.grails.datastore.mapping.config.groovy
@author Graeme Rocher
DefaultMappingConfigurationBuilder(Entity, Class) - Constructor in DefaultMappingConfigurationBuilder
DefaultServiceRegistry - Class in org.grails.datastore.mapping.services
The default ServiceRegistry implementation
DefaultServiceRegistry(Datastore, boolean) - Constructor in DefaultServiceRegistry
deindex(Object, K) - Method in PropertyValueIndexer
Removes the index for the given value and key
DELETE_CLAUSE - Field in JpaQueryBuilder
delete(Object) - Method in EntityPersister
delete(Object) - Method in Persister
Deletes a single object
delete(Object) - Method in Session
Deletes a single object
deleteAll(QueryableCriteria) - Method in Session
Deletes all objects matching the given criteria
deleteEntities(PersistentEntity, Iterable) - Method in EntityPersister
deleteEntities(PersistentEntity, Iterable) - Method in NativeEntryEntityPersister
deleteEntity(PersistentEntity, Object) - Method in EntityPersister
deleteEntity(PersistentEntity, Object) - Method in NativeEntryEntityPersister
deleteEntries(String, List<K>) - Method in NativeEntryEntityPersister
Deletes one or many entries for the given list of Keys
deleteEntry(String, K, Object) - Method in NativeEntryEntityPersister
Deletes a single entry
desc(String) - Method in Query.Order
Creates a new order for the given property in descending order
destroy() - Method in AbstractDatastore
dirty - Field in AbstractPersistentCollection
DIRTY_CLASS_MARKER - Field in DirtyCheckingSupport
Used internally as a marker.
DIRTY - Field in GormProperties
DIRTY_PROPERTY_NAMES - Field in GormProperties
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
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
disconnect() - Method in AbstractAttributeStoringSession
Performs clear up.
disconnect() - Method in Session
Disconnects from the datastore.
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
distinct(Collection, String) - Method in ManualProjections
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
doCleanupAfterCompletion(Object) - Method in DatastoreTransactionManager
doCommit(DefaultTransactionStatus) - Method in DatastoreTransactionManager
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 this association cascades for the given cascade operation
doesCascadeValidate(Object) - Method in Association
Returns true if this association should cascade validation to the given entity.
doesNotHoldNonDefaultSession() - Method in SessionHolder
doesRequirePropertyIndexing() - Method in NativeEntryEntityPersister
Subclasses should override to optimize away manual property indexing if it is not required
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
doInSession(Session) - Method in SessionCallback
doInSession(Session) - Method in VoidSessionCallback
DOLLAR_SEPARATOR - Field in NameUtils
DOMAIN_PATH_PATTERN - Field in AstUtils
DOMAIN_TYPE - Field in AstUtils
doManualDirtyCheck(Object, Object) - Method in NativeEntryEntityPersister
doResume(Object, Object) - Method in DatastoreTransactionManager
doRollback(DefaultTransactionStatus) - Method in DatastoreTransactionManager
doSetRollbackOnly(DefaultTransactionStatus) - Method in DatastoreTransactionManager
doSuspend(Object) - Method in DatastoreTransactionManager
DoubleToFloatConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
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.

E

Embedded - Class in org.grails.datastore.mapping.model.types
Models an embedded component
embedded - Field in AbstractPersistentEntity
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
EmbeddedPersistentEntity - Class in org.grails.datastore.mapping.model
Models an embedded entity
EmbeddedPersistentEntity(Class, MappingContext) - Constructor in EmbeddedPersistentEntity
EMPTY_CLASS_ARRAY - Field in AstUtils
Entity - Class in org.grails.datastore.mapping.config
Base class for classes returned from ClassMapping.getMappedForm
entity - Field in AbstractClassMapping
entity - Field in BeanEntityAccess
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
eq(String, Object) - Method in Criteria
Creates an "equals" Criterion based on the specified property name and value
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 Criteria
Creates a subquery criterion that ensures the given property is equal to all the given returned values
eqProperty(String, String) - Method in Criteria
Constrains a property to be equal to a specified other property
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
error(SourceUnit, ASTNode, String) - Method in AstUtils
ERRORS - Field in GormProperties
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
evaluateWithContext(MappingConfigurationBuilder, Closure) - Method in AbstractGormMappingFactory
eventListeners - Field in AbstractMappingContext
EventType - Enum in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
EXCLUDED_PROPERTIES - Field in ClassPropertyFetcher
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.
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
executeQuery(PersistentEntity, Junction) - Method in AssociationQuery
executeQuery(PersistentEntity, Junction) - Method in Query
Subclasses should implement this to provide the concrete implementation of querying
executor - Field in AssociationQueryProxyHandler
exists(QueryableCriteria<?>) - Method in Criteria
Executes an exists subquery

F

Family - Class in org.grails.datastore.mapping.keyvalue.mapping.config
Family(String, String) - Constructor in Family
fastClass() - Method in EntityReflector
@return The fast class
fetch(FetchType) - Method in Property
Configure the fetch strategy
fetchStrategies - Field in Query
fetchStrategy(String) - Method in Query
Obtain the fetch strategy for the given property
field() - Method in EntityReflector.PropertyReader
@return The field or null if the field cannot be resolved
field() - Method in EntityReflector.PropertyWriter
@return The field or null if the field cannot be resolved
FieldEntityAccess - Class in org.grails.datastore.mapping.reflect
Uses field reflection or CGlib to improve performance
FieldEntityAccess(PersistentEntity, Object, ConversionService) - Constructor in FieldEntityAccess
find() - Method in QueryableCriteria
@return Find a single result
findAbstractMethodsInternal(ClassNode, List<MethodNode>, boolean) - Method in AstUtils
findAllAbstractMethods(ClassNode) - Method in AstUtils
Finds all the abstract methods for the give class node
findAllUnimplementedAbstractMethods(ClassNode) - Method in AstUtils
Finds all the abstract methods for the give class node
findAnnotation(AnnotatedNode, List<AnnotationNode>) - Method in AstAnnotationUtils
findAnnotation(AnnotatedNode, List<AnnotationNode>) - Method in AstUtils
findCustomType(MappingContext, Class<?>) - Method in MappingFactory
findInterface(ClassNode, String) - Method in AstUtils
findOrder(Object) - Method in OrderedComparator
Find an order value indicated by the given object.
findPublicAbstractMethods(ClassNode) - Method in AstUtils
Finds all the abstract methods for the give class node
findServices(List, Class<T>) - Method in ConfigurationUtils
Finds services of the given type from the given list or via java.util.ServiceLoader
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() - Method in PersistentSortedSet
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 Session
Flushes any pending changes to the datastore
flush() - Method in SpringSessionSynchronization
flush() - Method in TransactionObject
flushBeforeQuery() - Method in Query
Default behavior is the flush the session before a query in the case of FlushModeType.AUTO.
forClass(Class) - Method in ClassPropertyFetcher
formatErrors(Errors, String) - Method in ValidationException
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
fromMappedName(String) - Method in CascadeValidateType
Defines a set of cascade validation options that are propagated to the associated entity.
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 Criteria
Used to restrict a value to be greater than or equal to the given value
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 Criteria
Creates a subquery criterion that ensures the given property is greater than all the given returned values
generateIdentifier(PersistentEntity, T) - Method in NativeEntryEntityPersister
Subclasses should override to provide id generation.
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 Restrictions
Constraints a property to be greater than or equal to a specified other property
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
get(Closure) - Method in BuildableCriteria
Defines and executes a get query ( a single result) in a single call.
GET_ID_METHOD - Field in EntityProxyMethodHandler
GET_META_CLASS - Field in GroovyObjectMethodHandler
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
getAlias() - Method in QueryableCriteria
@return The alias to be used for the query, null if none
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
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.
getAssociatedEntity() - Method in Association
@return The entity associated with the this association
getAssociatedEntity() - Method in Basic
getAssociation() - Method in AssociationCriteria
getAssociation() - Method in AssociationQuery
The association being queried
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 ValidationErrors
getAttribute(Object, String) - Method in AbstractAttributeStoringSession
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
getBooleanFromMap(String, Map<?, ?>) - Method in ClassUtils
Retrieves a boolean value from a Map for the given key
getCachedCollection(PersistentEntity, Serializable, String) - Method in SessionImplementor
Obtains a cached collection
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 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
getCascadeValidateOperation() - Method in Association
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
getClassName(Class) - Method in NameUtils
Get the class name, taking into account proxies
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
getConnection() - Method in CustomizableRollbackTransactionAttribute
@return The connection being used
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
getConnectionSourcesConfigurationKey() - Method in ConnectionSourceFactory
Returns:
Obtain the prefix used to obtain the default configuration.
getConnectionSourcesConfigurationKey() - Method in SingletonConnectionSources.NullConnectionFactory
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
getCreator() - Method in SessionHolder
getCriteria() - Method in AssociationCriteria
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
getCustomTypeMarshaller() - Method in Basic
@return The type converter for this custom type
getCustomTypeMarshaller() - Method in Custom
@return The type converter for this custom type
getDatastore() - Method in DatastoreTransactionManager
getDatastore() - Method in Session
The Datastore that created this Session
getDatastoreForConnection(String) - Method in MultipleConnectionSourceCapableDatastore
Lookup a Datastore by ConnectionSource name
getDatastoreForTenantId(Serializable) - Method in MultiTenantCapableDatastore
Obtains the datastore for the given tenant id.
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.
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.
getDefaultDatabaseName() - Method in DocumentMappingContext
getDefaultIdentityMapping(ClassMapping) - Method in GormMappingConfigurationStrategy
getDefaultIdentityMapping(ClassMapping) - Method in MappingConfigurationStrategy
Obtains the default manner in which identifiers are mapped.
getDefaultMapping() - Method in DocumentMappingContext
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
getDirtyCheckingState(Object) - Method in EntityReflector
@return Obtains the dirty checking state for the given entity
getDiscriminator() - Method in AbstractPersistentEntity
getDiscriminator() - Method in PersistentEntity
The discriminator used when persisting subclasses of an inheritance hierarchy
getEmbedded() - Method in AbstractPersistentEntity
getEmbedded(T, String) - Method in NativeEntryEntityPersister
Implementors should override to provide support for embedded objects.
getEmbedded() - Method in PersistentEntity
A list of embedded associations for this entity.
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 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
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 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 ValidationException
@return The errors object
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
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
getFetchStrategy() - Method in Association
@return The fetch strategy for the association
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
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
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 JavassistProxyFactory
getIdentifier(Object) - Method in ProxyHandler
Obtains the identifier of an object without initializing the proxy if it is one
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() - Method in IdentityMapping
The identifier property name(s).
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
getIndexedEntity() - Method in AssociationQueryExecutor
@return The entity to be queried
getIndexName(Object) - Method in PropertyValueIndexer
@param value The indexed value
getInstancePropertyValue(Object, String) - Method in ClassPropertyFetcher
getInversePropertyName() - Method in ManyToMany
getInverseSide() - Method in Association
@return The inverse 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 PersistentEntity
@return The underlying Java class for this entity
getKey() - Method in KeyValue
getKey() - Method in OptimisticLockingException
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 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 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 AbstractPersistentEntity
getMappingContext() - Method in Datastore
Obtains the MappingContext object
getMappingContext() - Method in EntityPersister
@return The MappingContext instance
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
getMessage() - Method in ValidationException
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
getMilestoneVersion() - Method in Snapshot
getMultiTenancyMode() - Method in AbstractMappingContext
getMultiTenancyMode() - Method in MappingContext
@return The multi tenancy mode
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() - 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 ServiceDefinition
@return The full class name of the service
getNativeEntry() - Method in PendingOperation
@return The native entry to persist
getNativeEntry() - Method in PendingOperationAdapter
getNativeEvent() - Method in AbstractPersistenceEvent
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 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
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 DatastoreServiceMethodInvokingFactoryBean
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.
getOrder() - Method in AbstractPersistenceEventListener
getOrder(Object) - Method in OrderedComparator
Determine the order value for the given object.
getOrderBy() - Method in Query
Gets the Order entries for this query
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.
getParameters() - Method in JpaQueryInfo
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 SessionImplementor
@return The pending deletes
getPendingInserts() - Method in SessionImplementor
@return The pending insert operations
getPendingUpdates() - Method in SessionImplementor
@return The pending updates
getPersistentEntities() - Method in AbstractMappingContext
getPersistentEntities() - Method in MappingContext
Obtains a list of PersistentEntity instances
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
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
getPersister(Object) - Method in Session
The persister for the given object
getPersitentEntity() - Method in EntityReflector
The entity
getPreOperations() - Method in PendingOperation
Operations to be executed directly prior to this operation
getPreOperations() - Method in PendingOperationAdapter
getProjectionList() - Method in Query.ProjectionList
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 ModificationTrackingEntityAccess
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
getPropertyDescriptor(String) - Method in ClassPropertyFetcher
getPropertyDescriptors() - Method in ClassPropertyFetcher
@deprecated Use getMetaProperties instead
getPropertyFromHierarchy(ClassNode, String) - Method in AstUtils
Obtains a property from the class hierarchy
getPropertyIndexer(PersistentProperty) - Method in NativeEntryEntityPersister
Obtains an indexer for a particular property
getPropertyKey(PersistentProperty) - Method in NativeEntryEntityPersister
getPropertyMappedFormType() - Method in AbstractGormMappingFactory
getPropertyMappedFormType() - Method in GormDocumentMappingFactory
getPropertyMappedFormType() - Method in GormKeyValueMappingFactory
getPropertyName() - Method in Query.PropertyProjection
getPropertyNameForGetterOrSetter(String) - Method in NameUtils
Returns the property name for a getter or setter
getPropertyNames() - Method in EntityReflector
@return The property names
getPropertyReader(String) - Method in EntityReflector
@param name Obtains the property reader for 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 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
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
getQuery() - Method in AbstractQueryEvent
Get the query from the event.
getQuery() - Method in JpaQueryInfo
getReader() - Method in AbstractPersistentProperty
getReader() - Method in PersistentProperty
@return The reader for this property
getReference() - Method in ClassPropertyFetcher
@Deprecated will be removed in a future version of GORM
getReferencedPropertyName() - Method in Association
@return Returns the name of the inverse property or null if this association is unidirectional
getReflector() - Method in AbstractPersistentEntity
getReflector(String) - Method in FieldEntityAccess
getReflector() - Method in PersistentEntity
@return The reflector this entity
getReleaseCandidateVersion() - Method in Snapshot
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(Datastore, boolean) - Method in DatastoreUtils
Get a Datastore Session for the given Datastore.
getSession() - Method in EntityPersister
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
getSort() - Method in Entity
getSource() - Method in ConnectionSource
@return The underlying native connection source, for example a SQL javax.sql.DataSource
getSource() - Method in DefaultConnectionSource
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 BuildableCriteria
@return The class the criteria applies to
getTargetKey(PersistentProperty) - Method in MappingUtils
getTargetType() - Method in AbstractMappingAwareCustomTypeMarshaller
getTargetType() - Method in CustomTypeMarshaller
@return The target Java type
getTenantId() - Method in AbstractPersistentEntity
getTenantId() - Method in PersistentEntity
@return The tenant id
getTenantResolver() - Method in MultiTenancySettings
@return The tenant resolver
getTenantResolver() - Method in MultiTenantCapableDatastore
@return Obtain the tenant resolver
getter() - Method in EntityReflector.PropertyReader
@return The getter
getThisMetaClass() - Method in GroovyObjectMethodHandler
getTo() - Method in Query.Between
getTPCacheAdapter(PersistentEntity) - Method in TPCacheAdapterRepository
Returns TPCacheAdapter for the specified PersistentEntity.
getTPCacheAdapter(PersistentEntity) - Method in TPCacheAdapterRepositoryImpl
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 TransactionCapableDatastore
@return The transaction manager for this datastore
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
getType() - Method in ServiceDefinition
@return The type of the service
getUniquenessGroup() - Method in Property
getValidatedFields() - Method in ValidationEvent
getValidatedSession() - Method in SessionHolder
getValidator(PersistentEntity) - Method in BeanFactoryValidatorRegistry
getValidator(PersistentEntity) - Method in ValidatorRegistry
Looks up a validator for the given entity
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 Query.In
getVersion() - Method in AbstractPersistentEntity
getVersion() - Method in PersistentEntity
Returns the version property.
getWriter() - Method in AbstractPersistentProperty
getWriter() - Method in PersistentProperty
@return The writer for this property
GormDocumentMappingFactory - Class in org.grails.datastore.mapping.document.config
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
GormProperties - Interface in org.grails.datastore.mapping.model.config
Reserved static property names used by GORM to evaluate GORM-style syntax.
GRAILS_APP_DIR - Field in AstUtils
The name of the Grails application directory
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
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 Criteria
Used to restrict a value to be greater than or equal to the given value
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 Criteria
Creates a subquery criterion that ensures the given property is greater than all the given returned values
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 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 Criteria
Constrains a property to be greater than a specified other property
gtProperty(String, String) - Method in Restrictions
Constraints a property to be greater than a specified other property
gtSome(String, Closure<?>) - Method in Criteria
Creates a subquery criterion that ensures the given property is greater than some of the given values

H

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
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
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.
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
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
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
hasTransaction() - Method in Session
@return Whether the current session has an active transaction
headSet(Object) - Method in PersistentSortedSet
HIGHEST_PRECEDENCE - Field in OrderedComparator
Useful constant for the highest precedence value.

I

id(Closure) - Method in Entity
Define the identity config
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
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 - Field in GormProperties
Identity(PersistentEntity, MappingContext, String, Class) - Constructor in Identity
IDENTITY_PROPERTY - Field in MappingFactory
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 Criteria
Creates an "equals" Criterion based on the specified property name and value
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 Criteria
Creates a criterion that restricts the id to the given value
ignoreCase() - Method in Query.Order
Whether to ignore the case for this order definition
ilike(String, Object) - Method in Criteria
Creates an ilike Criterion based on the specified property name and value.
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
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.
in(String, Object) - Method in Criteria
Creates an "in" Criterion based on the specified property name and list of values
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
includeIdentifiers() - Method in AbstractPersistentEntity
incrementEntityVersion(EntityAccess) - Method in EntityPersister
incrementVersion(EntityAccess) - Method in EntityPersister
index(T, K) - Method in AssociationIndexer
Index a single foreign key
index(Object, K) - Method in PropertyValueIndexer
Creates an index for the given value to the specified key
indexer - Field in AbstractPersistentCollection
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
initDeferredClose(Datastore) - Method in DatastoreUtils
Initialize deferred close for the current thread and the given Datastore.
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() - Method in Initializable
Call to initialize the object
initialize(Object) - Method in JavassistProxyFactory
INITIALIZE_METHOD - Field in EntityProxyMethodHandler
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_PROPERTY - Field in EntityProxyMethodHandler
initializeDefaultMappingFactory(String) - Method in KeyValueMappingContext
initializeProxyTarget(Object) - Method in EntityProxyMethodHandler
initializeTarget(Object) - Method in SessionEntityProxyMethodHandler
initializing - Field in AbstractPersistentCollection
initialValue() - Method in SoftThreadLocalMap
Creates an initial value of a Map.
injectTrait(ClassNode, Class) - Method in AstUtils
inList(String, Object) - Method in Criteria
Creates an "in" Criterion based on the specified property name and list of values
InMemoryConnectionSources - Class in org.grails.datastore.mapping.core.connections
Default implementation of the ConnectionSources interface.
InMemoryConnectionSources(ConnectionSource<T, S>, ConnectionSourceFactory<T, S>, PropertyResolver) - Constructor in InMemoryConnectionSources
insert(Object) - Method in EntityPersister
insert(Object) - Method in Persister
Forces an insert of an object rather than trying to guess if it is an insert or an update
insert(Object) - Method in Session
Forces an insert
instantiate(Class<T>) - Method in ReflectionUtils
Instantiates an object catching any relevant exceptions and rethrowing as a runtime exception
InstantiationException - Class in org.grails.datastore.mapping.reflect
Runtime exception equivalent of java.lang.InstantiationException
InstantiationException(String, Throwable) - Constructor in InstantiationException
IntArrayToIntegerArrayConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
IntegerToByteConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
IntegerToShortConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
invoke(Object, Method, Method, Object) - Method in GroovyObjectMethodHandler
INVOKE_IMPLEMENTATION - Field in GroovyObjectMethodHandler
INVOKE_METHOD - Field in GroovyObjectMethodHandler
invokeEntityProxyMethods(Object, String, Object) - Method in EntityProxyMethodHandler
invokeMethod(String, Object) - Method in ClosureToMapPopulator
invokeMethod(String, def) - Method in DefaultMappingConfigurationBuilder
invokeMethodAfterResolving(Object, String, Object) - Method in GroovyObjectMethodHandler
invokeMethodBeforeResolving(Object, String, Object) - Method in EntityProxyMethodHandler
invokeMethodBeforeResolving(Object, String, Object) - Method in GroovyObjectMethodHandler
invokeThisMethod(Object, String, Object) - Method in GroovyObjectMethodHandler
invokeWithTargetException() - Method in DatastoreServiceMethodInvokingFactoryBean
IS_INITIALIZED_METHOD - Field in EntityProxyMethodHandler
IS_PROXY_METHOD - Field in EntityProxyMethodHandler
isAbstract() - Method in AbstractPersistentEntity
isAbstract(PersistentEntity) - Method in GormMappingConfigurationStrategy
isActive() - Method in SessionOnlyTransaction
isActive() - Method in Transaction
Whether the transaction is active
isAnnotatedSuperClass(MappingConfigurationStrategy, Class) - Method in AbstractPersistentEntity
isAssignableFrom(Class<?>, Class<?>) - Method in ReflectionUtils
isAssignableOrConvertibleFrom(Class<?>, Class<?>) - Method in ClassUtils
Returns true if the specified clazz parameter is either the same as, or is a superclass or superinterface of, the specified type parameter.
isAssignedId(PersistentEntity) - Method in EntityPersister
isAtLeast(String, String) - Method in GrailsVersion
Check whether the version is at least the given version
isAtLeastMajorMinor(String, int, int) - Method in GrailsVersion
Check whether the current version is at least the given major and minor version
isBasic() - Method in Association
@return Whether this association is embedded
isBidirectional() - Method in Association
@return True if the association is bidirectional
isBuildSnapshot() - Method in Snapshot
isCached(Class, Serializable) - Method in SessionImplementor
Whether an object with the specified key is contained within the first level cache.
isCancelled() - Method in AbstractPersistenceEvent
isCircular() - Method in Association
@return Whether the association is circular
isClassBelowPackage(Class<?>, List) - Method in ClassUtils
isCollectionType(Class) - Method in GormMappingConfigurationStrategy
isConfigurational(String) - Method in NameUtils
isConnected() - Method in AbstractAttributeStoringSession
isConnected() - Method in Session
@return true if connected to the datastore
isCustomType(Class<?>) - Method in MappingFactory
isDirty() - Method in AbstractPersistentCollection
isDirty(Object, Object) - Method in NativeEntryEntityPersister
isDirty() - Method in PersistentCollection
Check whether the collection has been modified.
isDirty(Object) - Method in Session
Check if the instance has been modified since loading.
isDomainClass(ClassNode) - Method in AstUtils
isEmbedded() - Method in Association
@return Whether this association is embedded
isEmbeddedEntry(Object) - Method in NativeEntryEntityPersister
Tests whether a native entry is an embedded entry
isEmpty() - Method in AbstractPersistentCollection
isEmpty(String) - Method in Criteria
Creates a criterion that asserts the given property is empty (such as a blank string)
isEmpty() - Method in PropertyResolverMap
isEmpty(String) - Method in Query
Used to restrict a value to be empty (such as a blank string or an empty collection)
isEmpty() - Method in Query.Junction
isEmpty() - Method in Query.ProjectionList
isEmpty(String) - Method in Restrictions
Used to restrict a value to be empty (such as a blank string or an empty collection)
isEmpty() - Method in SessionHolder
isEnum(ClassNode) - Method in AstUtils
Is the class an enum
isExcludedProperty(String, ClassMapping, Collection, boolean) - Method in GormMappingConfigurationStrategy
isExternal() - Method in AbstractPersistentEntity
isExternal() - Method in PersistentEntity
Whether this PersistentEntity is mapped using a different store.
isForeignKeyInChild() - Method in ToOne
isGetter(MethodNode) - Method in AstUtils
isGetter(String, Class<?>) - Method in ReflectionUtils
Returns true if the name of the method specified and the number of arguments make it a javabean property
isGroovyType(ClassNode) - Method in AstUtils
Whether the given type is a Groovy object
isIdentityName(String) - Method in AbstractPersistentEntity
isIdentityName(String) - Method in PersistentEntity
True if the given property is the identifier
isIgnoreCase() - Method in Query.Order
isIndexed(PersistentProperty) - Method in AbstractDatastore
isInherited() - Method in AbstractPersistentProperty
isInherited() - Method in PersistentProperty
@return Whether this property is inherited
isInheritRollbackOnly() - Method in CustomizableRollbackTransactionAttribute
isInInheritanceHierarchy(PersistentEntity) - Method in AbstractMappingContext
Returns true if the given entity is in an inheritance hierarchy
isInInheritanceHierarchy(PersistentEntity) - Method in MappingContext
Returns true if the given entity is in an inheritance hierarchy
isInitialized() - Method in AbstractMappingContext
isInitialized() - Method in AbstractPersistentCollection
isInitialized() - Method in AbstractPersistentEntity
isInitialized() - Method in DefaultServiceRegistry
isInitialized() - Method in EntityProxy
Checks whether the proxy has been initialized
isInitialized() - Method in Initializable
isInitialized(Object, String) - Method in JavassistProxyFactory
isInitialized() - Method in PersistentCollection
Check whether the collection has been loaded.
isInitialized(Object, String) - Method in ProxyHandler
Checks whether the given association name of the given object is initialized
isInstance(Object) - Method in AbstractPersistentEntity
isInstance(Object) - Method in PersistentEntity
Tests whether the given instance is an instance of this persistent entity
isIterableOrArrayOfDomainClasses(ClassNode) - Method in AstUtils
isLazy() - Method in Property
isLazy() - Method in ToMany
@return Whether this association is lazy
isList() - Method in Association
@return Whether the association is a List
isListenerExcluded(String) - Method in AbstractPersistenceEvent
isLocked(Object) - Method in LockableEntityPersister
Return whether an object is locked or not
isLocked(Object) - Method in NativeEntryEntityPersister
Subclasses can override to provide locking semantics
isMilestone() - Method in Snapshot
isMultiTenant() - Method in AbstractPersistentEntity
isMultiTenant(Class) - Method in ClassUtils
Whether the class is multi tenant
isMultiTenant(Class) - Method in ConnectionSourcesSupport
isMultiTenant() - Method in PersistentEntity
@return Whether the entity is multi tenant
isNewSession() - Method in TransactionObject
isNewSessionHolder() - Method in TransactionObject
isNotConfigurational(String) - Method in NameUtils
isNotEmpty(String) - Method in Criteria
Creates a criterion that asserts the given property is not empty
isNotEmpty(String) - Method in Query
Used to restrict a value to be not empty (such as a blank string or an empty collection)
isNotEmpty(String) - Method in Restrictions
Used to restrict a value to be not empty (such as a non-blank string)
isNotNull(String) - Method in Criteria
Creates a criterion that asserts the given property is not null
isNotNull(String) - Method in Query
Used to restrict a property to be not null
isNotNull(String) - Method in Restrictions
Used to restrict a value to be null
isNull(String) - Method in Criteria
Creates a criterion that asserts the given property is null
isNull(String) - Method in Query
Used to restrict a property to be null
isNull(String) - Method in Restrictions
Used to restrict a value to be null
isNullable() - Method in AbstractPersistentProperty
isNullable() - Method in OneToMany
isNullable() - Method in PersistentProperty
Whether the property can be set to null
isNumberType(ClassNode) - Method in AstUtils
Is the class a number
isOnValue() - Method in FunctionCallingCriterion
Whether the function is called on the value or on the property
isOrphanRemoval() - Method in Association
@return Whether orphaned entities should be removed when cascading deletes to this association
isOwningEntity(PersistentEntity) - Method in AbstractPersistentEntity
isOwningEntity(PersistentEntity) - Method in PersistentEntity
Returns whether the specified entity asserts ownership over this entity
isOwningSide() - Method in Association
Returns whether this side owns the relationship.
isOwningSide() - Method in Basic
isOwningSide() - Method in Embedded
isOwningSide() - Method in EmbeddedCollection
isOwningSide() - Method in ToOne
isPendingAlready(T) - Method in SessionImplementor
@param obj Whether the given object is already pending
isPersistentEntity(Object) - Method in AbstractMappingContext
isPersistentEntity(Class) - Method in GormMappingConfigurationStrategy
Tests whether an class is a persistent entity
isPersistentEntity(Class) - Method in MappingConfigurationStrategy
Tests whether the given class is a persistent entity
isPersistentEntity(Object) - Method in MappingContext
Returns whether the specified value is a persistent entity
isPresent(String, ClassLoader) - Method in ClassUtils
Determine whether the java.lang.Class identified by the supplied name is present and can be loaded.
isPresent() - Method in ServiceDefinition
@return is the service present
isPropertyIndexed(Property) - Method in NativeEntryEntityPersister
isProxy(Object) - Method in JavassistProxyFactory
isProxy(Object) - Method in ProxyHandler
Checks whether the specified instance is a proxy
isProxyInitiated(Object) - Method in AssociationQueryProxyHandler
isProxyInitiated(Object) - Method in EntityProxyMethodHandler
isProxyInitiated(Object) - Method in SessionEntityProxyMethodHandler
isReadableProperty(String) - Method in ClassPropertyFetcher
isReleaseCandidate() - Method in Snapshot
isRollbackOnly() - Method in TransactionObject
isRoot() - Method in AbstractPersistentEntity
isRoot() - Method in PersistentEntity
Whether this entity is a root entity
isSchemaless() - Method in AbstractDatastore
isSchemaless() - Method in Datastore
Whether the datastore is schema-less.
isSchemaless() - Method in QueryCreator
@return Whether schemaless queries are allowed
isSessionTransactional(Session, Datastore) - Method in DatastoreUtils
Return whether the given Datastore Session is transactional, that is, bound to the current thread by Spring's transaction facilities.
isSetter(MethodNode) - Method in AstUtils
isSetter(String, Class) - Method in ReflectionUtils
isSharedConnection() - Method in MultiTenancySettings.MultiTenancyMode
@return Whether a single shared connection is used
isSimpleType(String) - Method in MappingFactory
isSnapshot() - Method in GrailsVersion
isSpockTest(ClassNode) - Method in AstUtils
Whether the class is a Spock test
isStateless(PersistentEntity) - Method in SessionImplementor
@return Whether the session is stateless
isSubclassOf(ClassNode, String) - Method in AstUtils
Returns true if the given class name is a parent class of the given class
isSubclassOfOrImplementsInterface(ClassNode, String) - Method in AstUtils
isTenantId(PersistentEntity, MappingContext, PropertyDescriptor) - Method in AbstractGormMappingFactory
isTenantId(PersistentEntity, MappingContext, PropertyDescriptor) - Method in KeyValueMappingFactory
isTenantId(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Return whether the given property descriptor is the tenant id
isTransactionPresent(Datastore) - Method in TransactionUtils
isUnique() - Method in Property
@return Whether the property should be unique
isUniqueWithinGroup() - Method in Property
@return Whether the property is unique within a group
isValidInterface(Class) - Method in DefaultServiceRegistry
isValidMappingStrategy(Class, Object) - Method in AbstractMappingContext
isValidSource(AbstractPersistenceEvent) - Method in AbstractPersistenceEventListener
isVersioned() - Method in AbstractPersistentEntity
isVersioned() - Method in Entity
@return Whether this entity is versioned
isVersioned(EntityAccess) - Method in EntityPersister
isVersioned() - Method in PersistentEntity
Is the entity versioned for optimistic locking.
isVetoed() - Method in PendingDeleteAdapter
isVetoed() - Method in PendingInsertAdapter
isVetoed() - Method in PendingOperation
@return Whether the operation has been vetoed
isVetoed() - Method in PendingOperationAdapter
isVetoed() - Method in PendingUpdateAdapter
iterator() - Method in AbstractConnectionSources
iterator() - Method in AbstractPersistentCollection
iterator() - Method in StaticConnectionSources

J

javaClass - Field in AbstractPersistentEntity
JAVASIST_PROXY_FACTORY - Field in AbstractMappingContext
JavassistProxyFactory - Class in org.grails.datastore.mapping.proxy
A proxy factory that uses Javassist to create proxies
join(String, JoinType) - Method in BuildableCriteria
Whether to join on an association
join(String, JoinType) - Method in Query
Specifies whether a join query should be used (if join queries are supported by the underlying datastore)
joinTypes - Field in Query
JpaMappingConfigurationStrategy - Class in org.grails.datastore.mapping.model.config
JpaMappingConfigurationStrategy(MappingFactory) - Constructor in JpaMappingConfigurationStrategy
JpaQueryBuilder - Class in org.grails.datastore.mapping.query.jpa
Builds JPA 1.0 String-based queries from the Query model
JpaQueryBuilder(PersistentEntity, Junction, ProjectionList, Order>) - Constructor in JpaQueryBuilder
JpaQueryInfo - Class in org.grails.datastore.mapping.query.jpa
JpaQueryInfo(String, List) - Constructor in JpaQueryInfo

K

key(String) - Method in KeyValue
keys - Field in AbstractPersistentCollection
keySet() - Method in PropertyResolverMap
keyspace - Field in KeyValueMappingFactory
KeyValue - Class in org.grails.datastore.mapping.keyvalue.mapping.config
KeyValue(String) - Constructor in KeyValue
KeyValueEntry - Class in org.grails.datastore.mapping.keyvalue.engine
@author Graeme Rocher
KeyValueEntry(String) - Constructor in KeyValueEntry
KeyValueMappingContext - Class in org.grails.datastore.mapping.keyvalue.mapping.config
A MappingContext used to map objects to a Key/Value store
KeyValueMappingContext(String, ConnectionSourceSettings) - Constructor in KeyValueMappingContext
Constructs a context using the given keyspace
KeyValueMappingFactory - Class in org.grails.datastore.mapping.keyvalue.mapping.config
@author Graeme Rocher
KeyValueMappingFactory(String) - Constructor in KeyValueMappingFactory
KeyValuePersistentEntity - Class in org.grails.datastore.mapping.keyvalue.mapping.config
@author Graeme Rocher
KeyValuePersistentEntity.KeyValueClassMapping - Class in org.grails.datastore.mapping.keyvalue.mapping.config
KeyValuePersistentEntity.KeyValueClassMapping(PersistentEntity, MappingContext) - Constructor in KeyValuePersistentEntity.KeyValueClassMapping
KeyValuePersistentEntity(Class, MappingContext) - Constructor in KeyValuePersistentEntity

L

last() - Method in PersistentSortedSet
LAST_UPDATED - Field in GormProperties
lastIndexOf(Object) - Method in PersistentList
le(String, Object) - Method in Criteria
Used to restrict a value to be less than or equal to the given value
le(String, Object) - Method in Query
Used to restrict a value to be less than or equal to the given value
leAll(String, QueryableCriteria) - Method in Criteria
Creates a subquery criterion that ensures the given property is less than all the given returned values
leProperty(String, String) - Method in Criteria
Constrains a property to be less than or equal to a specified other property
leProperty(String, String) - Method in Restrictions
Constraints a property to be less than or equal to a specified other property
leSome(String, Closure<?>) - Method in Criteria
Creates a subquery criterion that ensures the given property is less than or equal to some of the given values
like(String, Object) - Method in Criteria
Creates a like Criterion based on the specified property name and value
like(String, String) - Method in Query
Restricts the results by the given properties value
like(String, String) - Method in Restrictions
Restricts the property match the given String expressions.
list(Map, Closure) - Method in BuildableCriteria
Defines and executes a list query in a single call.
list() - Method in Query
Executes the query returning zero or many results as a list.
list() - Method in QueryableCriteria
List all results
listDirtyPropertyNames() - Method in DirtyCheckable
@return A list of the dirty property names
listDistinct(Closure) - Method in BuildableCriteria
Defines and executes a list distinct query in a single call.
listeners - Field in AbstractConnectionSources
listIterator(int) - Method in PersistentList
load() - Method in ServiceDefinition
@return load the service
loadEmbeddedCollection(EmbeddedCollection, EntityAccess, Object, String) - Method in NativeEntryEntityPersister
Implementors who want to the ability to read embedded collections should implement this method
loadEmbeddedCollectionKeys(Association, EntityAccess, T) - Method in NativeEntryEntityPersister
Implementors who want to support one-to-many associations embedded should implement this method
loadInverseChildKeys(Session, Class, Collection) - Method in AbstractPersistentCollection
loadServices() - Method in DefaultServiceRegistry
lock(Serializable, int) - Method in LockableEntityPersister
Acquire a lock using the given identifier and timeout delay
lock(Serializable, int) - Method in NativeEntryEntityPersister
lock(LockModeType) - Method in Query
Specifies whether the query should obtain a pessimistic lock
lock(Class<T>, Serializable) - Method in Session
Retrieves an individual object, using a write lock to prevent loss of updates
LockableEntityPersister - Class in org.grails.datastore.mapping.engine
Abstract base class for entity persisters that support locking.
LockableEntityPersister(MappingContext, PersistentEntity, Session, ApplicationEventPublisher) - Constructor in LockableEntityPersister
lockEntry(PersistentEntity, String, Serializable, int) - Method in NativeEntryEntityPersister
Subclasses can override to provide locking semantics
lockResult - Field in Query
LOG - Field in AbstractDatastore
LOGICAL_AND - Field in JpaQueryBuilder
LOGICAL_OR - Field in JpaQueryBuilder
LongArrayToLongArrayConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
LOWEST_PRECEDENCE - Field in OrderedComparator
Useful constant for the lowest precedence value.
lt(String, Object) - Method in Criteria
Used to restrict a value to be less than or equal to the given value
lt(String, Object) - Method in Query
Used to restrict a value to be less than the given value
lt(String, Object) - Method in Restrictions
Used to restrict a value to be less than the given value
ltAll(String, QueryableCriteria) - Method in Criteria
Creates a subquery criterion that ensures the given property is less than all the given returned values
lte(String, Object) - Method in Criteria
Used to restrict a value to be less than or equal to the given value
lte(String, Object) - Method in Query
Used to restrict a value to be less than or equal to the given value
lte(String, Object) - Method in Restrictions
Used to restrict a value to be less than or equal to the given value
ltProperty(String, String) - Method in Criteria
Constrains a property to be less than a specified other property
ltProperty(String, String) - Method in Restrictions
Constraints a property to be less than a specified other property
ltSome(String, Closure<?>) - Method in Criteria
Creates a subquery criterion that ensures the given property is less than some of the given values

M

makeAccessible(Method) - Method in ReflectionUtils
Make the given method accessible, explicitly setting it accessible if necessary.
makeClosureAwareOfArguments(MethodNode, ClosureExpression) - Method in AstUtils
Makes a closure aware of the given methods arguments
ManualEntityOrdering - Class in org.grails.datastore.mapping.query.order
Manual implementation of query ordering for datastores that don't support native ordering.
ManualEntityOrdering(PersistentEntity) - Constructor in ManualEntityOrdering
ManualProjections - Class in org.grails.datastore.mapping.query.projections
Implements common projections in-memory given a set of results.
ManualProjections(PersistentEntity) - Constructor in ManualProjections
ManyToMany - Class in org.grails.datastore.mapping.model.types
Models a many-to-many association between one class and another
ManyToMany(PersistentEntity, MappingContext, String, Class) - Constructor in ManyToMany
ManyToOne - Class in org.grails.datastore.mapping.model.types
Models a many-to-one association
ManyToOne(PersistentEntity, MappingContext, String, Class) - Constructor in ManyToOne
MAPPED_BY - Field in GormProperties
MAPPED_BY_NONE - Field in GormMappingConfigurationStrategy
mappedPropertiesByName - Field in AbstractPersistentEntity
MAPPING - Field in GormProperties
MAPPING_STRATEGY - Field in GormProperties
MappingConfigurationBuilder - Interface in org.grails.datastore.mapping.config.groovy
Interface for objects that build a mapping configuration
MappingConfigurationStrategy - Interface in org.grails.datastore.mapping.model
MappingContext - Interface in org.grails.datastore.mapping.model
MappingContext.Listener - Interface in org.grails.datastore.mapping.model
Implementors can register for events when the mapping context changes
mappingContext - Field in AbstractDatastore
MappingDefinition - Interface in org.grails.datastore.mapping.config
A mapping definition
MappingFactory - Class in org.grails.datastore.mapping.model
mappingFactory - Field in DocumentMappingContext
mappingFactory - Field in KeyValueMappingContext
MappingUtils - Class in org.grails.datastore.mapping.engine.internal
Utility methods for mapping logic.
mapToPropertyResolver(Map<String, Object>) - Method in AbstractDatastore
mapX(Map<String, ? extends Expression>) - Method in AstUtils
Builds a map
markDirty() - Method in AbstractPersistentCollection
markDirty(String, def, def) - Method in DirtyCheckable
Marks the given property name as dirty
markDirty() - Method in PersistentCollection
Mark the collection as dirty.
max(Collection, String) - Method in ManualProjections
Calculates the maximum value of a property
max(String) - Method in ProjectionList
Computes the max value of a property
max(String) - Method in Projections
Computes the max value of a property
max - Field in Query
max(String) - Method in Query.ProjectionList
Computes the max value of a property
maxResults(int) - Method in Query
Defines the maximum number of results to return
META_CLASS - Field in GormProperties
META_CLASS_PROPERTY - Field in GroovyObjectMethodHandler
metaClass - Field in GroovyObjectMethodHandler
MetaClassUtils - Class in org.grails.datastore.mapping.reflect
Utility methods for manipulating meta classes
methodMissing(String, Object) - Method in Entity
min(Collection, String) - Method in ManualProjections
Calculates the minimum value of a property
min(String) - Method in ProjectionList
Computes the min value of a property
min(String) - Method in Projections
Computes the min value of a property
min(String) - Method in Query.ProjectionList
Computes the min value of a property
ModificationTrackingEntityAccess - Class in org.grails.datastore.mapping.engine
Tracks modifications to the entity access, this allows synchronization of state for Hibernate for example
ModificationTrackingEntityAccess(EntityAccess) - Constructor in ModificationTrackingEntityAccess
MultipleConnectionSourceCapableDatastore - Interface in org.grails.datastore.mapping.core.connections
A Datastore capable of configuring multiple Datastore with individually named ConnectionSource instances
MultiTenancySettings - Class in org.grails.datastore.mapping.multitenancy
Represents the multi tenancy settings
MultiTenancySettings.MultiTenancyMode - Enum in org.grails.datastore.mapping.multitenancy
The multi-tenancy mode
MultiTenantCapableDatastore - Interface in org.grails.datastore.mapping.multitenancy
An implementation that is capable of multi tenancy

N

name - Field in AbstractPersistentProperty
name - Field in DefaultConnectionSource
name(String) - Method in Property
@return The name of the property this property mapping relates to
name - Field in Query.PropertyNameCriterion
NAMED_QUERIES - Field in GormProperties
NameUtils - Class in org.grails.datastore.mapping.reflect
@author Graeme Rocher
nativeEntry - Field in PendingOperationAdapter
NativeEntryEntityPersister - Class in org.grails.datastore.mapping.engine
Provides an implementation of the EntityPersister class that reads and writes against a native datastore type specified by the generic type parameter T
NativeEntryEntityPersister.NativeEntryModifyingEntityAccess - Class in org.grails.datastore.mapping.engine
NativeEntryEntityPersister.NativeEntryModifyingEntityAccess(PersistentEntity, Object) - Constructor in NativeEntryEntityPersister.NativeEntryModifyingEntityAccess
NativeEntryEntityPersister(MappingContext, PersistentEntity, Session, ApplicationEventPublisher, TPCacheAdapterRepository<T>) - Constructor in NativeEntryEntityPersister
nativeKey - Field in PendingOperationAdapter
ne(String, Object) - Method in Criteria
Creates a "not equals" Criterion based on the specified property name and value
ne(String, Object) - Method in Restrictions
Restricts the property to be not equal to the given value
negation() - Method in Query
Creates a negation of several criterion
neProperty(String, String) - Method in Criteria
Constrains a property to be not equal to a specified other property
neProperty(String, String) - Method in Restrictions
Constraints a property to be not equal to a specified other property
newChildBuilder(Object, String) - Method in ConfigurationBuilder
Subclasses can override for when a new child builder is created
newChildBuilderForFallback(Object, Object) - Method in ConfigurationBuilder
newConnectionSource(ConnectionSource<T, S>) - Method in ConnectionSourcesListener
Triggered when a new connection source is added at runtime
newEntityInstance(PersistentEntity) - Method in EntityPersister
newInstance() - Method in AbstractPersistentEntity
newInstance() - Method in PersistentEntity
Constructs a new instance
newInstance(String, Errors) - Method in ValidationException
newProperty() - Method in Collection
newProperty() - Method in Entity
newProperty() - Method in Family
nonGeneric(ClassNode, ClassNode) - Method in AstUtils
NonPersistentTypeException - Class in org.grails.datastore.mapping.engine
Thrown when an object cannot be persisted.
NonPersistentTypeException(String) - Constructor in NonPersistentTypeException
NOT_CLAUSE - Field in JpaQueryBuilder
not(Closure) - Method in Criteria
Creates a logical negation
NoTenantResolver - Class in org.grails.datastore.mapping.multitenancy.resolvers
A TenantResolver that throws an exception indicating the tenant id was not found
notExists(QueryableCriteria<?>) - Method in Criteria
Executes a not exists subquery
notIn(String, Closure<?>) - Method in Criteria
Creates a negated "in" Criterion using a subquery
notIn(String, QueryableCriteria) - Method in Restrictions
Restricts the property to be in the list of given values

O

OBJECT_CLASS_NODE - Field in AstUtils
offset - Field in Query
onApplicationEvent(ApplicationEvent) - Method in AbstractPersistenceEventListener
{@inheritDoc}
OneToMany - Class in org.grails.datastore.mapping.model.types
Models a one-to-many association
OneToMany(PersistentEntity, MappingContext, String, Class) - Constructor in OneToMany
OneToOne - Class in org.grails.datastore.mapping.model.types
Models a one-to-one association
OneToOne(PersistentEntity, MappingContext, String, Class) - Constructor in OneToOne
ONLOAD_EVENT - Field in AbstractPersistenceEvent
ONLOAD_SAVE - Field in AbstractPersistenceEvent
onPersistenceEvent(AbstractPersistenceEvent) - Method in AbstractPersistenceEventListener
OptimisticLockingException - Class in org.grails.datastore.mapping.core
Indicates an optimistic locking violation during an update.
OptimisticLockingException(PersistentEntity, Object) - Constructor in OptimisticLockingException
or(Closure) - Method in Criteria
Creates a logical disjunction
or(Query.Criterion, Query.Criterion) - Method in Query
Creates a disjunction using two specified criterion
or(Criterion, Criterion) - Method in Restrictions
order(String, String) - Method in Criteria
Orders by the specified property name and direction
order(Query.Order) - Method in Query
Specifies the order of results
orderBy - Field in Query
OrderedComparator - Class in org.grails.datastore.mapping.core.order
Support class for ordering objects that implement org.grails.datastore.mapping.core.Ordered
orElseThrow(Supplier<? extends X>) - Method in ServiceDefinition
Load the service of throw the given exception.
originalSize - Field in AbstractPersistentCollection
otherProperty - Field in Query.PropertyComparisonCriterion
owner - Field in AbstractPersistentProperty
owners - Field in AbstractPersistentEntity

P

PARAMETER_NAME_PREFIX - Field in JpaQueryBuilder
patternToRegex(Object) - Method in Query
Converts a pattern to regex for regex queruies
PendingDelete - Interface in org.grails.datastore.mapping.core.impl
Represents a pending delete, that is an object that is due to be deleted as part of a flush() operation
PendingDeleteAdapter - Class in org.grails.datastore.mapping.core.impl
Adapter for the PendingDelete interface
PendingDeleteAdapter(PersistentEntity, K, E) - Constructor in PendingDeleteAdapter
PendingInsert - Interface in org.grails.datastore.mapping.core.impl
An insert that is pending execution in a flush() operation
PendingInsertAdapter - Class in org.grails.datastore.mapping.core.impl
Provides default implementation for most of the methods in the PendingInsert interafce
PendingInsertAdapter(PersistentEntity, K, E, EntityAccess) - Constructor in PendingInsertAdapter
PendingOperation - Interface in org.grails.datastore.mapping.core.impl
An operation that is pending execution.
PendingOperationAdapter - Class in org.grails.datastore.mapping.core.impl
Base implementation of the PendingOperation interface.
PendingOperationAdapter(PersistentEntity, K, E) - Constructor in PendingOperationAdapter
PendingOperationExecution - Class in org.grails.datastore.mapping.core.impl
Provides a default implementation to execute a pending operation.
PendingUpdate - Interface in org.grails.datastore.mapping.core.impl
An update that is pending execution in a flush() operation
PendingUpdateAdapter - Class in org.grails.datastore.mapping.core.impl
Provides a default implementation for the PendingUpdate interface
PendingUpdateAdapter(PersistentEntity, K, E, EntityAccess) - Constructor in PendingUpdateAdapter
persist(Iterable) - Method in EntityPersister
persist(Iterable) - Method in Persister
Persists a number of objects at the same time and returns their keys in the order specified by the objs parameter
persist(Iterable) - Method in Session
Persists several objects returning their identifiers in the order specified by the Iterable
PersistenceEventListener - Interface in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
PersistentCollection - Interface in org.grails.datastore.mapping.collection
A lazy loaded collection.
persistentEntities - Field in AbstractMappingContext
persistentEntitiesByDiscriminator - Field in AbstractMappingContext
persistentEntitiesByName - Field in AbstractMappingContext
persistentEntitiesByParent - Field in AbstractMappingContext
PersistentEntity - Interface in org.grails.datastore.mapping.model
Represents a persistent entity.
persistentEntity - Field in BeanEntityAccess
persistentEntityAdded(PersistentEntity) - Method in MappingContext.Listener
Fired when a new entity is added
persistEntities(PersistentEntity, Iterable) - Method in EntityPersister
persistEntities(PersistentEntity, Iterable) - Method in NativeEntryEntityPersister
This is a rather simplistic and unoptimized implementation.
persistEntity(PersistentEntity, Object) - Method in EntityPersister
Persist the given persistent entity
persistEntity(PersistentEntity, Object) - Method in NativeEntryEntityPersister
PersistentList - Class in org.grails.datastore.mapping.collection
A lazy loaded list.
PersistentList(Association, Serializable, Session) - Constructor in PersistentList
persistentProperties - Field in AbstractPersistentEntity
PersistentProperty - Interface in org.grails.datastore.mapping.model
@author Graeme Rocher
persistentPropertyNames - Field in AbstractPersistentEntity
PersistentSet - Class in org.grails.datastore.mapping.collection
A lazy loaded set.
PersistentSet(Serializable, Session, AssociationQueryExecutor) - Constructor in PersistentSet
PersistentSortedSet - Class in org.grails.datastore.mapping.collection
A lazy loaded sorted set.
PersistentSortedSet(Serializable, Session, AssociationQueryExecutor) - Constructor in PersistentSortedSet
Persister - Interface in org.grails.datastore.mapping.engine
A Persister is responsible for persisting and retrieving an object.
populate(Closure) - Method in ClosureToMapPopulator
PostDeleteEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
PostDeleteEvent(Object, PersistentEntity, EntityAccess) - Constructor in PostDeleteEvent
PostInsertEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
PostInsertEvent(Object, PersistentEntity) - Constructor in PostInsertEvent
PostLoadEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
PostLoadEvent(Object, PersistentEntity) - Constructor in PostLoadEvent
PostQueryEvent - Class in org.grails.datastore.mapping.query.event
Query fired after a query has run.
PostQueryEvent(Object, Query, List) - Constructor in PostQueryEvent
PostUpdateEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
PostUpdateEvent(Object, PersistentEntity, EntityAccess) - Constructor in PostUpdateEvent
PreDeleteEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
PreDeleteEvent(Object, PersistentEntity, EntityAccess) - Constructor in PreDeleteEvent
PREFIX - Field in Settings
The default prefix
preIndex(K, List<T>) - Method in AssociationIndexer
Creates an index queryable via the primary key.
PreInsertEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
PreInsertEvent(Object, PersistentEntity) - Constructor in PreInsertEvent
PreLoadEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
PreLoadEvent(Object, PersistentEntity) - Constructor in PreLoadEvent
preparePropertyResolver(PropertyResolver, String) - Method in DatastoreUtils
Prepares a property resolver and ensures it is suitable for GORM configuration
PreQueryEvent - Class in org.grails.datastore.mapping.query.event
Event fired immediately before a query is executed.
PreQueryEvent(Object, Query) - Constructor in PreQueryEvent
PreUpdateEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
PreUpdateEvent(Object, PersistentEntity, EntityAccess) - Constructor in PreUpdateEvent
PRIMITIVE_TYPE_COMPATIBLE_CLASSES - Field in ClassUtils
PRIMITIVE_TYPE_COMPATIBLE_CLASSES - Field in ReflectionUtils
processDeferredClose(Datastore) - Method in DatastoreUtils
Process all Datastore Sessions that have been registered for deferred close for the given SessionFactory.
processVariableScopes(SourceUnit, ClassNode, MethodNode) - Method in AstUtils
ProjectionList - Interface in org.grails.datastore.mapping.query.api
Models a list of projections
Projections - Class in org.grails.datastore.mapping.query
Projections used to customize the results of a query
projections - Field in Query
PROPERTIES - Field in GormProperties
propertiesByName - Field in AbstractPersistentEntity
Property - Class in org.grails.datastore.mapping.config
Base class for classes returned from PropertyMapping.getMappedForm
property(Map) - Method in Entity
Configure a new property
property(Collection, String) - Method in ManualProjections
Obtains a properties value from the results
PROPERTY_NAME - Field in SystemPropertyTenantResolver
property(String) - Method in ProjectionList
A projection that obtains the value of a property of an entity
property(String) - Method in Projections
A projection that obtains the value of a property of an entity
property(String) - Method in Query.ProjectionList
A projection that obtains the value of a property of an entity
propertyConfigs - Field in Entity
The configuration for each property
propertyFactory - Field in GormMappingConfigurationStrategy
PropertyMapping - Interface in org.grails.datastore.mapping.model
Interface for a property mapping which specifies what or where a particular property is mapped to.
propertyMissing(String, Object) - Method in Entity
PropertyResolverMap - Class in org.grails.datastore.mapping.config.utils
Adapts a property resolver to the Map interface
PropertyResolverMap(PropertyResolver) - Constructor in PropertyResolverMap
propertyType() - Method in EntityReflector.PropertyReader
@return The property type
propertyType() - Method in EntityReflector.PropertyWriter
@return The property type
PropertyValueIndexer - Interface in org.grails.datastore.mapping.engine
Responsible for creating indices for property values used in queries.
proxy(Serializable) - Method in EntityPersister
PROXY_KEY_PROPERTY - Field in EntityProxyMethodHandler
proxy(Serializable) - Method in LockableEntityPersister
proxy(Serializable) - Method in Persister
Creates a proxy for the given key
PROXY_PROPERTY - Field in EntityProxyMethodHandler
proxy(Class<T>, Serializable) - Method in Session
Retrieves a proxy for the given key
proxyClass - Field in GroovyObjectMethodHandler
proxyEntities - Field in AbstractPersistentCollection
ProxyFactory - Interface in org.grails.datastore.mapping.proxy
The factory used to create proxies
proxyFactory - Field in AbstractMappingContext
proxyFactory - Field in EntityPersister
ProxyHandler - Interface in org.grails.datastore.mapping.proxy
Interface for classes that handle proxies
publisher - Field in EntityPersister
put(Object, Object) - Method in DirtyCheckingMap
put(String, Object) - Method in PropertyResolverMap
putAll(Map) - Method in DirtyCheckingMap
putAll(Map<? extends String, ? extends Object>) - Method in PropertyResolverMap
putAt(String, String) - Method in ValidationErrors

Q

Query - Class in org.grails.datastore.mapping.query
Models a query that can be executed against a data store.
Query.AvgProjection - Class in org.grails.datastore.mapping.query
Computes the average value of a property
Query.AvgProjection(String) - Constructor in Query.AvgProjection
Query.Between - Class in org.grails.datastore.mapping.query
Criterion used to restrict the result to be between values (range query)
Query.Between(String, Object, Object) - Constructor in Query.Between
Query.Conjunction - Class in org.grails.datastore.mapping.query
A Criterion used to combine to criterion in a logical AND
Query.Conjunction(List<Criterion>) - Constructor in Query.Conjunction
Query.CountDistinctProjection - Class in org.grails.datastore.mapping.query
Query.CountDistinctProjection(String) - Constructor in Query.CountDistinctProjection
Query.CountProjection - Class in org.grails.datastore.mapping.query
Used to count the results of a query
Query.Criterion - Interface in org.grails.datastore.mapping.query
Represents a criterion to be used in a criteria query
Query.Disjunction - Class in org.grails.datastore.mapping.query
A Criterion used to combine to criterion in a logical OR
Query.Disjunction(List<Criterion>) - Constructor in Query.Disjunction
Query.DistinctProjection - Class in org.grails.datastore.mapping.query
Query.DistinctPropertyProjection - Class in org.grails.datastore.mapping.query
Query.DistinctPropertyProjection(String) - Constructor in Query.DistinctPropertyProjection
Query.Equals - Class in org.grails.datastore.mapping.query
A criterion that restricts the results based on equality
Query.Equals(String, Object) - Constructor in Query.Equals
Query.EqualsAll - Class in org.grails.datastore.mapping.query
Restricts a value to be equal to all the given values
Query.EqualsAll(String, QueryableCriteria) - Constructor in Query.EqualsAll
Query.EqualsProperty - Class in org.grails.datastore.mapping.query
Query.EqualsProperty(String, String) - Constructor in Query.EqualsProperty
Query.Exists - Class in org.grails.datastore.mapping.query
Used for exists subquery
Query.Exists(QueryableCriteria) - Constructor in Query.Exists
Query.GreaterThan - Class in org.grails.datastore.mapping.query
Used to restrict a value to be greater than the given value
Query.GreaterThan(String, Object) - Constructor in Query.GreaterThan
Query.GreaterThanAll - Class in org.grails.datastore.mapping.query
Restricts a value to be greater than all the given values
Query.GreaterThanAll(String, QueryableCriteria) - Constructor in Query.GreaterThanAll
Query.GreaterThanEquals - Class in org.grails.datastore.mapping.query
Used to restrict a value to be greater than or equal to the given value
Query.GreaterThanEquals(String, Object) - Constructor in Query.GreaterThanEquals
Query.GreaterThanEqualsAll - Class in org.grails.datastore.mapping.query
Restricts a value to be greater than or equal to all the given values
Query.GreaterThanEqualsAll(String, QueryableCriteria) - Constructor in Query.GreaterThanEqualsAll
Query.GreaterThanEqualsProperty - Class in org.grails.datastore.mapping.query
Query.GreaterThanEqualsProperty(String, String) - Constructor in Query.GreaterThanEqualsProperty
Query.GreaterThanEqualsSome - Class in org.grails.datastore.mapping.query
Restricts a value to be greater than some of the given values
Query.GreaterThanEqualsSome(String, QueryableCriteria) - Constructor in Query.GreaterThanEqualsSome
Query.GreaterThanProperty - Class in org.grails.datastore.mapping.query
Query.GreaterThanProperty(String, String) - Constructor in Query.GreaterThanProperty
Query.GreaterThanSome - Class in org.grails.datastore.mapping.query
Restricts a value to be greater than some of the given values
Query.GreaterThanSome(String, QueryableCriteria) - Constructor in Query.GreaterThanSome
Query.GroupPropertyProjection - Class in org.grails.datastore.mapping.query
Query.GroupPropertyProjection(String) - Constructor in Query.GroupPropertyProjection
Query.IdEquals - Class in org.grails.datastore.mapping.query
A criterion that restricts the results based on the equality of the identifier
Query.IdEquals(Object) - Constructor in Query.IdEquals
Query.IdProjection - Class in org.grails.datastore.mapping.query
A projection used to obtain the identifier of an object
Query.ILike - Class in org.grails.datastore.mapping.query
Criterion used to restrict the results based on a pattern (likeness)
Query.ILike(String, String) - Constructor in Query.ILike
Query.In - Class in org.grails.datastore.mapping.query
Criterion used to restrict the results based on a list of values
Query.In(String, QueryableCriteria) - Constructor in Query.In
Query.IsEmpty - Class in org.grails.datastore.mapping.query
Restricts a property to be empty (such as a blank string)
Query.IsEmpty(String) - Constructor in Query.IsEmpty
Query.IsNotEmpty - Class in org.grails.datastore.mapping.query
Restricts a property to be empty (such as a blank string)
Query.IsNotEmpty(String) - Constructor in Query.IsNotEmpty
Query.IsNotNull - Class in org.grails.datastore.mapping.query
Restricts a property to be not null
Query.IsNotNull(String) - Constructor in Query.IsNotNull
Query.IsNull - Class in org.grails.datastore.mapping.query
Models a query that can be executed against a data store.
Query.IsNull(String) - Constructor in Query.IsNull
Query.Junction - Class in org.grails.datastore.mapping.query
Query.Junction(List<Criterion>) - Constructor in Query.Junction
Query.LessThan - Class in org.grails.datastore.mapping.query
Used to restrict a value to be less than the given value
Query.LessThan(String, Object) - Constructor in Query.LessThan
Query.LessThanAll - Class in org.grails.datastore.mapping.query
Restricts a value to be less than all the given values
Query.LessThanAll(String, QueryableCriteria) - Constructor in Query.LessThanAll
Query.LessThanEquals - Class in org.grails.datastore.mapping.query
Used to restrict a value to be less than the given value
Query.LessThanEquals(String, Object) - Constructor in Query.LessThanEquals
Query.LessThanEqualsAll - Class in org.grails.datastore.mapping.query
Restricts a value to be less than or equal to all the given values
Query.LessThanEqualsAll(String, QueryableCriteria) - Constructor in Query.LessThanEqualsAll
Query.LessThanEqualsProperty - Class in org.grails.datastore.mapping.query
Query.LessThanEqualsProperty(String, String) - Constructor in Query.LessThanEqualsProperty
Query.LessThanEqualsSome - Class in org.grails.datastore.mapping.query
Restricts a value to be less than some of the given values
Query.LessThanEqualsSome(String, QueryableCriteria) - Constructor in Query.LessThanEqualsSome
Query.LessThanProperty - Class in org.grails.datastore.mapping.query
Query.LessThanProperty(String, String) - Constructor in Query.LessThanProperty
Query.LessThanSome - Class in org.grails.datastore.mapping.query
Restricts a value to be less than some of the given values
Query.LessThanSome(String, QueryableCriteria) - Constructor in Query.LessThanSome
Query.Like - Class in org.grails.datastore.mapping.query
Criterion used to restrict the results based on a pattern (likeness)
Query.Like(String, String) - Constructor in Query.Like
Query.MaxProjection - Class in org.grails.datastore.mapping.query
Computes the max value of a property
Query.MaxProjection(String) - Constructor in Query.MaxProjection
Query.MinProjection - Class in org.grails.datastore.mapping.query
Computes the min value of a property
Query.MinProjection(String) - Constructor in Query.MinProjection
Query.Negation - Class in org.grails.datastore.mapping.query
A criterion used to negate several other criterion
Query.NotEquals - Class in org.grails.datastore.mapping.query
A criterion that restricts the results based on equality
Query.NotEquals(String, Object) - Constructor in Query.NotEquals
Query.NotEqualsAll - Class in org.grails.datastore.mapping.query
Restricts a value to be not equal to all the given values
Query.NotEqualsAll(String, QueryableCriteria) - Constructor in Query.NotEqualsAll
Query.NotEqualsProperty - Class in org.grails.datastore.mapping.query
Query.NotEqualsProperty(String, String) - Constructor in Query.NotEqualsProperty
Query.NotExists - Class in org.grails.datastore.mapping.query
Used for exists subquery
Query.NotExists(QueryableCriteria) - Constructor in Query.NotExists
Query.NotIn - Class in org.grails.datastore.mapping.query
Criterion used to restrict the results based on a list of values
Query.NotIn(String, QueryableCriteria) - Constructor in Query.NotIn
Query.Order - Class in org.grails.datastore.mapping.query
The ordering of results.
Query.Order.Direction - Enum in org.grails.datastore.mapping.query
Represents the direction of the ordering
Query.Order(String, Query.Order.Direction) - Constructor in Query.Order
Query.Projection - Class in org.grails.datastore.mapping.query
A projection
Query.ProjectionList - Class in org.grails.datastore.mapping.query
A list of projections
Query.PropertyComparisonCriterion - Class in org.grails.datastore.mapping.query
A Criterion that compares to properties
Query.PropertyComparisonCriterion(String, String) - Constructor in Query.PropertyComparisonCriterion
Query.PropertyCriterion - Class in org.grails.datastore.mapping.query
Criterion that applies to a property and value
Query.PropertyCriterion(String, Object) - Constructor in Query.PropertyCriterion
Query.PropertyNameCriterion - Class in org.grails.datastore.mapping.query
A Criterion that applies to a property
Query.PropertyNameCriterion(String) - Constructor in Query.PropertyNameCriterion
Query.PropertyProjection - Class in org.grails.datastore.mapping.query
A projection that obtains the value of a property of an entity
Query.PropertyProjection(String) - Constructor in Query.PropertyProjection
Query.RLike - Class in org.grails.datastore.mapping.query
Criterion used to restrict the results based on a regular expression pattern
Query.RLike(String, String) - Constructor in Query.RLike
Query.SizeEquals - Class in org.grails.datastore.mapping.query
Query.SizeEquals(String, int) - Constructor in Query.SizeEquals
Query.SizeGreaterThan - Class in org.grails.datastore.mapping.query
Query.SizeGreaterThan(String, int) - Constructor in Query.SizeGreaterThan
Query.SizeGreaterThanEquals - Class in org.grails.datastore.mapping.query
Query.SizeGreaterThanEquals(String, int) - Constructor in Query.SizeGreaterThanEquals
Query.SizeLessThan - Class in org.grails.datastore.mapping.query
Query.SizeLessThan(String, int) - Constructor in Query.SizeLessThan
Query.SizeLessThanEquals - Class in org.grails.datastore.mapping.query
Query.SizeLessThanEquals(String, int) - Constructor in Query.SizeLessThanEquals
Query.SizeNotEquals - Class in org.grails.datastore.mapping.query
Query.SizeNotEquals(String, int) - Constructor in Query.SizeNotEquals
Query.SubqueryCriterion - Class in org.grails.datastore.mapping.query
Used to differentiate criterion that require a subquery
Query.SubqueryCriterion(String, QueryableCriteria) - Constructor in Query.SubqueryCriterion
Query.SumProjection - Class in org.grails.datastore.mapping.query
Computes the sum of a property
Query.SumProjection(String) - Constructor in Query.SumProjection
query(PersistentProperty, PropertyCriterion, Q) - Method in AbstractMappingAwareCustomTypeMarshaller
query - Field in AbstractQueryEvent
The query.
query(K) - Method in AssociationQueryExecutor
Queries the given primary key and returns the foreign keys
query(PersistentProperty, PropertyCriterion, Q) - Method in CustomTypeMarshaller
Populates a query
query(Object, int, int) - Method in PropertyValueIndexer
Queries the given value and returns the keys
Query(Session, PersistentEntity) - Constructor in Query
QueryableCriteria - Interface in org.grails.datastore.mapping.query.api
@author Graeme Rocher
QueryAliasAwareSession - Interface in org.grails.datastore.mapping.query.api
@author Graeme Rocher
QueryArgumentsAware - Interface in org.grails.datastore.mapping.query.api
Interface for classes that are interested in additional query arguments defined as a map for things like the limit, offset and join information
queryCache - Field in Query
QueryCreator - Interface in org.grails.datastore.mapping.query
Query for any class that creates Queries
QueryEventType - Enum in org.grails.datastore.mapping.query.event
The type of a query event.
QueryException - Class in org.grails.datastore.mapping.query
Throw when there is a problem with the query
QueryException(String, Throwable) - Constructor in QueryException
queryInternal(PersistentProperty, String, PropertyCriterion, Q) - Method in AbstractMappingAwareCustomTypeMarshaller

R

read(PersistentProperty, N) - Method in AbstractMappingAwareCustomTypeMarshaller
read(Class<T>, String, Map<String, String>, T) - Method in ConfigUtils
read(PersistentProperty, N) - Method in CustomTypeMarshaller
Converts a value from its native form
read(Object) - Method in EntityReflector.PropertyReader
reads the property
readIdentifierFromObject(Object) - Method in NativeEntryEntityPersister
readInternal(PersistentProperty, String, N) - Method in AbstractMappingAwareCustomTypeMarshaller
readObjectIdentifier(EntityAccess, ClassMapping) - Method in NativeEntryEntityPersister
Reads an objects identifier using the entity access and ClassMapping instance
readOnly(boolean) - Method in BuildableCriteria
Whether to cache the query should be readOnly
readOnly(boolean) - Method in Criteria
ReflectionUtils - Class in org.grails.datastore.mapping.reflect
Provides methods to help with reflective operations
reflector - Field in EntityPersister
refresh() - Method in BeanEntityAccess
Refreshes the object from entity state.
refresh() - Method in EntityAccess
Refreshes the object from underlying entity state.
refresh() - Method in FieldEntityAccess
refresh(Object) - Method in NativeEntryEntityPersister
refresh(Object) - Method in Persister
Refreshes the given objects state
refresh(Object) - Method in Session
Refreshes the given objects state
refreshObjectStateFromNativeEntry(PersistentEntity, Object, Serializable, T, boolean) - Method in NativeEntryEntityPersister
REGEX_FILE_SEPARATOR - Field in AstUtils
register(ConverterRegistry) - Method in BasicTypeConverterRegistrar
registerCustomType(CustomTypeMarshaller) - Method in MappingFactory
registerPending(T) - Method in SessionImplementor
Register a pending object
RelationalDatastore - Interface in org.grails.datastore.mapping.rdbms
@author Guillaume Laforge
releaseSession(Session, Datastore) - Method in DatastoreUtils
Close the given Session, created via the given factory, if it is not managed externally (i.e. not bound to the thread).
remove(Object) - Method in AbstractPersistentCollection
remove(Object) - Method in DirtyCheckingCollection
remove(int) - Method in DirtyCheckingList
remove(Object) - Method in DirtyCheckingMap
remove(int) - Method in PersistentList
remove(Object) - Method in PropertyResolverMap
removeAll(Collection) - Method in AbstractPersistentCollection
removeAll(Collection) - Method in DirtyCheckingCollection
removeAttributesForEntity(Object) - Method in AbstractAttributeStoringSession
removeSession(Session) - Method in SessionHolder
replaceGenericsPlaceholders(ClassNode, Map<String, ClassNode>, ClassNode) - Method in AstUtils
resetDirty() - Method in AbstractPersistentCollection
resetDirty() - Method in PersistentCollection
Mark the collection as no longer dirty.
resolveConnectionForTenantId(MultiTenancySettings.MultiTenancyMode, Serializable) - Method in MultiTenancySettings
Resolves the connection to use for the given tenant id based on the current mode
resolveDelegate(Object) - Method in AssociationQueryProxyHandler
resolveDelegate(Object) - Method in GroovyObjectMethodHandler
resolveDelegate(Object) - Method in SessionEntityProxyMethodHandler
resolveDelegateAndGetProperty(Object, String) - Method in GroovyObjectMethodHandler
resolveDelegateAndInvokeThisMethod(Object, String, Object) - Method in GroovyObjectMethodHandler
resolveDelegateAndSetProperty(Object, String, Object) - Method in GroovyObjectMethodHandler
resolveIdentifier() - Method in AbstractPersistentEntity
resolveIdentifier() - Method in EmbeddedPersistentEntity
resolveIdIfEntity(Object) - Method in Query
resolveMappingStrategy(Class) - Method in AbstractMappingContext
resolveSingleGenericType(ClassNode) - Method in AstGenericsUtils
Resolves a single generic type from the given class node
resolveTenantIdentifier() - Method in FixedTenantResolver
resolveTenantIdentifier() - Method in NoTenantResolver
resolveTenantIdentifier() - Method in SystemPropertyTenantResolver
resolveTenantIdentifier() - Method in TenantResolver
resolveTenantIds() - Method in AllTenantsResolver
@return Resolves all tenant ids
Restrictions - Class in org.grails.datastore.mapping.query
Factory for creating org.grails.datastore.mapping.query.Query.Criterion instances
resume() - Method in SpringSessionSynchronization
retainAll(Collection) - Method in AbstractPersistentCollection
retrieve(Serializable) - Method in EntityPersister
retrieve(Serializable) - Method in Persister
Retrieves an object for the given context and Key
retrieve(Class<T>, Serializable) - Method in Session
Retrieves an individual object
retrieveAll(Serializable) - Method in EntityPersister
retrieveAll(Serializable) - Method in Persister
Batch retrieve several objects in one go
retrieveAll(Class, Serializable) - Method in Session
Retrieves several objects for the specified keys
retrieveAllEntities(PersistentEntity, Iterable<Serializable>) - Method in EntityPersister
retrieveAllEntities(PersistentEntity, Serializable) - Method in NativeEntryEntityPersister
Simplistic default implementation of retrieveAllEntities that iterates over each key and retrieves the entities one-by-one.
retrieveEntity(PersistentEntity, Serializable) - Method in EntityPersister
Retrieve a PersistentEntity for the given mappingContext and key
retrieveEntity(PersistentEntity, Serializable) - Method in NativeEntryEntityPersister
retrieveEntry(PersistentEntity, String, Serializable) - Method in NativeEntryEntityPersister
Reads the native form of a Key/value datastore entry.
retrieveSession(Class) - Method in AbstractDatastore
Static way to retrieve the session
rlike(String, Object) - Method in Criteria
Creates an rlike Criterion based on the specified property name and value
rlike(String, String) - Method in Query
Restricts the results by the given properties value
rlike(String, String) - Method in Restrictions
Restricts the property match the given regular expressions.
rollback() - Method in SessionOnlyTransaction
rollback() - Method in Transaction
Rollback the transaction.
rollbackOn(Throwable) - Method in CustomizableRollbackTransactionAttribute
rootBuilder - Field in ConfigurationBuilder
rowCount() - Method in ProjectionList
Count the number of records returned
rowCount() - Method in Query.ProjectionList

S

SaveOrUpdateEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
SaveOrUpdateEvent(Datastore, Object) - Constructor in SaveOrUpdateEvent
SchemaMultiTenantCapableDatastore - Interface in org.grails.datastore.mapping.multitenancy
For datastores that are capable of implementing the addition of new schemas at runtime for a single shared database instance
scroll(Closure) - Method in BuildableCriteria
Defines and executes a scroll query in a single call.
select(String) - Method in BuildableCriteria
Whether to select on an association
select(String) - Method in Query
Specifies whether a select (lazy) query should be used (if join queries are supported by the underlying datastore)
Service - Trait in org.grails.datastore.mapping.services
Represents a service available exposed by the GORM Datastore
ServiceDefinition - Interface in org.grails.datastore.mapping.services
A service that may or may not be present on the classpath.
ServiceNotFoundException - Class in org.grails.datastore.mapping.services
Thrown when a service cannot be found for the given type
ServiceNotFoundException(String) - Constructor in ServiceNotFoundException
ServiceRegistry - Interface in org.grails.datastore.mapping.services
Represents a registry of GORM services
serviceRegistry - Field in AbstractDatastore
services - Field in DefaultServiceRegistry
servicesByInterface - Field in DefaultServiceRegistry
Session - Interface in org.grails.datastore.mapping.core
The Session represents the active interaction with a datastore.
session - Field in AbstractPersistentCollection
session - Field in AssociationQueryProxyHandler
session - Field in EntityPersister
session - Field in Query
SessionCallback - Interface in org.grails.datastore.mapping.core
@author Burt Beckwith
SessionCreationEvent - Class in org.grails.datastore.mapping.core
Event fired when a session is created.
SessionCreationEvent(Session) - Constructor in SessionCreationEvent
SessionEntityProxyMethodHandler - Class in org.grails.datastore.mapping.proxy
An EntityProxyMethodHandler that uses the session to initialize a target for the given id
SessionEntityProxyMethodHandler(Class, Session, Class, Serializable) - Constructor in SessionEntityProxyMethodHandler
SessionHolder - Class in org.grails.datastore.mapping.transactions
Holds a reference to one or more sessions.
SessionHolder(Session, Object) - Constructor in SessionHolder
SessionImplementor - Interface in org.grails.datastore.mapping.core
Methods for the implementation of the Session interface to implement.
SessionOnlyTransaction - Class in org.grails.datastore.mapping.transactions
SessionOnlyTransaction(T, Session) - Constructor in SessionOnlyTransaction
sessionPropertyMap - Field in AbstractAttributeStoringSession
set(int, Object) - Method in DirtyCheckingList
SET_META_CLASS - Field in GroovyObjectMethodHandler
set(int, Object) - Method in PersistentList
SET_PROPERTY - Field in GroovyObjectMethodHandler
setApplicationContext(ApplicationContext) - Method in AbstractDatastore
setArguments(Map) - Method in QueryArgumentsAware
@param arguments The query arguments
setAssociatedEntity(PersistentEntity) - Method in Association
Sets the associated entity
setAttr(String) - Method in Attribute
setAttribute(Object, String, Object) - Method in AbstractAttributeStoringSession
setAttribute(String) - Method in Attribute
setAttribute(Object, String, Object) - Method in Session
Associates an attribute with the given persistent entity.
setBeanFactory(BeanFactory) - Method in DatastoreServiceMethodInvokingFactoryBean
setCanExpandMappingContext(boolean) - Method in GormMappingConfigurationStrategy
Whether the strategy can add new entities to the mapping context
setCanExpandMappingContext(boolean) - Method in MappingConfigurationStrategy
Whether the strategy can add new entities to the mapping context
setCanInitializeEntities(boolean) - Method in AbstractMappingContext
setCanInitializeEntities(boolean) - Method in KeyValueMappingContext
setConnection(String) - Method in CustomizableRollbackTransactionAttribute
setContextObject(Object) - Method in AbstractGormMappingFactory
@param contextObject Context object to be passed to mapping blocks
setConversionService(ConversionService) - Method in BeanEntityAccess
setConversionService(ConversionService) - Method in JpaQueryBuilder
setCustomTypeMarshaller(CustomTypeMarshaller) - Method in Basic
setCustomTypes(List<CustomTypeMarshaller>) - Method in AbstractConnectionSourceFactory
The custom user types to register
setDatastore(Datastore) - Method in DatastoreAware
Sets the datastore on this instance
setDatastore(Datastore) - Method in DatastoreTransactionManager
setDatastoreManagedSession(boolean) - Method in DatastoreTransactionManager
setDateVersion(EntityAccess) - Method in EntityPersister
setDefault(ConnectionSourceSettings.DefaultSettings) - Method in ConnectionSourceSettings
setDefaultConstraints(Closure) - Method in AbstractGormMappingFactory
setDefaultMapping(Closure) - Method in AbstractGormMappingFactory
setEmbedded(T, String, T) - Method in NativeEntryEntityPersister
Implementors should override this method to provide support for embedded objects
setEmbeddedCollection(T, String, Collection<?>, List<T>) - Method in NativeEntryEntityPersister
Implementors should override this method to provide support for embedded objects
setEmbeddedCollectionKeys(Association, EntityAccess, T, List<Serializable>) - Method in NativeEntryEntityPersister
setEmbeddedMap(T, String, Map, Map<Object, T>) - Method in NativeEntryEntityPersister
Implementors should override this method to provide support for maps of embedded objects
setEntryValue(T, String, Object) - Method in NativeEntryEntityPersister
Sets a value on an entry
setEnumType(String) - Method in Property
setExecuted(boolean) - Method in PendingOperationAdapter
setExistingSession(Session) - Method in TransactionObject
setExternal(boolean) - Method in AbstractPersistentEntity
setExternal(boolean) - Method in PersistentEntity
Whether this PersistentEntity is mapped using a different store.
setFetch(String) - Method in Property
Makes it easier to configure the fetch strategy
setFlushMode(FlushModeType) - Method in Session
The flush mode, defaults to FlushModeType.AUTO
setForeignKeyInChild(boolean) - Method in ToOne
setHibernateCompatible(boolean) - Method in JpaQueryBuilder
setIdentifier(Object) - Method in BeanEntityAccess
setIdentifier(Object) - Method in EntityAccess
Sets the entity identifier to the given value
setIdentifier(Object, Object) - Method in EntityReflector
Set the identifier
setIdentifier(Object) - Method in FieldEntityAccess
setIdentifierNoConversion(Object) - Method in BeanEntityAccess
setIdentifierNoConversion(Object) - Method in EntityAccess
Sets the entity identifier to the given value
setIdentifierNoConversion(Object) - Method in FieldEntityAccess
setInheritRollbackOnly(boolean) - Method in CustomizableRollbackTransactionAttribute
setInversePropertyName(String) - Method in ManyToMany
setKey(String) - Method in KeyValue
setLazy(Boolean) - Method in Property
setManyToMany(PersistentEntity, Object, T, ManyToMany, Collection, Map<Association, List<Serializable>>) - Method in NativeEntryEntityPersister
setMappingFactory(MappingFactory<Family, KeyValue>) - Method in KeyValueMappingContext
setName(String) - Method in Property
setNativeEntry(T) - Method in NativeEntryEntityPersister.NativeEntryModifyingEntityAccess
setNativeEvent(Serializable) - Method in AbstractPersistenceEvent
setObjectIdentifier(Object, Serializable) - Method in EntityPersister
Obtains an objects identifer
setOwningSide(boolean) - Method in Association
Sets whether this association is the owning side
setOwningSide(boolean) - Method in Basic
setProperty(String, Object) - Method in BeanEntityAccess
setProperty(String, Object) - Method in ClosureToMapPopulator
setProperty(String, Object) - Method in EntityAccess
Sets a property value
setProperty(Object, String, Object) - Method in EntityReflector
Set a property for the specified index
setProperty(String, Object) - Method in FieldEntityAccess
setProperty(Object, String, Object) - Method in GroovyObjectMethodHandler
setProperty(String, Object) - Method in ModificationTrackingEntityAccess
Sets a property value
setProperty(String, Object) - Method in NativeEntryEntityPersister.NativeEntryModifyingEntityAccess
setPropertyAfterResolving(Object, String, Object) - Method in GroovyObjectMethodHandler
setPropertyBeforeResolving(Object, String, Object) - Method in GroovyObjectMethodHandler
setPropertyNoConversion(String, Object) - Method in BeanEntityAccess
setPropertyNoConversion(String, Object) - Method in EntityAccess
Sets a property without applying any automatic type conversion
setPropertyNoConversion(String, Object) - Method in FieldEntityAccess
setPropertyNoConversion(String, Object) - Method in ModificationTrackingEntityAccess
setProxyEntities(boolean) - Method in AbstractPersistentCollection
Whether to proxy entities by their keys
setProxyFactory(ProxyFactory) - Method in AbstractMappingContext
setProxyFactory(ProxyFactory) - Method in MappingContext
Factory to use for creating proxies
setRange(ObjectRange) - Method in Property
setReferencedPropertyName(String) - Method in Association
Sets the name of the inverse property
setResults(List) - Method in PostQueryEvent
Reset the list of results to a new list.
setSession(Session) - Method in TransactionObject
setSessionHolder(SessionHolder) - Method in TransactionObject
setSessionProperty(String, Object) - Method in AbstractAttributeStoringSession
Set a property on this session.
setSessionProperty(String, Object) - Method in Session
Set a property on this session.
setSize(IntRange) - Method in Property
setSort(Object) - Method in Entity
setSynchronizedWithTransaction(boolean) - Method in Session
Whether the session is synchronized with a transaction
setSynchronizedWithTransaction(boolean) - Method in SessionHolder
setSyntaxStrategy(MappingConfigurationStrategy) - Method in KeyValueMappingContext
setTenantResolver(TenantResolver) - Method in AbstractConnectionSourceFactory
The tenant resolver to use
setTenantResolver(TenantResolver) - Method in MultiTenancySettings
Sets the tenant resolver to use
setter() - Method in EntityReflector.PropertyWriter
@return The getter
setThisMetaClass(MetaClass) - Method in GroovyObjectMethodHandler
setTimeout(int) - Method in SessionOnlyTransaction
setTimeout(int) - Method in Transaction
Sets the transaction timeout period
SETTING_AUTO_FLUSH - Field in Settings
Whether to flush the session between each query
SETTING_CUSTOM_TYPES - Field in Settings
The custom types
SETTING_DATASOURCE - Field in Settings
The data source setting
SETTING_DATASOURCES - Field in Settings
The data sources setting
SETTING_DB_CREATE - Field in Settings
The dbCreate setting (defaults to none)
SETTING_DEFAULT_CONSTRAINTS - Field in Settings
The default constraints
SETTING_DEFAULT_MAPPING - Field in Settings
The default mapping
SETTING_FAIL_ON_ERROR - Field in Settings
Whether to throw an exception on a validation error
SETTING_FLUSH_MODE - Field in Settings
The default flush mode
SETTING_MARK_DIRTY - Field in Settings
Whether to mark the instance as dirty on an explicit save()
SETTING_MULTI_TENANCY_MODE - Field in Settings
The multi tenancy mode
SETTING_MULTI_TENANT_RESOLVER_CLASS - Field in Settings
The multi tenancy resolver class
SETTING_MULTI_TENANT_RESOLVER - Field in Settings
The multi tenancy resolver class
Settings - Interface in org.grails.datastore.mapping.config
Common settings across all GORM implementations
settings - Field in DefaultConnectionSource
setToIndex(Map<PersistentProperty, Object>) - Method in NativeEntryEntityPersister.NativeEntryModifyingEntityAccess
setTPCacheAdapter(String, TPCacheAdapter<T>) - Method in TPCacheAdapterRepository
Sets TPCacheAdapter for the specified FQN java class of PersistentEntity.
setTPCacheAdapter(String, TPCacheAdapter<T>) - Method in TPCacheAdapterRepositoryImpl
setTransaction(Transaction<?>) - Method in SessionHolder
setTransaction(Transaction<?>) - Method in TransactionObject
@deprecated Here for binary compatibility, doesn't actually do anything
setUnique(List<String>) - Method in Property
setUniquenessGroup(List<String>) - Method in Property
setUniqueResult(boolean) - Method in Query
Here purely for compatibility
setValidatedFields(List<?>) - Method in ValidationEvent
setValidatorRegistry(ValidatorRegistry) - Method in AbstractMappingContext
setValidatorRegistry(ValidatorRegistry) - Method in MappingContext
Sets the validator registry used by this mapping context
setValue(Object) - Method in Query.Equals
setValue(Object) - Method in Query.IdEquals
setValue(Object) - Method in Query.NotEquals
setValue(Object) - Method in Query.PropertyCriterion
setVersion(EntityAccess) - Method in EntityPersister
setVersionByDefault(boolean) - Method in AbstractGormMappingFactory
Whether the version entities using optimistic locking by default
setVetoed(boolean) - Method in PendingDeleteAdapter
setVetoed(boolean) - Method in PendingInsertAdapter
setVetoed(boolean) - Method in PendingOperationAdapter
setVetoed(boolean) - Method in PendingUpdateAdapter
Simple - Class in org.grails.datastore.mapping.model.types
Models a simple property type
Simple(PersistentEntity, MappingContext, String, Class) - Constructor in Simple
SIMPLE_TYPES - Field in MappingFactory
singleResult() - Method in Query
Executes the query returning a single result or null
SingletonConnectionSources - Class in org.grails.datastore.mapping.core.connections
Models a ConnectionSources object that only supports a single connection
SingletonConnectionSources.NullConnectionFactory - Class in org.grails.datastore.mapping.core.connections
SingletonConnectionSources(ConnectionSource<T, S>, PropertyResolver) - Constructor in SingletonConnectionSources
size() - Method in AbstractPersistentCollection
size() - Method in PropertyResolverMap
size() - Method in SessionHolder
sizeEq(String, int) - Method in Criteria
Creates a Criterion that constrains a collection property by size
sizeEq(String, int) - Method in Restrictions
Used to restrict the size of a collection property
sizeGe(String, int) - Method in Criteria
Creates a Criterion that constrains a collection property to be greater than or equal to the given size
sizeGe(String, int) - Method in Restrictions
Used to restrict the size of a collection property to be greater than or equal to the given value
sizeGt(String, int) - Method in Criteria
Creates a Criterion that constrains a collection property to be greater than the given size
sizeGt(String, int) - Method in Restrictions
Used to restrict the size of a collection property to be greater than the given value
sizeLe(String, int) - Method in Criteria
Creates a Criterion that constrains a collection property to be less than or equal to the given size
sizeLe(String, int) - Method in Restrictions
Creates a Criterion that contrains a collection property to be less than or equal to the given size
sizeLt(String, int) - Method in Criteria
Creates a Criterion that constrains a collection property to be less than to the given size
sizeLt(String, int) - Method in Restrictions
Creates a Criterion that contrains a collection property to be less than to the given size
sizeNe(String, int) - Method in Criteria
Creates a Criterion that constrains a collection property to be not equal to the given size
sizeNe(String, int) - Method in Restrictions
Creates a Criterion that contrains a collection property to be not equal to the given size
Snapshot - Class in org.grails.datastore.mapping.core.grailsversion
A class to represent the snapshot version of Grails for comparison
Snapshot(String) - Constructor in Snapshot
SoftThreadLocalMap - Class in org.grails.datastore.mapping.core
Creates a InheritableThreadLocal with an intial value of a Map.
source - Field in DefaultConnectionSource
SpringSessionSynchronization - Class in org.grails.datastore.mapping.transactions.support
An instance of org.springframework.transaction.support.TransactionSynchronization for the Datastore abstraction.
SpringSessionSynchronization(SessionHolder, Datastore, boolean) - Constructor in SpringSessionSynchronization
startBuild(Object, String) - Method in ConfigurationBuilder
Subclasses can override for when building starts for the given builder
StatelessDatastore - Interface in org.grails.datastore.mapping.core
For Datastores that support stateless connectivity
StaticConnectionSources - Class in org.grails.datastore.mapping.core.connections
A static non-mutable implementation for existing for a set of existing ConnectionSource instances
StaticConnectionSources(ConnectionSource<T, S>, Iterable<ConnectionSource<T, S>>, PropertyResolver) - Constructor in StaticConnectionSources
storeEntry(PersistentEntity, EntityAccess, K, T) - Method in NativeEntryEntityPersister
Stores the native form of a Key/value datastore to the actual data store
StringToBigDecimalConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
StringToBigIntegerConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
StringToByteArrayConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
StringToCurrencyConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
StringToLocaleConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
StringToShortConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
StringToTimeZoneConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
StringToURLConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster
subList(int, int) - Method in PersistentList
subSet(Object, Object) - Method in PersistentSortedSet
sum(String) - Method in ProjectionList
Computes the sum of a property
sum(String) - Method in Projections
Computes the sum of a property
sum(String) - Method in Query.ProjectionList
Computes the sum of a property
supports(MappingContext) - Method in AbstractMappingAwareCustomTypeMarshaller
supports(Datastore) - Method in CustomTypeMarshaller
@deprecated Use supports(MappingContext) instead
supportsCustomType(Class<?>) - Method in GormMappingConfigurationStrategy
supportsSourceType(Class<?>) - Method in AbstractPersistenceEventListener
suspend() - Method in SpringSessionSynchronization
syncChangedProperties(Object) - Method in DirtyCheckable
Sync the changes for a given instance with this instance.
syntaxStrategy - Field in KeyValueMappingContext
SystemPropertyTenantResolver - Class in org.grails.datastore.mapping.multitenancy.resolvers
A TenantResolver that resolves from a System property called "gorm.tenantId".

T

tailSet(Object) - Method in PersistentSortedSet
target - Field in AssociationQueryProxyHandler
TARGET_PROPERTY - Field in EntityProxyMethodHandler
target - Field in SessionEntityProxyMethodHandler
TENANT_IDENTITY - Field in GormProperties
TenantException - Class in org.grails.datastore.mapping.multitenancy.exceptions
Exception thrown when an error occurs resolving the tenant
TenantException(String, Throwable) - Constructor in TenantException
TenantId - Class in org.grails.datastore.mapping.model.types
Represents the mapping of a tenant id for multi tenancy
tenantId(String) - Method in Entity
Sets the tenant id
TenantId(PersistentEntity, MappingContext, PropertyDescriptor) - Constructor in TenantId
TenantNotFoundException - Class in org.grails.datastore.mapping.multitenancy.exceptions
Thrown when the tenant cannot be found
TenantNotFoundException(String, Throwable) - Constructor in TenantNotFoundException
TenantResolver - Interface in org.grails.datastore.mapping.multitenancy
An interface for applications that implement Multi Tenancy to implement in order to resolve the current identifier
ThirdPartyCacheEntityPersister - Class in org.grails.datastore.mapping.engine
An EntityPersister that supports third party cache adapters
ThirdPartyCacheEntityPersister(MappingContext, PersistentEntity, Session, ApplicationEventPublisher, TPCacheAdapterRepository<T>) - Constructor in ThirdPartyCacheEntityPersister
toArray(Object) - Method in AbstractPersistentCollection
toConfiguration(B) - Method in ConfigurationBuilder
Convert the builder to the final configuration
toConfiguration(ConnectionSourceSettings) - Method in ConnectionSourceSettingsBuilder
ToMany - Class in org.grails.datastore.mapping.model.types
Shared super class inherited by both OneToMany and ManyToMany
ToMany(PersistentEntity, MappingContext, String, Class) - Constructor in ToMany
ToOne - Class in org.grails.datastore.mapping.model.types
@author Graeme Rocher
ToOne(PersistentEntity, MappingContext, String, Class) - Constructor in ToOne
toString() - Method in AbstractPersistentCollection
toString() - Method in AbstractPersistentEntity
toString() - Method in AbstractPersistentProperty
toString() - Method in Association
toString() - Method in GrailsVersion
toString() - Method in Snapshot
toValidConnectionSourceNames(Map<String, Object>) - Method in AbstractConnectionSources
TPCacheAdapter - Interface in org.grails.datastore.mapping.cache
TPCacheAdapterRepository - Interface in org.grails.datastore.mapping.cache
A repository of TPCacheAdapters.
TPCacheAdapterRepositoryImpl - Class in org.grails.datastore.mapping.cache.impl
Simple implementation of TPCacheAdapterRepository
trackChanges(Map<String, Object>) - Method in DirtyCheckable
Initialises the changes with the given changes.
Transaction - Interface in org.grails.datastore.mapping.transactions
Class giving the ability to start, commit and rollback a transaction.
TransactionCapableDatastore - Interface in org.grails.datastore.mapping.transactions
An interface for Datastore implementations that support transaction management
TransactionObject - Class in org.grails.datastore.mapping.transactions
A transaction object returned when the transaction is created.
TransactionUtils - Class in org.grails.datastore.mapping.transactions
Utility methods for Transactions.
TRANSFORM_APPLIED_MARKER - Field in AstUtils
TRANSIENT - Field in GormProperties
type - Field in AbstractPersistentProperty
TYPE_CHECKED_TYPE - Field in AstUtils

U

unbindSession(Session) - Method in DatastoreUtils
Unbinds and closes a session.
unique(List<String>) - Method in Property
uniqueResult - Field in Query
unlock(Object) - Method in LockableEntityPersister
Unlocks a locked object
unlock(Object) - Method in NativeEntryEntityPersister
unlock(Object) - Method in Session
Releases a lock, if not called all locked objects should be released by disconnect()
unlockEntry(PersistentEntity, String, Serializable) - Method in NativeEntryEntityPersister
Subclasses to override to provide locking semantics
unwrap(Object) - Method in JavassistProxyFactory
Unwraps the given proxy if it is one
unwrap(Object) - Method in ProxyHandler
Unwraps the given proxy if it is one
UPDATE_CLAUSE - Field in JpaQueryBuilder
updateAll(QueryableCriteria, Map<String, Object>) - Method in Session
Updates all objects matching the given criteria and property values
updateEntry(PersistentEntity, EntityAccess, K, T) - Method in NativeEntryEntityPersister
Updates an existing entry to the actual datastore
updateTPCache(PersistentEntity, T, Serializable) - Method in ThirdPartyCacheEntityPersister
usesConnectionSource(PersistentEntity, String) - Method in ConnectionSourcesSupport
Returns whether the given entity uses the give connection source name or not

V

VALIDATION_EXCEPTION_TYPE - Field in ValidationException
ValidationErrors - Class in org.grails.datastore.mapping.validation
Models validation errors
ValidationErrors(Object) - Constructor in ValidationErrors
Creates a new instance of the org.springframework.validation.BeanPropertyBindingResult class.
ValidationEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
ValidationEvent(Object, PersistentEntity, EntityAccess) - Constructor in ValidationEvent
ValidationException - Class in org.grails.datastore.mapping.validation
Exception thrown when a validation error occurs
ValidationException(String, Errors) - Constructor in ValidationException
ValidatorRegistry - Interface in org.grails.datastore.mapping.validation
Strategy interface for looking up validators
validatorRegistry - Field in AbstractMappingContext
value - Field in Query.PropertyCriterion
ValueGenerator - Enum in org.grails.datastore.mapping.model
Value generation strategies
values() - Method in PropertyResolverMap
varThis() - Method in AstUtils
@return A new this variable
version - Field in AbstractPersistentEntity
version(Map) - Method in Entity
VERSION - Field in GormProperties
VERSION_KEY - Field in DefaultMappingConfigurationBuilder
versionByDefault - Field in AbstractGormMappingFactory
VoidSessionCallback - Interface in org.grails.datastore.mapping.core
@author Burt Beckwith

W

warning(SourceUnit, ASTNode, String) - Method in AstUtils
wasExecuted() - Method in PendingOperation
@return Whether it was already executed
wasExecuted() - Method in PendingOperationAdapter
wasHandled(Object) - Method in GroovyObjectMethodHandler
withNewSession(Serializable, Closure<T1>) - Method in MultiTenantCapableDatastore
Execute a new session with the given tenantId IF the session is not already present.
withSession(Closure<T>) - Method in AbstractDatastore
withSession(Closure<T>) - Method in Datastore
Execute the given closure with a session
wrap(Collection, DirtyCheckable, String) - Method in DirtyCheckingSupport
Wraps a collection in dirty checking capability
write(PersistentProperty, T, N) - Method in AbstractMappingAwareCustomTypeMarshaller
write(PersistentProperty, T, N) - Method in CustomTypeMarshaller
Converts a value to its native form
write(Object, Object) - Method in EntityReflector.PropertyWriter
Writes the property
writeInternal(PersistentProperty, String, T, N) - Method in AbstractMappingAwareCustomTypeMarshaller

X

Y

Z

ZERO_ARGUMENTS - Field in AstUtils
ZERO_PARAMETERS - Field in AstUtils

_

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 _