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

A

AbstractArrayOrIterableResultImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementation of a finder that handles Array and Iterables of domain classes
AbstractAttributeStoringSession - Class in org.grails.datastore.mapping.core
AbstractClassMapping - Class in org.grails.datastore.mapping.model
Abstract implementation of the ClassMapping interface.
AbstractClassMapping(PersistentEntity, MappingContext) - Constructor in AbstractClassMapping
AbstractConnectionSourceFactory - Class in org.grails.datastore.mapping.core.connections
Abstract implementation of the ConnectionSourceFactory interface
AbstractConnectionSources - Class in org.grails.datastore.mapping.core.connections
Abstract implementation of the ConnectionSources interface
AbstractConnectionSources(ConnectionSource<T, S>, ConnectionSourceFactory<T, S>, PropertyResolver) - Constructor in AbstractConnectionSources
AbstractConstraint - Class in org.grails.datastore.gorm.validation.constraints
Abstract class for constraints to extend.
AbstractConstraint(Class<?>, String, Object, MessageSource) - Constructor in AbstractConstraint
AbstractCriteriaBuilder - Class in org.grails.datastore.gorm.query.criteria
Abstract criteria builder implementation
AbstractCriteriaBuilder(Class, QueryCreator, MappingContext) - Constructor in AbstractCriteriaBuilder
AbstractDatastore - Class in org.grails.datastore.mapping.core
Abstract Datastore implementation that deals with binding the Session to thread locale upon creation.
AbstractDatastore(MappingContext, Map<String, Object>, ConfigurableApplicationContext, TPCacheAdapterRepository) - Constructor in AbstractDatastore
AbstractDatastoreApi - Class in org.grails.datastore.gorm
@author Burt Beckwith
AbstractDatastoreApi(Datastore) - Constructor in AbstractDatastoreApi
AbstractDatastoreInitializer - Class in org.grails.datastore.gorm.bootstrap
Abstract class for datastore initializers to implement
AbstractDatastoreInitializer.GrailsBeanBuilderInit - Class in org.grails.datastore.gorm.bootstrap
AbstractDatastoreInitializer.GroovyBeanReaderInit - Class in org.grails.datastore.gorm.bootstrap
AbstractDatastoreInitializer(Map, Class) - Constructor in AbstractDatastoreInitializer
AbstractDatastoreMethodDecoratingTransformation - Class in org.grails.datastore.gorm.transform
An abstract implementation for transformations that decorate a method invocation such that the method invocation is wrapped in the execution of a closure that delegates to the original logic.
AbstractDatastorePersistenceContextInterceptor - Class in org.grails.datastore.gorm.support
Abstract implementation of the persistence context interceptor
AbstractDatastorePersistenceContextInterceptor(Datastore) - Constructor in AbstractDatastorePersistenceContextInterceptor
AbstractDetachedCriteria - Class in org.grails.datastore.gorm.query.criteria
Abstract super class for DetachedCriteria implementations
AbstractDetachedCriteria.DetachedProjections - Class in org.grails.datastore.gorm.query.criteria
AbstractDetachedCriteria.DetachedProjections(Projection>) - Constructor in AbstractDetachedCriteria.DetachedProjections
AbstractDetachedCriteria(Class<T>, String) - Constructor in AbstractDetachedCriteria
Constructs a DetachedCriteria instance target the given class and alias for the name
AbstractDetachedCriteriaServiceImplementor - Class in org.grails.datastore.gorm.services.implementers
An abstract implementer that builds a detached criteria query from the method arguments
AbstractFindByFinder - Class in org.grails.datastore.gorm.finders
AbstractFindByFinder(Pattern, MappingContext) - Constructor in AbstractFindByFinder
AbstractFinder - Class in org.grails.datastore.gorm.finders
Abstract base class for finders.
AbstractFinder(Datastore) - Constructor in AbstractFinder
AbstractGormApi - Class in org.grails.datastore.gorm
Abstract GORM API provider.
AbstractGormApi(Class<D>, MappingContext) - Constructor in AbstractGormApi
AbstractGormASTTransformation - Class in org.grails.datastore.gorm.transform
Abstract base class for GORM AST transformations
AbstractGormMappingFactory - Class in org.grails.datastore.mapping.config
Abstract GORM implementation that uses the GORM MappingConfigurationBuilder to configure entity mappings.
AbstractKeyValueEntityPersister - Class in org.grails.datastore.mapping.keyvalue.engine
Abstract implementation of the EntityPersister abstract class for key/value style stores.
AbstractKeyValueEntityPersister(MappingContext, PersistentEntity, Session, ApplicationEventPublisher) - Constructor in AbstractKeyValueEntityPersister
AbstractMappingAwareCustomTypeMarshaller - Class in org.grails.datastore.mapping.engine.types
Abstract implementation of CustomTypeMarshaller interface that handles the details of getting the correct mapped key for a property
AbstractMappingAwareCustomTypeMarshaller(Class<T>) - Constructor in AbstractMappingAwareCustomTypeMarshaller
AbstractMappingContext - Class in org.grails.datastore.mapping.model
Abstract implementation of the MappingContext interface.
AbstractMappingContext(ConnectionSourceSettings) - Constructor in AbstractMappingContext
AbstractMethodDecoratingTransformation - Class in org.grails.datastore.gorm.transform
An abstract implementation for transformations that decorate a method invocation such that the method invocation is wrapped in the execution of a closure that delegates to the original logic.
AbstractPersistenceEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
AbstractPersistenceEvent(Datastore, Object) - Constructor in AbstractPersistenceEvent
AbstractPersistenceEventListener - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
AbstractPersistenceEventListener(Datastore) - Constructor in AbstractPersistenceEventListener
AbstractPersistentCollection - Class in org.grails.datastore.mapping.collection
Abstract base class for persistent collections.
AbstractPersistentCollection(Serializable, Session, AssociationQueryExecutor, Collection) - Constructor in AbstractPersistentCollection
AbstractPersistentEntity - Class in org.grails.datastore.mapping.model
Abstract implementation to be subclasses on a per datastore basis
AbstractPersistentEntity(Class, MappingContext) - Constructor in AbstractPersistentEntity
AbstractPersistentProperty - Class in org.grails.datastore.mapping.model
Abstract implementation of the PersistentProperty interface that uses the PropertyDescriptor instance to establish name and type.
AbstractPersistentProperty(PersistentEntity, MappingContext, String, Class) - Constructor in AbstractPersistentProperty
AbstractProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementation for projections
AbstractQueryEvent - Class in org.grails.datastore.mapping.query.event
Base class for query events.
AbstractQueryEvent(Object, Query) - Constructor in AbstractQueryEvent
AbstractReadOperationImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementor for read operations
AbstractResultList - Class in org.grails.datastore.gorm.query
An abstract result list for initializing objects lazily from a cursor
AbstractResultList(int, Integer, Iterator<Object>) - Constructor in AbstractResultList
AbstractSaveImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementation of saving
AbstractServiceImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementation of the ServiceImplementer interface
AbstractStringQueryImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract support for String-based queries
AbstractTraitApplyingGormASTTransformation - Class in org.grails.datastore.gorm.transform
An abstract transformation that applies a Trait
AbstractVetoingConstraint - Class in org.grails.datastore.gorm.validation.constraints
A constraint that can veto further constraint processing
AbstractVetoingConstraint(Class<?>, String, Object, MessageSource) - Constructor in AbstractVetoingConstraint
AbstractWhereImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementation for queries annotated with Where
AbstractWriteOperationImplementer - Class in org.grails.datastore.gorm.services.implementers
Abstract implementer for write operations
adapt(ServiceImplementer) - Method in ServiceImplementerAdapter
Adapt the implementer, returning a new implementer if possible, otherwise null
AdaptedImplementer - Interface in org.grails.datastore.gorm.services.implementers
An interface for adapters to return the original implementer
adapters - Field in Service
@default {}
Returns:
Any additional adapters to apply
add(Criterion) - Method in AbstractDetachedCriteria
add(Object) - Method in AbstractPersistentCollection
add(int, Object) - Method in AbstractResultList
add(Object) - Method in DirtyCheckingCollection
add(int, Object) - Method in DirtyCheckingList
add(E) - Method in PagedResultList
add(int, Object) - Method in PersistentList
add(Query.Junction, Query.Criterion) - Method in Query
Adds the specified criterion instance to the given junction
add(Criterion) - Method in Query.Junction
add(Projection) - Method in Query.ProjectionList
ADD_TO_PARAMETERS - Field in GormEntityTransformation
addAll(Collection) - Method in AbstractPersistentCollection
addAll(Collection) - Method in DirtyCheckingCollection
addAll(int, Collection) - Method in DirtyCheckingList
addAll(int, Collection<? extends E>) - Method in PagedResultList
addAll(int, Collection) - Method in PersistentList
addAnnotationIfNecessary(AnnotatedNode, Class<? extends Annotation>) - Method in AstAnnotationUtils
Adds an annotation to the give nclass node if it doesn't already exist
addAnnotationIfNecessary(AnnotatedNode, Class<? extends Annotation>) - Method in AstUtils
Adds an annotation to the give nclass node if it doesn't already exist
addAnnotationOrGetExisting(AnnotatedNode, ClassNode, Map<String, Object>) - Method in AstAnnotationUtils
addAnnotationOrGetExisting(AnnotatedNode, ClassNode, Map<String, Object>) - Method in AstUtils
addApplicationListener(ApplicationListener<? extends ApplicationEvent>) - Method in ConfigurableApplicationContextEventPublisher
addApplicationListener(ApplicationListener<?>) - Method in ConfigurableApplicationEventPublisher
Adds a new application listener
addApplicationListener(ApplicationListener<?>) - Method in DefaultApplicationEventPublisher
addBeanProperty(List<PropertyDescriptor>, MetaProperty) - Method in ClassPropertyFetcher
addCascadeOperation(PendingOperation<E, K>) - Method in PendingOperation
Adds an operation that should be executed after this operation
addCascadeOperation(PendingOperation<E, K>) - Method in PendingOperationAdapter
addConnectionSource(String, Map<String, Object>) - Method in AbstractConnectionSources
addConnectionSource(String, Map<String, Object>) - Method in ConnectionSources
Adds a new ConnectionSource
addConnectionSource(String, PropertyResolver) - Method in InMemoryConnectionSources
addConnectionSource(String, PropertyResolver) - Method in SingletonConnectionSources
addConnectionSource(String, PropertyResolver) - Method in StaticConnectionSources
addConstraint(Class<? extends Constraint>) - Method in ConstraintRegistry
Adds a constraint for the given class
addConstraint(Class<? extends Constraint>, List<Class>) - Method in DefaultConstraintRegistry
addConstraintFactory(ConstraintFactory) - Method in ConstraintRegistry
Adds a constraint factory
addConstraintFactory(ConstraintFactory) - Method in DefaultConstraintRegistry
addEntityValidator(PersistentEntity, Validator) - Method in AbstractMappingContext
Adds a validator for an entity
addEntityValidator(PersistentEntity, Validator) - Method in MappingContext
Adds a validator to be used by the entity for validation
addExcludedListenerName(String) - Method in AbstractPersistenceEvent
addExternalPersistentEntity(Class) - Method in AbstractMappingContext
Adds an external PersistentEntity instance, one that is not managed and persisted by this context
addExternalPersistentEntity(Class) - Method in MappingContext
Adds a persistent entity that is not mapped by this MappingContext instance.
addInstanceMethods(PersistentEntity, boolean) - Method in GormEnhancer
AdditionalGormEntityTransformation - Interface in org.grails.compiler.gorm
Additional transformations applied to GORM entities
addListener(ConnectionSourcesListener<T, S>) - Method in AbstractConnectionSources
addListener(ConnectionSourcesListener<T, S>) - Method in ConnectionSources
Adds a listener
addMappingContextListener(Listener) - Method in AbstractMappingContext
addMappingContextListener(MappingContext.Listener) - Method in MappingContext
Adds a new mapping context listener instance
addMetaConstraint(String, Object) - Method in DefaultConstrainedProperty
Adds a meta constraints which is a non-validating informational constraint.
addOwner(Class) - Method in AbstractPersistentEntity
addOwner(Class) - Method in PersistentEntity
Add a class to the owners list of this PersistentEntity
addParameterNames(String, Class, List<String>) - Method in ConfigurableParameterNameProvider
registers parameter names
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
addStaticMethods(PersistentEntity, boolean) - Method in GormEnhancer
addTenantForSchema(String) - Method in SchemaMultiTenantCapableDatastore
Add a new tenant at runtime for the given schema name
addTenantForSchema(String) - Method in SimpleMapDatastore
addTo(String, Object) - Method in GormEntity
Adds the given value to given association ensuring both sides are correctly associated
addToCriteria(Criterion) - Method in AbstractCriteriaBuilder
addTransformedEntityName(String) - Method in AstUtils
@param name Adds the name of a transformed entity
addTypeConverter(Converter) - Method in AbstractMappingContext
addTypeConverter(Converter) - Method in MappingContext
Add a converter used to convert property values to and from the datastore
addValueExtractor(ValueExtractor<?>) - Method in GormValidatorFactoryAdapter.GormValidatorContext
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(WebRequest, Exception) - Method in OpenSessionInViewInterceptor
afterCompletion(int) - Method in SpringSessionSynchronization
afterDelete(PersistentEntity, EntityAccess, PostDeleteEvent) - Method in DomainEventListener
afterInsert(PersistentEntity, EntityAccess, PostInsertEvent) - Method in DomainEventListener
afterLoad(PersistentEntity, EntityAccess, PostLoadEvent) - Method in DomainEventListener
afterUpdate(PersistentEntity, EntityAccess, PostUpdateEvent) - Method in DomainEventListener
AggregatePersistenceContextInterceptor - Class in org.grails.datastore.gorm.support
@author Graeme Rocher
AggregatePersistenceContextInterceptor(List<PersistenceContextInterceptor>) - Constructor in AggregatePersistenceContextInterceptor
Constructor.
AggregateTimestampProvider - Class in org.grails.datastore.gorm.timestamp
*************************************************************************** Copyright 2014 original authors
alias - Field in AbstractDetachedCriteria
aliases - Field in DetachedCriteriaTransformer
aliasExpressions - Field in DetachedCriteriaTransformer
ALL - Field in ConnectionSource
Constance for a mapping to all connection sources
ALL_DATA_SOURCES - Field in Entity
@deprecated Use ConnectionSource.DEFAULT instead
allEq(Map<String, Object>) - Method in AbstractCriteriaBuilder
Apply an "equals" constraint to each property in the key set of a Map
allEq(Map<String, Object>) - Method in AbstractDetachedCriteria
@see Criteria#allEq(java.util.Map)
allEq(Map<String, Object>) - Method in Criteria
Apply an "equals" constraint to each property in the key set of a Map
allEq(Map<String, Object>) - Method in DetachedCriteria
allEq(Map<String, Object>) - Method in Query
Shortcut to restrict the query to multiple given property values
allowArbitraryCustomTypes() - Method in MappingFactory
allQualifiers(Datastore, PersistentEntity) - Method in GormEnhancer
Obtain all of the qualifiers (typically the connection names) for the datastore and entity
AllTenantsResolver - Interface in org.grails.datastore.mapping.multitenancy
For discriminator based multi-tenancy the tenant resolver has to be able to resolve all tenant ids in order to be able to iterate of the the available tenants
and(Closure) - Method in AbstractCriteriaBuilder
and(Closure) - Method in AbstractDetachedCriteria
Handles a conjunction
and(Closure) - Method in Criteria
Creates a logical conjunction
and(Closure) - Method in DetachedCriteria
AND_OPERATOR - Field in DetachedCriteriaTransformer
and(Query.Criterion, Query.Criterion) - Method in Query
Creates a conjunction using two specified criterion
and(Criterion, Criterion) - Method in Restrictions
AnnotatedServiceImplementer - Interface in org.grails.datastore.gorm.services.implementers
An annotated implementer
AnnotationMetadataReader - Class in org.grails.datastore.gorm.utils
A more limited version of Spring's annotation reader that only reads annotations on classes
apiDelegate - Field in MethodInvokingClosure
appendCriteriaForOperator(StringBuilder, String, String, int, String, boolean) - Method in JpaQueryBuilder
appendOrder(StringBuilder, String) - Method in JpaQueryBuilder
appliedConstraints - Field in DefaultConstrainedProperty
appliesToDatastore(Datastore, PersistentEntity) - Method in GormEnhancer
applyAdditionalCriteria(Query, Closure) - Method in AbstractFinder
applyConstraint(String, Object) - Method in Constrained
Applies the given constraint
applyConstraint(String, Object) - Method in ConstrainedProperty
Apply a named constraint
applyConstraint(String, Object) - Method in DefaultConstrainedProperty
Applies a constraint for the specified name and consraint value.
applyConstraintInternal(String, Object) - Method in DefaultConstrainedProperty
applyDefaultConstraints(String, PersistentProperty, ConstrainedProperty, Map<String, Object>) - Method in DefaultConstraintEvaluator
applyDefaultNullableConstraint(ConstrainedProperty, boolean) - Method in DefaultConstraintEvaluator
applyDefaultTransactionHandling(MethodNode) - Method in AbstractReadOperationImplementer
applyDefaultTransactionHandling(MethodNode) - Method in DeleteImplementer
applyDefaultTransactionHandling(MethodNode) - Method in DeleteWhereImplementer
applyDefaultTransactionHandling(MethodNode) - Method in FindAndDeleteImplementer
applyDefaultTransactionHandling(MethodNode) - Method in UpdateStringQueryImplementer
applyDetachedCriteria(Query, AbstractDetachedCriteria) - Method in DynamicFinder
Applies the given detached criteria to the given query
ApplyDetachedCriteriaTransform - Annotation Type in org.grails.datastore.gorm.query.transform
Used only for testing
applyLazyCriteria() - Method in AbstractDetachedCriteria
applyLazyCriteria() - Method in DetachedCriteria
applyMapOfConstraints(Map<String, Object>, String, PersistentProperty, ConstrainedProperty) - Method in DefaultConstraintEvaluator
applyOrder(List, Order) - Method in ManualEntityOrdering
applySharedConstraints(ConstrainedPropertyBuilder, Map<String, ConstrainedProperty>) - Method in DefaultConstraintEvaluator
applySortForMap(Query, Map, boolean) - Method in DynamicFinder
Applies sorting logic to the given query from the given map
applyTransactionalAttributeSettings(AnnotationNode, VariableExpression, BlockStatement, ClassNode, MethodNode) - Method in TransactionalTransform
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
ARGUMENT_CACHE - Field in DynamicFinder
ARGUMENT_DEEP_VALIDATE - Field in GormValidationApi
ARGUMENT_FETCH - Field in DynamicFinder
ARGUMENT_FETCH_SIZE - Field in DynamicFinder
ARGUMENT_FLUSH_MODE - Field in DynamicFinder
ARGUMENT_IGNORE_CASE - Field in DynamicFinder
ARGUMENT_LOCK - Field in DynamicFinder
ARGUMENT_MAX - Field in DynamicFinder
ARGUMENT_OFFSET - Field in DynamicFinder
ARGUMENT_ORDER - Field in DynamicFinder
ARGUMENT_READ_ONLY - Field in DynamicFinder
ARGUMENT_SORT - Field in DynamicFinder
ARGUMENT_TIMEOUT - Field in DynamicFinder
arguments - Field in MethodExpression
argumentsRequired - Field in MethodExpression
asBoolean(Closure) - Method in DetachedCriteria
Counts the number of records returned by the query
asBoolean() - Method in EventTriggerCaller
asc(String) - Method in Query.Order
Creates a new order for the given property in ascending order
asErrors(Object, Set<ConstraintViolation>) - Method in ConstraintViolationUtils
Converts a ConstraintViolation instances to errors
asErrors(Object, Set<ConstraintViolation>) - Method in ValidatedService
Converts a ConstraintViolationException to errors
ASSIGNMENT_OPERATOR - Field in AstUtils
Association - Class in org.grails.datastore.mapping.model.types
Models an association between one class and another
Association(PersistentEntity, MappingContext, String, Class) - Constructor in Association
AssociationCriteria - Interface in org.grails.datastore.mapping.query.api
Interface for criteria related to an association
associationCriteriaMap - Field in AbstractDetachedCriteria
AssociationIndexer - Interface in org.grails.datastore.mapping.engine
Responsible for creating indices for associations used in queries.
associationKey - Field in AbstractPersistentCollection
associationKey - Field in AssociationQueryProxyHandler
AssociationQuery - Class in org.grails.datastore.mapping.query
Used to capture the metadata for a query on an associated object.
AssociationQuery(Session, PersistentEntity, Association) - Constructor in AssociationQuery
AssociationQueryExecutor - Interface in org.grails.datastore.mapping.engine
An interface for classes that know how to query an association
AssociationQueryProxyHandler - Class in org.grails.datastore.mapping.proxy
A proxy handler that uses a AssociationQueryExecutor to retrieve the association
AssociationQueryProxyHandler(Session, AssociationQueryExecutor, Serializable) - Constructor in AssociationQueryProxyHandler
associations - Field in AbstractPersistentEntity
associationtoString(String, Association) - Method in MappingFactory
AstAnnotationUtils - Class in org.grails.datastore.mapping.reflect
Utility methods for dealing with annotations in AST transforms
AstGenericsUtils - Class in org.grails.datastore.mapping.reflect
Generics utilities
AstMethodDispatchUtils - Class in org.grails.datastore.gorm.transform
@author Graeme Rocher
AstPropertyResolveUtils - Class in org.grails.datastore.gorm.transform
Utilities for resolving property names from domain classes etc.
AstUtils - Class in org.grails.datastore.mapping.reflect
Utility methods for dealing with Groovy ASTs
AsyncEntity - Trait in grails.gorm.async
Adds Grails Async features to an entity that implements this trait, including the ability to run GORM tasks in a separate thread
AsyncQuery - Class in org.grails.datastore.gorm.async
Exposes all methods from the GormOperations interface asynchronously
AsyncQuery(GormOperations<E>) - Constructor in AsyncQuery
attach() - Method in DelegatingGormEntityApi
attach() - Method in GormEntity
Attaches an instance to an existing session.
attach() - Method in GormEntityApi
Attaches an instance to an existing session.
attach(D) - Method in GormInstanceApi
Attaches an instance to an existing session.
attach(D) - Method in GormInstanceOperations
Attaches an instance to an existing session.
attach(D) - Method in GormStaticApi
attach(Object) - Method in Session
Attaches an object the current session
attach(D) - Method in TenantDelegatingGormOperations
ATTACHED - Field in GormProperties
attr(String) - Method in Attribute
Attribute - Class in org.grails.datastore.mapping.document.config
Configures how a Java property maps to a Document attribute
attribute(String) - Method in Attribute
ATTRIBUTE - Field in SessionTenantResolver
attributes - Field in AbstractAttributeStoringSession
attributes(Map<String, Object>) - Method in DynamicAttributes
Obtain the dynamic attributes combined with the provided attributes
AutoTimestampEventListener - Class in org.grails.datastore.gorm.events
An event listener that adds support for GORM-style auto-timestamping
AutoTimestampEventListener(MappingContext) - Constructor in AutoTimestampEventListener
autowireBeanProperties(Object) - Method in DomainEventListener
avg(String) - Method in AbstractCriteriaBuilder
Computes the average value of a property
avg(String) - Method in AbstractDetachedCriteria
Adds a avg projection
avg(String) - Method in AbstractDetachedCriteria.DetachedProjections
avg(String) - Method in DetachedCriteria
Adds a avg projection
avg(String) - Method in ProjectionList
Computes the average value of a property
avg(String) - Method in Projections
Computes the average value of a property
avg(String) - Method in Query.ProjectionList
Computes the average value of a property

B

Basic - Class in org.grails.datastore.mapping.model.types
Models a basic collection type such as a list of Strings
Basic(PersistentEntity, MappingContext, String, Class) - Constructor in Basic
BasicTypeConverterRegistrar - Class in org.grails.datastore.mapping.model.types
A registrar that registers basic type converters
BeanEntityAccess - Class in org.grails.datastore.mapping.engine
Class used to access properties of an entity.
BeanEntityAccess(PersistentEntity, Object) - Constructor in BeanEntityAccess
BeanFactoryValidatorRegistry - Class in org.grails.datastore.mapping.validation
Looks up validators from Spring
BeanFactoryValidatorRegistry(BeanFactory) - Constructor in BeanFactoryValidatorRegistry
beanWrapper - Field in BeanEntityAccess
BEFORE_DELETE_EVENT - Field in AbstractPersistenceEvent
BEFORE_INSERT_EVENT - Field in AbstractPersistenceEvent
BEFORE_LOAD_EVENT - Field in AbstractPersistenceEvent
BEFORE_UPDATE_EVENT - Field in AbstractPersistenceEvent
BEFORE_VALIDATE - Field in BeforeValidateHelper
beforeCommit(boolean) - Method in SpringSessionSynchronization
beforeCompletion() - Method in SpringSessionSynchronization
beforeDelete(PersistentEntity, EntityAccess, PreDeleteEvent) - Method in DomainEventListener
beforeInsert(PersistentEntity, EntityAccess) - Method in AutoTimestampEventListener
beforeInsert(PersistentEntity, EntityAccess, PreInsertEvent) - Method in DomainEventListener
beforeLoad(PersistentEntity, EntityAccess, PreLoadEvent) - Method in DomainEventListener
beforeUpdate(PersistentEntity, EntityAccess) - Method in AutoTimestampEventListener
beforeUpdate(PersistentEntity, EntityAccess, PreUpdateEvent) - Method in DomainEventListener
BeforeValidateHelper - Class in org.grails.datastore.gorm.support
BeforeValidateHelper.BeforeValidateEventTriggerCaller - Class in org.grails.datastore.gorm.support
BeforeValidateHelper.BeforeValidateEventTriggerCaller(Class<?>, MetaClass) - Constructor in BeforeValidateHelper.BeforeValidateEventTriggerCaller
beginTransaction(TransactionDefinition) - Method in Session
Starts a transaction
beginTransactionInternal() - Method in SimpleMapSession
BELONGS_TO - Field in GormProperties
between(String, Object, Object) - Method in AbstractCriteriaBuilder
Restricts the results by the given property value range (inclusive)
between(String, Object, Object) - Method in AbstractDetachedCriteria
@see Criteria
between(String, Object, Object) - Method in Criteria
Restricts the results by the given property value range (inclusive)
between(String, Object, Object) - Method in DetachedCriteria
between(String, Object, Object) - Method in Query
Restricts the results by the given property value range
between(String, Object, Object) - Method in Restrictions
Restricts the results by the given property value range
bindNewSession(Session) - Method in DatastoreUtils
Adds the session to the current SessionHolder's list of sessions, making it the current session.
bindParametersAndSave(ClassNode, MethodNode, Parameter, BlockStatement, VariableExpression) - Method in AbstractSaveImplementer
bindSession(Session, Object) - Method in DatastoreUtils
Bind the session to the thread with a SessionHolder keyed by its Datastore.
BlankConstraint - Class in org.grails.datastore.gorm.validation.constraints
A Constraint that validates a string is not blank.
BlankConstraint(Class<?>, String, Object, MessageSource) - Constructor in BlankConstraint
build(Closure) - Method in AbstractCriteriaBuilder
build(Closure) - Method in AbstractDetachedCriteria
Enable the builder syntax for constructing Criteria
build(Class<?>, MetaClass, Class<?>) - Method in BeforeValidateHelper.BeforeValidateEventTriggerCaller
build() - Method in ConfigurationBuilder
build(Class, String, Object) - Method in ConstraintFactory
Builds a constraint
build() - Method in DataSourceBuilder
build(Class, String, Object) - Method in DefaultConstraintFactory
build(Closure) - Method in DetachedCriteria
Enable the builder syntax for constructing Criteria
build(Class, String, Object) - Method in MappingContextAwareConstraintFactory
build() - Method in MappingDefinition
Build a new mapping
BuildableCriteria - Interface in org.grails.datastore.mapping.query.api
@author Jeff Brown
buildArgs(Parameter, MethodNode, BlockStatement) - Method in FindAllByImplementer
buildCaller(String, Class<?>, MetaClass, Class<?>) - Method in EventTriggerCaller
buildCallToOriginalMethod(ClassNode, MethodNode) - Method in AbstractMethodDecoratingTransformation
buildConfiguration() - Method in JavaxValidatorRegistry
Builds the default Validator configuration
buildConfigurationFor(MappingContext, MessageSource) - Method in JavaxValidatorRegistry
Builds a configuration for the given context and message source
buildDefault(Class) - Method in ConfigurableParameterNameProvider
buildDelegatingMethodCall(SourceUnit, AnnotationNode, ClassNode, MethodNode, MethodCallExpression, BlockStatement) - Method in AbstractMethodDecoratingTransformation
Builds the delegating method call for the given class node
buildDelegatingMethodCall(SourceUnit, AnnotationNode, ClassNode, MethodNode, MethodCallExpression, BlockStatement) - Method in TenantTransform
buildDelegatingMethodCall(SourceUnit, AnnotationNode, ClassNode, MethodNode, MethodCallExpression, BlockStatement) - Method in TransactionalTransform
buildDelete() - Method in JpaQueryBuilder
Builds a DELETE statement
buildGetPropertyExpression(Expression, String, ClassNode, boolean) - Method in AstUtils
Build static direct call to getter of a property
buildInstanceApiLookup(ClassNode, Expression) - Method in AbstractServiceImplementer
buildInterfaceImpl(ClassNode, ClassNode, ClassNode, MethodNode) - Method in InterfaceProjectionBuilder
buildInterfaceProjection(ClassNode, MethodNode, Expression, Expression, MethodNode) - Method in IterableInterfaceProjectionBuilder
buildInterfaceProjection(ClassNode, MethodNode, Expression, Expression, MethodNode) - Method in SingleResultInterfaceProjectionBuilder
buildLazy(Closure) - Method in AbstractDetachedCriteria
Enable the builder syntax for constructing Criteria
buildLazy(Closure) - Method in DetachedCriteria
Enable the builder syntax for constructing Criteria
buildMatchSpec(String, String, int) - Method in DynamicFinder
Builds a match specification that can be used to establish information about a dynamic finder compilation for the purposes of compilation etc.
buildMatchSpec(String, String, int) - Method in FindAllByImplementer
buildQuery(DynamicFinderInvocation, Class<?>, Query) - Method in AbstractFindByFinder
buildQuery(DynamicFinderInvocation, Class<?>, Query) - Method in CountByFinder
buildQuery(DynamicFinderInvocation, Class<?>, Query) - Method in FindAllByFinder
buildQuery(DynamicFinderInvocation, Session) - Method in QueryBuildingFinder
Build a query from an invocation
buildQueryableCriteria(Closure) - Method in AbstractDetachedCriteria
buildQueryableCriteria(Closure) - Method in DetachedCriteria
buildQueryReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in AbstractStringQueryImplementer
Builds the query return statement
buildQueryReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindAllStringQueryImplementer
buildQueryReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindOneInterfaceProjectionStringQueryImplementer
buildQueryReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindOneStringQueryImplementer
buildQueryReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in UpdateStringQueryImplementer
buildRecurse(Object, List<Class>, Object, String) - Method in ConfigurationBuilder
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in AbstractWhereImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in CountWhereImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in DeleteWhereImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindAllByImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindAllByInterfaceProjectionImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindAllWhereImplementer
buildReturnStatement(ClassNode, MethodNode, Expression, Expression, MethodNode) - Method in FindAndDeleteImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindOneByInterfaceProjectionImplementer
buildReturnStatement(ClassNode, MethodNode, Expression, Expression, MethodNode) - Method in FindOneImplementer
buildReturnStatement(ClassNode, MethodNode, Expression, Expression, MethodNode) - Method in FindOneInterfaceProjectionImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindOneInterfaceProjectionWhereImplementer
buildReturnStatement(ClassNode, MethodNode, MethodNode, Expression) - Method in FindOneWhereImplementer
buildRuntimeSettings(String, PropertyResolver, F) - Method in AbstractConnectionSourceFactory
buildSelect() - Method in JpaQueryBuilder
Builds SELECT statement
buildSetPropertyExpression(Expression, String, ClassNode, Expression) - Method in AstUtils
Build static direct call to setter of a property
buildSettings(String, PropertyResolver, F, boolean) - Method in AbstractConnectionSourceFactory
buildSettings(String, PropertyResolver, F, boolean) - Method in DataSourceConnectionSourceFactory
buildSettings(String, PropertyResolver, F, boolean) - Method in SimpleMapConnectionSourceFactory
buildSettings(String, PropertyResolver, F, boolean) - Method in SingletonConnectionSources.NullConnectionFactory
buildStaticApiLookup(ClassNode, Expression) - Method in AbstractServiceImplementer
buildSubQuery(StringBuilder, StringBuilder, int, List, ConversionService, boolean, boolean, QueryableCriteria) - Method in JpaQueryBuilder
buildUpdate(Map<String, Object>) - Method in JpaQueryBuilder
Builds an UPDATE statement.
buildValidatorFactoryAdapter(Configuration) - Method in JavaxValidatorRegistry
Build the validator factory from the validator configuration
by() - Method in Implemented
ByteArrayToStringConverter - Class in org.grails.datastore.mapping.model.types.conversion
@author Stefan Armbruster

C

cache(boolean) - Method in AbstractCriteriaBuilder
cache(boolean) - Method in AbstractDetachedCriteria
cache(boolean) - Method in BuildableCriteria
Whether to cache the query
cache(boolean) - Method in Criteria
cache(boolean) - Method in CriteriaBuilder
cache(boolean) - Method in Query
Specifies whether the query results should be cached (if supported by the underlying datastore)
cacheAdapterRepository - Field in AbstractDatastore
cacheAdapterRepository - Field in ThirdPartyCacheEntityPersister
cacheCollection(PersistentEntity, Serializable, Collection, String) - Method in SessionImplementor
Caches a collection
cachedClassProperties - Field in AstPropertyResolveUtils
CachedDataSourceConnectionSourceFactory - Class in org.grails.datastore.gorm.jdbc.connections
Extends DataSourceConnectionSourceFactory and caches the created DataSourceConnectionSource instances ensuring they are singletons
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
calculatePropertyPath(PropertyExpression) - Method in QueryStringTransformer
call(Object, List<?>) - Method in BeforeValidateHelper.BeforeValidateEventTriggerCaller
call(Object, Object) - Method in EventTriggerCaller
call(Object) - Method in InstanceMethodInvokingClosure
call(Object) - Method in MethodInvokingClosure
call(Object) - Method in NamedCriteriaProxy
call(Object) - Method in StaticMethodInvokingClosure
callD(Expression, String, Expression) - Method in AstMethodDispatchUtils
Make a direct method call on this object for the given name and arguments
callThisD(ClassNode, String, Expression) - Method in AstMethodDispatchUtils
Make a direct method call on this object for the given name and arguments
canApplyNullableConstraint(String, PersistentProperty, Constrained) - Method in DefaultConstraintEvaluator
cancel() - Method in AbstractPersistenceEvent
cancelDelete(PersistentEntity, EntityAccess) - Method in EntityPersister
Fire the beforeDelete event on an entityAccess object and return true if the operation should be cancelled
cancelInsert(PersistentEntity, EntityAccess) - Method in EntityPersister
Fire the beforeInsert even on an entityAccess object and return true if the operation should be cancelled
cancelLoad(PersistentEntity, EntityAccess) - Method in EntityPersister
Fire the beforeDelete event on an entityAccess object and return true if the operation should be cancelled
cancelUpdate(PersistentEntity, EntityAccess) - Method in EntityPersister
Fire the beforeUpdate event on an entityAccess object and return true if the operation should be cancelled
canConvert(TypeDescriptor, TypeDescriptor) - Method in DefaultConversionService
CANDIDATE_METHODS_WHERE_ONLY - Field in DetachedCriteriaTransformer
canPropertyBeConstrained(PersistentProperty) - Method in DefaultConstraintEvaluator
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
cascadeToAssociativeProperty(Object, Errors, EntityReflector, Association, Set) - Method in PersistentEntityValidator
Cascades validation onto an associative property maybe a one-to-many, one-to-one or many-to-one relationship.
CascadeValidateType - Enum in org.grails.datastore.mapping.validation
Defines a set of cascade validation options that are propagated to the associated entity.
cascadeValidationToMany(Object, String, Association, Errors, EntityReflector, Set) - Method in PersistentEntityValidator
Cascades validation to a one-to-many type relationship.
cascadeValidationToOne(Object, String, Association, Errors, EntityReflector, Object, Object, Set) - Method in PersistentEntityValidator
Cascades validation to a one-to-one or many-to-one property.
CascadingValidator - Interface in grails.gorm.validation
Extends the default Spring Validator interface and provides an additional method that specifies whether validation should cascade into associations.
checkState() - Method in AbstractConstraint
childType - Field in AbstractPersistentCollection
CLASS - Field in GormProperties
classLoader - Field in AbstractDatastoreInitializer
ClassMapping - Interface in org.grails.datastore.mapping.model
A class mapping is a mapping between a class and some external form such as a table, column family, or document (depending on the underlying data store).
classMapping - Field in NativeEntryEntityPersister
ClasspathEntityScanner - Class in org.grails.datastore.gorm.utils
Utility class for scanning the classpath for entities
ClasspathEntityScanner() - Constructor in ClasspathEntityScanner
ClassPropertyFetcher - Class in org.grails.datastore.mapping.reflect
Reads the properties of a class in an optimized manner avoiding exceptions.
classShortName - Field in AbstractConstraint
ClassUtils - Class in org.grails.datastore.mapping.reflect
Helper methods for dealing with classes and reflection
clear() - Method in AbstractDatastorePersistenceContextInterceptor
clear() - Method in AbstractPersistentCollection
clear() - Method in AggregatePersistenceContextInterceptor
clear() - Method in DirtyCheckingCollection
clear() - Method in DirtyCheckingMap
clear() - Method in PagedResultList
clear() - Method in PropertyResolverMap
clear(Object) - Method in Session
Clear a specific object
clearCache() - Method in ClassPropertyFetcher
@deprecated Does nothing, no longer needed
clearData() - Method in SimpleMapDatastore
clearErrors() - Method in GormValidateable
Clears any errors that exist on an instance
clearErrors(D) - Method in GormValidationApi
Clears any errors that exist on an instance
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.
clockProvider(ClockProvider) - Method in GormValidatorFactoryAdapter.GormValidatorContext
clone() - Method in AbstractDetachedCriteria
clone() - Method in DetachedCriteria
clone() - Method in Property
clone() - Method in Query
cloneAnnotation(AnnotationNode) - Method in AstUtils
cloneGlobalConstraint() - Method in Entity
close() - Method in AbstractConnectionSources
close() - Method in DataSourceConnectionSource
close() - Method in DefaultConnectionSource
close() - Method in GormEnhancer
Closes the enhancer clearing any stored static state
close() - Method in GormValidatorFactoryAdapter
close() - Method in JavaxValidatorRegistry
close() - Method in MultiTenantConnection
close() - Method in SimpleMapDatastore
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
collectAndOrderGormTransformations(AnnotatedNode) - Method in OrderedGormTransformation
Collection - Class in org.grails.datastore.mapping.document.config
Configures how an entity is mapped onto a Document collection
collection - Field in AbstractPersistentCollection
collectMappedClasses(String) - Method in AbstractDatastoreInitializer
ColumnDatastore - Interface in org.grails.datastore.mapping.column
@author Guillaume Laforge
commit() - Method in SessionOnlyTransaction
commit() - Method in Transaction
Commit the transaction.
comparator() - Method in PersistentSortedSet
compare(T, T) - Method in OrderedComparator
compareTo(GrailsVersion) - Method in GrailsVersion
compareTo(Snapshot) - Method in Snapshot
compilationUnit - Field in DirtyCheckingTransformer
compilationUnit - Field in GormEntityTransformation
COMPILE_STATIC_TYPE - Field in AstUtils
compileMethodStatically(SourceUnit, MethodNode) - Method in AbstractMethodDecoratingTransformation
ConfigSupport - Class in org.grails.datastore.gorm.plugin.support
Support for configuration when developing Grails plugins
ConfigurableApplicationContextEventPublisher - Class in org.grails.datastore.gorm.events
Bridge to Spring ApplicationContext event publishing
ConfigurableApplicationContextEventPublisher(ConfigurableApplicationContext) - Constructor in ConfigurableApplicationContextEventPublisher
ConfigurableApplicationEventPublisher - Interface in org.grails.datastore.gorm.events
An org.springframework.context.ApplicationEventPublisher that is configurable with new listeners
ConfigurableParameterNameProvider - Class in org.grails.datastore.gorm.validation.javax
A configurable parameter name provider
configuration - Field in AbstractConnectionSources
CONFIGURATION_PREFIX - Field in AbstractMappingContext
ConfigurationBuilder - Class in org.grails.datastore.mapping.config
A generic configuration builder that implementers can implement to construct the configuration from the source org.springframework.core.env.PropertyResolver
ConfigurationBuilder(PropertyResolver, String, Object, String) - Constructor in ConfigurationBuilder
@param propertyResolver The property resolver
ConfigurationException - Class in org.grails.datastore.mapping.core.exceptions
An exception thrown if a configuration error occurs
ConfigurationException(String, Throwable) - Constructor in ConfigurationException
ConfigurationUtils - Class in org.grails.datastore.mapping.config
Utility methods for configuration
configure() - Method in AbstractDatastoreInitializer
Configures for an existing Mongo instance
configure(PropertyResolver) - Method in AbstractMappingContext
configure(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
configureForBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in AbstractDatastoreInitializer
Configures an existing BeanDefinitionRegistry
configureOwningSide(Association) - Method in GormMappingConfigurationStrategy
configureQueryWithArguments(Class, Query, Object) - Method in DynamicFinder
ConfigUtils - Class in org.grails.datastore.mapping.config.utils
@author Graeme Rocher
conjunction() - Method in Query
Creates a conjunction (AND) query
connect(PropertyResolver) - Method in AbstractDatastore
connect() - Method in Datastore
Connects to the datastore with the default connection details, normally provided via the datastore implementations constructor
connection(String) - Method in Entity
Sets the datastore to use
connection - Field in ReadOnly
The connection to use by default @default ConnectionSource.DEFAULT
connection - Field in Transactional
The connection to use by default @default ConnectionSource.DEFAULT
connectionDetails - Field in AbstractDatastore
connectionName - Field in AbstractDetachedCriteria
ConnectionNotFoundException - Class in org.grails.datastore.mapping.core
Thrown when a session cannot be located.
ConnectionNotFoundException(String) - Constructor in ConnectionNotFoundException
connections(List<String>) - Method in Entity
Sets the connection to use
ConnectionSource - Interface in org.grails.datastore.mapping.core.connections
Represents a connection source, which could be a SQL DataSource, a MongoClient etc.
ConnectionSourceFactory - Interface in org.grails.datastore.mapping.core.connections
A factory for creating new ConnectionSource instances
connectionSourceFactory - Field in AbstractConnectionSources
connectionSourceMap - Field in InMemoryConnectionSources
connectionSourceMap - Field in StaticConnectionSources
ConnectionSources - Interface in org.grails.datastore.mapping.core.connections
Models multiple connection sources
connectionSources - Field in GormStaticApi
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
CONSTANT_NULL - Field in DirtyCheckingTransformer
Constrained - Interface in grails.gorm.validation
Represents a constrained object
ConstrainedEntity - Interface in grails.gorm.validation
Represents an entity that is constrained
ConstrainedProperty - Interface in grails.gorm.validation
An interface for a constrained property
ConstrainedPropertyBuilder - Class in org.grails.datastore.gorm.validation.constraints.builder
Builder used as a delegate within the "constraints" closure of GrailsDomainClass instances .
ConstrainedPropertyBuilder(MappingContext, ConstraintRegistry, Class, Map<String, Object>) - Constructor in ConstrainedPropertyBuilder
Constraint - Interface in grails.gorm.validation
Defines a validateable constraint.
constraintConstructor - Field in DefaultConstraintFactory
ConstraintFactory - Interface in org.grails.datastore.gorm.validation.constraints.factory
Constructs a constraint
constraintOwningClass - Field in AbstractConstraint
constraintParameter - Field in AbstractConstraint
constraintPropertyName - Field in AbstractConstraint
ConstraintRegistry - Interface in org.grails.datastore.gorm.validation.constraints.registry
A registry of Constraint factories
constraintRegistry - Field in DefaultConstrainedProperty
constraintRegistry - Field in DefaultConstraintEvaluator
CONSTRAINTS - Field in GormProperties
ConstraintsEvaluator - Interface in org.grails.datastore.gorm.validation.constraints.eval
Evaluates Constraints for a GORM entity
constraintValidatorFactory(ConstraintValidatorFactory) - Method in GormValidatorFactoryAdapter.GormValidatorContext
ConstraintViolationUtils - Class in org.grails.datastore.gorm.validation.javax
Utility methods for handling ConstraintViolationException
contains(Object) - Method in AbstractPersistentCollection
contains(Object) - Method in PagedResultList
contains(Object) - Method in Session
Whether the object is contained within the first level cache
containsAll(Collection) - Method in AbstractPersistentCollection
containsAll(Collection<?>) - Method in PagedResultList
containsKey(Object) - Method in PropertyResolverMap
containsRegisteredBean(Object, BeanDefinitionRegistry, String) - Method in AbstractDatastoreInitializer
containsSession(Session) - Method in SessionHolder
containsValue(Object) - Method in PropertyResolverMap
context - Field in AbstractClassMapping
context - Field in AbstractPersistentEntity
context - Field in AbstractPersistentProperty
conversionService - Field in AbstractMappingContext
convert(byte[]) - Method in ByteArrayToStringConverter
convert(Object, TypeDescriptor, TypeDescriptor) - Method in DefaultConversionService
convert(Double) - Method in DoubleToFloatConverter
convert(Long) - Method in InstantConverter
convert(int[]) - Method in IntArrayToIntegerArrayConverter
convert(Integer) - Method in IntegerToByteConverter
convert(Integer) - Method in IntegerToShortConverter
convert(Long) - Method in LocalDateConverter
convert(Long) - Method in LocalDateTimeConverter
convert(Long) - Method in LocalTimeConverter
convert(long[]) - Method in LongArrayToLongArrayConverter
convert(Long) - Method in OffsetDateTimeConverter
convert(Long) - Method in OffsetTimeConverter
convert(String) - Method in PeriodConverter
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
convert(Long) - Method in TemporalConverter
convert(Long) - Method in ZonedDateTimeConverter
convertArgumentList(Collection) - Method in AbstractDetachedCriteria
convertArguments(PersistentEntity) - Method in MethodExpression
convertArguments(PersistentEntity) - Method in MethodExpression.InList
convertArguments(PersistentEntity) - Method in MethodExpression.InRange
convertArguments(PersistentEntity) - Method in MethodExpression.NotInList
convertBasicEntryValue(PersistentEntity, Basic, Object) - Method in NativeEntryEntityPersister
Convert a Basic (collection-style) property native entry value taken from an entity into the target property type.
convertIdIfNecessary(PersistentEntity, Serializable) - Method in NativeEntryEntityPersister
convertObject(Object) - Method in AbstractResultList
convertToNativeKey(Serializable) - Method in NativeEntryEntityPersister
Subclasses should override to provide any conversion necessary to convert to a nativeKey
COOKIE_NAME - Field in CookieTenantResolver
CookieTenantResolver - Class in org.grails.datastore.mapping.multitenancy.web
Resolves the tenant id from a cookie
copyAnnotations(AnnotatedNode, AnnotatedNode, Set<String>, Set<String>) - Method in AstUtils
copyClassAnnotations(MethodNode, MethodNode) - Method in AbstractServiceImplementer
Copies annotation from the abstract method to the implementation method
copyParameters(Map<String, ClassNode>, Parameter, List<String>) - Method in AstUtils
count() - Method in AbstractCriteriaBuilder
Count the number of records returned
count() - Method in AbstractDetachedCriteria.DetachedProjections
count(Closure) - Method in CriteriaBuilder
Defines and executes a count query in a single call.
count(Closure) - Method in DetachedCriteria
Counts the number of records returned by the query
count() - Method in GormEntity
Counts the number of persisted entities
count(Map, Closure) - Method in GormQueryOperations
Counts the number of records returned by the query
count() - Method in GormStaticApi
Counts the number of persisted entities
count() - Method in GormStaticOperations
Counts the number of persisted entities
count(Closure) - Method in NamedCriteriaProxy
COUNT_PROJECTION - Field in Projections
count() - Method in ProjectionList
Count the number of records returned
count() - Method in Projections
Projection that returns the number of records from the query instead of the results themselves
count() - Method in Query.ProjectionList
count() - Method in TenantDelegatingGormOperations
CountByFinder - Class in org.grails.datastore.gorm.finders
Supports counting objects.
CountByFinder(MappingContext) - Constructor in CountByFinder
CountByImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements countBy* methods on Service instances
countDistinct(String) - Method in AbstractCriteriaBuilder
Projection that signifies to count distinct results
countDistinct(String) - Method in AbstractDetachedCriteria.DetachedProjections
countDistinct(Collection, String) - Method in ManualProjections
Counts the number of distinct values
countDistinct(String) - Method in ProjectionList
Count the number of records returned
countDistinct(String) - Method in Projections
Projection that signifies to return only distinct results
countDistinct(String) - Method in Query.ProjectionList
CountImplementer - Class in org.grails.datastore.gorm.services.implementers
Implementation for counting
CountWhereImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements support for the Where annotation on Service instances that return a multiple results
create(String, PropertyResolver, F) - Method in AbstractConnectionSourceFactory
create(String, DataSourceSettings) - Method in CachedDataSourceConnectionSourceFactory
create(String, PropertyResolver, F) - Method in ConnectionSourceFactory
Creates a new ConnectionSource for the given name and configuration
create(ConnectionSourceFactory<T, S>, PropertyResolver) - Method in ConnectionSourcesInitializer
Creates the ConnectionSources for the given factory and configuration
create(ClassLoader) - Method in DataSourceBuilder
create(String, DataSourceSettings) - Method in DataSourceConnectionSourceFactory
create() - Method in GormEntity
Creates an instance of this class
create() - Method in GormStaticApi
Creates an instance of this class
create() - Method in GormStaticOperations
Creates an instance of this class
create(String, ConnectionSourceSettings) - Method in SimpleMapConnectionSourceFactory
create(String, S) - Method in SingletonConnectionSources.NullConnectionFactory
create(String, DataSourceSettings) - Method in SpringDataSourceConnectionSourceFactory
create() - Method in TenantDelegatingGormOperations
createAggregateBeanDefinition(ManagedList) - Method in PersistenceContextInterceptorAggregator
createAggregatePersistenceContextInterceptorOnDemand(BeanDefinitionRegistry) - Method in PersistenceContextInterceptorAggregator
createAlias(String, String) - Method in AbstractDetachedCriteria
If the underlying datastore supports aliases, then an alias is created for the given association
createBasicCollection(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
createBuilder() - Method in ConfigurationBuilder
Creates the native builder
createBuilder() - Method in ConnectionSourceSettingsBuilder
createBuilder() - Method in DataSourceSettingsBuilder
createCollection() - Method in PersistentSet
createConcreteCollection(Class) - Method in MappingUtils
Creates a concrete collection for the supplied interface
createConfigurationBuilder(PersistentEntity, R) - Method in AbstractGormMappingFactory
createCriteria() - Method in GormEntity
Creates a criteria builder instance
createCriteria() - Method in GormStaticApi
Creates a criteria builder instance
createCriteria() - Method in GormStaticOperations
Creates a criteria builder instance
createCriteria() - Method in TenantDelegatingGormOperations
createCriterion() - Method in MethodExpression
createCriterion() - Method in MethodExpression.Between
createCriterion() - Method in MethodExpression.Equal
createCriterion() - Method in MethodExpression.GreaterThan
createCriterion() - Method in MethodExpression.GreaterThanEquals
createCriterion() - Method in MethodExpression.Ilike
createCriterion() - Method in MethodExpression.InList
createCriterion() - Method in MethodExpression.InRange
createCriterion() - Method in MethodExpression.IsEmpty
createCriterion() - Method in MethodExpression.IsNotEmpty
createCriterion() - Method in MethodExpression.IsNotNull
createCriterion() - Method in MethodExpression.IsNull
createCriterion() - Method in MethodExpression.LessThan
createCriterion() - Method in MethodExpression.LessThanEquals
createCriterion() - Method in MethodExpression.Like
createCriterion() - Method in MethodExpression.NotEqual
createCriterion() - Method in MethodExpression.NotInList
createCriterion() - Method in MethodExpression.Rlike
createCustom(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates a custom prpoerty type
createDefaultIdentityMapping(ClassMapping, T) - Method in MappingFactory
createDelegingMethodBody(Parameter, MethodCallExpression) - Method in AbstractMethodDecoratingTransformation
createDocumentMappingFactory(Closure) - Method in DocumentMappingContext
createDynamicFinders(Datastore) - Method in GormEnhancer
createEmbedded(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates an Embedded type used to model an embedded association (composition)
createEmbeddedCacheEntryKey(Object) - Method in NativeEntryEntityPersister
createEmbeddedCollection(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates an EmbeddedCollection type used to model an embedded collection association (composition).
createEmbeddedEntity(Class) - Method in AbstractMappingContext
createEmbeddedEntity(Class) - Method in MappingContext
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
createFinderInvocation(Class, String, Closure, Object) - Method in DynamicFinder
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
createMappingContext(ConnectionSources<Map<String, Map>, ConnectionSourceSettings>, Class) - Method in SimpleMapDatastore
createMarkDirtyMethodCall(MethodNode, String, Variable) - Method in DirtyCheckingTransformer
createMethodHandler(Session, Class, Class, Serializable) - Method in JavassistProxyFactory
createMultipleDataSources(Iterable<String>, PropertyResolver) - Method in SimpleMapDatastore
createNamedQuery(Class, String, Object) - Method in GormEnhancer
Finds a named query for the given entity
createNativeObjectForEmbedded(Association, Object) - Method in NativeEntryEntityPersister
createNewEntry(String, Object) - Method in NativeEntryEntityPersister
Creates a new entry for the given family.
createNewEntry(String) - Method in SimpleMapEntityPersister
createNode(Object, Object) - Method in ConstrainedPropertyBuilder
createObjectFromEmbeddedNativeEntry(PersistentEntity, T) - Method in NativeEntryEntityPersister
createObjectFromNativeEntry(PersistentEntity, Serializable, T) - Method in NativeEntryEntityPersister
createOneToMany(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates a OneToMany type used to model a one-to-many association between entities
createOneToOne(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory
Creates a one-to-one association type used for mapping a one-to-one association between entities
createPersistentEntity(Class, boolean) - Method in AbstractMappingContext
createPersistentEntity(Class, boolean) - Method in DocumentMappingContext
createPersistentEntity(Class, boolean) - Method in KeyValueMappingContext
createPersister(Class, MappingContext) - Method in SimpleMapSession
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 EntityProxyHandlerAdapter
createProxy(Session, AssociationQueryExecutor<K, T>, K) - Method in GroovyProxyFactory
createProxy(Session, AssociationQueryExecutor<K, T>, K) - Method in JavassistProxyFactory
createProxy(Session, AssociationQueryExecutor<K, T>, K) - Method in ProxyFactory
Creates a proxy
createQuery() - 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
createQuery() - Method in SimpleMapEntityPersister
createQueryStringTransformer(SourceUnit, VariableScope) - Method in AbstractStringQueryImplementer
Creates the query string transformer
createRuntime(String, PropertyResolver, S) - Method in AbstractConnectionSourceFactory
createRuntime(String, PropertyResolver, S) - Method in ConnectionSourceFactory
Creates a connection at runtime.
createSchema(Connection, String) - Method in DefaultSchemaHandler
createSchema(Connection, String) - Method in SchemaHandler
Creates the given schema.
createSession(PropertyResolver) - Method in AbstractDatastore
Creates the native session
createSession(PropertyResolver) - Method in SimpleMapDatastore
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
createTimestamp(TimestampProvider, Class<T>) - Method in AggregateTimestampProvider
createTimestamp(Class<T>) - Method in DefaultTimestampProvider
createTimestamp(Class<T>) - Method in TimestampProvider
Creates a timestamp for the given class
createValidationEvent(def) - Method in GormValidationApi
createValidatorRegistry(MappingContext, ConnectionSourceSettings, MessageSource) - Method in ValidatorRegistries
Creates the most appropriate validator registry
CreditCardConstraint - Class in org.grails.datastore.gorm.validation.constraints
Validates a credit card number.
CreditCardConstraint(Class<?>, String, Object, MessageSource) - Constructor in CreditCardConstraint
Criteria - Interface in org.grails.datastore.mapping.query.api
Interface for the implementations that construct of criteria queries.
criteria - Field in AbstractDetachedCriteria
criteria - Field in Query
CriteriaBuilder - Class in grails.gorm
Criteria builder implementation that operates against DataStore abstraction.
CriteriaBuilder(Class, Session, Query) - Constructor in CriteriaBuilder
CURRENT_TENANT_ANNOTATION_TYPE - Field in TenantTransform
currentClassNode - Field in DetachedCriteriaTransformer
currentId() - Method in DefaultTenantService
currentId(Class<? extends Datastore>) - Method in Tenants
@return The current tenant id for the given datastore type
currentId() - Method in TenantService
@return The current tenant id
currentlyInitializing() - Method in AbstractPersistentCollection
CurrentTenant - Annotation Type in grails.gorm.multitenancy
currentTimeMillis() - Method in DefaultTimestampProvider
currentTransaction(Datastore) - Method in TransactionUtils
cursor - Field in AbstractResultList
Custom - Class in org.grails.datastore.mapping.model.types
Represents a custom type ie. a type whose database read/write semantics are specified by the user.
Custom(PersistentEntity, MappingContext, String, Class<?>, CustomTypeMarshaller<?, ?, ?>) - Constructor in Custom
CustomizableRollbackTransactionAttribute - Class in org.grails.datastore.mapping.transactions
Extended version of org.springframework.transaction.interceptor.RuleBasedTransactionAttribute that ensures all exception types are rolled back and allows inheritance of setRollbackOnly
CustomizableRollbackTransactionAttribute(RuleBasedTransactionAttribute) - Constructor in CustomizableRollbackTransactionAttribute
CustomTypeMarshaller - Interface in org.grails.datastore.mapping.engine.types
Interface for defining custom datastore types beyond the simple and association types supported out of the box.

D

DatabaseDriver - Enum in org.grails.datastore.gorm.jdbc
Enumeration of common database drivers.
datasource(String) - Method in Entity
Sets the datastore to use
DataSourceBuilder - Class in org.grails.datastore.gorm.jdbc
NOTE: Forked from Spring Boot logic to avoid hard dependency on Boot.
DataSourceBuilder.ReadOnlyDriverManagerDataSource - Class in org.grails.datastore.gorm.jdbc
DataSourceBuilder(ClassLoader) - Constructor in DataSourceBuilder
DataSourceConnectionSource - Class in org.grails.datastore.gorm.jdbc.connections
A ConnectionSource for JDBC javax.sql.DataSource objects.
DataSourceConnectionSource(String, DataSource, DataSourceSettings) - Constructor in DataSourceConnectionSource
DataSourceConnectionSourceFactory - Class in org.grails.datastore.gorm.jdbc.connections
A ConnectionSourceFactory for creating JDBC javax.sql.DataSource connections
DataSourceSettings - Class in org.grails.datastore.gorm.jdbc.connections
DataSource settings
DataSourceSettingsBuilder - Class in org.grails.datastore.gorm.jdbc.connections
Settings builder for DataSourceSettings
DataSourceSettingsBuilder(PropertyResolver, String, Object) - Constructor in DataSourceSettingsBuilder
Datastore - Interface in org.grails.datastore.mapping.core
The Datastore interface is the basic common denominator all NoSQL databases should support:
  • Storing data
  • Retrieving one or more elements at a time, identified by their keys
  • Deleting one or more elements
datastore - Field in AbstractDatastoreApi
datastore - Field in AbstractDatastorePersistenceContextInterceptor
datastore - Field in AbstractFinder
datastore - Field in AbstractPersistenceEventListener
datastore() - Method in AbstractServiceImplementer
@return The datastore expression
datastore - Field in CurrentTenant
If you are using multiple GORM implementations and wish to create a transaction for a specific implementation then use this.
datastore - Field in MultiTenantEventListener
datastore - Field in ReadOnly
If you are using multiple GORM implementations and wish to create a transaction for a specific implementation then use this.
datastore - Field in Tenant
If you are using multiple GORM implementations and wish to create a transaction for a specific implementation then use this.
datastore - Field in Transactional
If you are using multiple GORM implementations and wish to create a transaction for a specific implementation then use this.
datastore - Field in WithoutTenant
If you are using multiple GORM implementations and wish to create a transaction for a specific implementation then use this.
DatastoreAware - Interface in org.grails.datastore.mapping.core
An interface for classes to implement that want access to the Datastore
DatastoreConfigurationException - Class in org.grails.datastore.mapping.model
Exception thrown when something goes wrong configuring a datastore.
DatastoreConfigurationException(String, Throwable) - Constructor in DatastoreConfigurationException
DatastoreEnvironment - Class in org.grails.datastore.mapping.config
An environment for GORM
DatastoreException - Class in org.grails.datastore.mapping.core
General exception for errors related to the configuration of the Datastore
DatastoreException(String, Throwable) - Constructor in DatastoreException
DatastoreInitializedEvent - Class in org.grails.datastore.mapping.engine.event
Fired when the datastore is initialised
DatastoreInitializedEvent(Object) - Constructor in DatastoreInitializedEvent
DatastorePersistenceContextInterceptor - Class in org.grails.datastore.gorm.support
Concrete implemetntation for Grails 3 of AbstractDatastorePersistenceContextInterceptor
DatastorePersistenceContextInterceptor(Datastore) - Constructor in DatastorePersistenceContextInterceptor
datastoresByConnectionSource - Field in SimpleMapDatastore
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.
DatastoreServiceMethodInvokingFactoryBean(Class<?>) - Constructor in DatastoreServiceMethodInvokingFactoryBean
DatastoreTransactionManager - Class in org.grails.datastore.mapping.transactions
A org.springframework.transaction.PlatformTransactionManager instance that works with the Spring datastore abstraction
DatastoreUtils - Class in org.grails.datastore.mapping.core
Helper class for obtaining Datastore sessions.
DATE_CREATED - Field in GormProperties
DATE_CREATED_PROPERTY - Field in AutoTimestampEventListener
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
DECORATED_METHODS - Field in AbstractMethodDecoratingTransformation
Key used to store within the original method node metadata, all previous decorated methods
DEFAULT_CONNECTION_SOURCE_NAMES - Field in ConnectionSourcesSupport
DEFAULT - Field in ConnectionSource
The name of the default connection source
DEFAULT_DATA_SOURCE - Field in Entity
@deprecated Use ConnectionSource.ALL instead
DEFAULT_MAPPING_STRATEGY - Field in GormProperties
DEFAULT_ORDER - Field in PersistenceEventListener
DEFAULT_TIMEOUT - Field in LockableEntityPersister
DefaultApplicationEventPublisher - Class in org.grails.datastore.gorm.events
Simple implementation that just iterates over a sequence of listeners
DefaultConnectionSource - Class in org.grails.datastore.mapping.core.connections
Abstract implementation of the ConnectionSource interface
defaultConnectionSource - Field in AbstractConnectionSources
DefaultConnectionSource(String, T, S) - Constructor in DefaultConnectionSource
DefaultConstrainedProperty - Class in grails.gorm.validation
Default implementation of the ConstrainedProperty interface
DefaultConstrainedProperty(Class<?>, String, Class<?>, ConstraintRegistry) - Constructor in DefaultConstrainedProperty
Constructs a new ConstrainedProperty for the given arguments.
DefaultConstraintEvaluator - Class in org.grails.datastore.gorm.validation.constraints.eval
Evaluates constraints for entities
DefaultConstraintEvaluator(ConstraintRegistry, MappingContext, Map<String, Object>) - Constructor in DefaultConstraintEvaluator
DefaultConstraintFactory - Class in org.grails.datastore.gorm.validation.constraints.factory
A default factory for creating constraints
DefaultConstraintFactory(Class<? extends Constraint>, MessageSource, List<Class>) - Constructor in DefaultConstraintFactory
DefaultConstraintRegistry - Class in org.grails.datastore.gorm.validation.constraints.registry
Default implementation of the ConstraintRegistry interface.
DefaultConstraintRegistry(MessageSource) - Constructor in DefaultConstraintRegistry
defaultConstraints - Field in AbstractGormMappingFactory
defaultConstraints - Field in DefaultConstraintEvaluator
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
defaultMax - Field in AbstractDetachedCriteria
defaultOffset - Field in AbstractDetachedCriteria
defaultQualifier - Field in GormStaticApi
DefaultSchemaHandler - Class in org.grails.datastore.gorm.jdbc.schema
Resolves the schema names
DefaultSchemaHandler(String, String, String) - Constructor in DefaultSchemaHandler
DefaultServiceRegistry - Class in org.grails.datastore.mapping.services
The default ServiceRegistry implementation
DefaultServiceRegistry(Datastore, boolean) - Constructor in DefaultServiceRegistry
DefaultTenantService - Class in org.grails.datastore.gorm.services
Default implementation of the TenantService interface
DefaultTimestampProvider - Class in org.grails.datastore.gorm.timestamp
*************************************************************************** Copyright 2014 original authors
DefaultTransactionService - Class in org.grails.datastore.gorm.services
The transaction service implementation
DefaultValidatorRegistry - Class in org.grails.datastore.gorm.validation.constraints.registry
A ValidatorRegistry that builds validators on demand.
DefaultValidatorRegistry(MappingContext, ConnectionSourceSettings, MessageSource) - Constructor in DefaultValidatorRegistry
deindex(Object, K) - Method in PropertyValueIndexer
Removes the index for the given value and key
DelegatingGormEntityApi - Class in org.grails.datastore.gorm
A delegating implementation of GormEntityApi
DelegatingGormEntityApi(GormInstanceApi<D>, D) - Constructor in DelegatingGormEntityApi
DELETE_CLAUSE - Field in JpaQueryBuilder
delete(Map) - Method in DelegatingGormEntityApi
delete(Object) - Method in EntityPersister
delete(Map) - Method in GormEntity
Deletes an instance from the datastore
delete(Map) - Method in GormEntityApi
Deletes an instance from the datastore
delete(D, Map) - Method in GormInstanceApi
Deletes an instance from the datastore
delete(D, Map) - Method in GormInstanceOperations
Deletes an instance from the datastore
delete(D, Map) - Method in GormStaticApi
delete(Object) - Method in Persister
Deletes a single object
delete(Object) - Method in Session
Deletes a single object
delete(D, Map) - Method in TenantDelegatingGormOperations
deleteAll() - Method in DetachedCriteria
Deletes all entities matching this criteria
deleteAll(Map, Iterable) - Method in GormEntity
Deletes a list of objects in one go and flushes when param is set
deleteAll() - Method in GormOperations
Deletes all entities matching this criteria
deleteAll(Map, Iterable) - Method in GormStaticApi
Deletes a list of objects in one go and flushes when param is set
deleteAll(Iterable) - Method in GormStaticOperations
Deletes a list of objects in one go
deleteAll(QueryableCriteria) - Method in Session
Deletes all objects matching the given criteria
deleteAll(Iterable) - Method in TenantDelegatingGormOperations
deleteEntities(PersistentEntity, Iterable) - Method in EntityPersister
deleteEntities(PersistentEntity, Iterable) - Method in 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
deleteEntries(String, List<Object>) - Method in SimpleMapEntityPersister
deleteEntry(String, K, Object) - Method in NativeEntryEntityPersister
Deletes a single entry
deleteEntry(String, def, def) - Method in SimpleMapEntityPersister
DeleteImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements "void delete(..)"
DeleteWhereImplementer - Class in org.grails.datastore.gorm.services.implementers
Implement delete method that are annotated with Where
desc(String) - Method in Query.Order
Creates a new order for the given property in descending order
destroy() - Method in AbstractDatastore
destroy() - Method in AbstractDatastorePersistenceContextInterceptor
destroy() - Method in AggregatePersistenceContextInterceptor
DETACHED_CRITERIA - Field in AbstractDetachedCriteriaServiceImplementor
DETACHED_CRITERIA_CLASS_NODE - Field in DetachedCriteriaTransformer
DetachedAssociationCriteria - Class in org.grails.datastore.gorm.query.criteria
Criterion related to an association
DetachedAssociationCriteria(Class, Association, String, String) - Constructor in DetachedAssociationCriteria
DetachedCriteria - Class in grails.gorm
Represents criteria that is not bound to the current connection and can be built up and re-used at a later date.
DetachedCriteria(Class<T>, String) - Constructor in DetachedCriteria
Constructs a DetachedCriteria instance target the given class and alias for the name
DetachedCriteriaASTTransformation - Class in org.grails.datastore.gorm.query.transform
Transforms regular Groovy-style finders into detached criteria
DetachedCriteriaTransformer - Class in org.grails.datastore.gorm.query.transform
ClassCodeVisitorSupport that transforms where methods into detached criteria queries
DetachedCriteriaTransformer(SourceUnit) - Constructor in DetachedCriteriaTransformer
detachedCriteriaVariables - Field in DetachedCriteriaTransformer
determinePropertyType(String) - Method in ConstrainedPropertyBuilder
dirty - Field in AbstractPersistentCollection
DIRTY_CHECK_CLASS_NODE - Field in DirtyCheckingTransformer
DIRTY_CHECKED_PROPERTY_ANNOTATION_NODE - Field in DirtyCheckingTransformer
DIRTY_CHECKED_PROPERTY_CLASS_NODE - Field in DirtyCheckingTransformer
DIRTY_CLASS_MARKER - Field in DirtyCheckingSupport
Used internally as a marker.
DIRTY - Field in GormProperties
DIRTY_PROPERTY_NAMES - Field in GormProperties
DirtyCheck - Annotation Type in grails.gorm.dirty.checking
Apply to enhance an entity with dirty checking support
DirtyCheckable - Trait in org.grails.datastore.mapping.dirty.checking
Interface to classes that are able to track changes to their internal state.
DirtyCheckableCollection - Interface in org.grails.datastore.mapping.dirty.checking
@author Graeme Rocher
DirtyCheckedProperty - Annotation Type in grails.gorm.dirty.checking
A marker annotation added to methods that are dirty checked
DirtyCheckingCollection - Class in org.grails.datastore.mapping.dirty.checking
Collection capable of marking the parent entity as dirty when it is modified
DirtyCheckingCollection(Collection, DirtyCheckable, String) - Constructor in DirtyCheckingCollection
DirtyCheckingList - Class in org.grails.datastore.mapping.dirty.checking
Wrapper list to dirty check a list and mark a parent as dirty
DirtyCheckingList(List, DirtyCheckable, String) - Constructor in DirtyCheckingList
DirtyCheckingMap - Class in org.grails.datastore.mapping.dirty.checking
A map that can be dirty checked
DirtyCheckingMap(Map, DirtyCheckable, String) - Constructor in DirtyCheckingMap
DirtyCheckingSet - Class in org.grails.datastore.mapping.dirty.checking
Wrapper list to dirty check a list and mark a parent as dirty
DirtyCheckingSet(Set, DirtyCheckable, String) - Constructor in DirtyCheckingSet
DirtyCheckingSortedSet - Class in org.grails.datastore.mapping.dirty.checking
Dirty checks sorted sets
DirtyCheckingSortedSet(SortedSet, DirtyCheckable, String) - Constructor in DirtyCheckingSortedSet
DirtyCheckingSupport - Class in org.grails.datastore.mapping.dirty.checking
Support methods for dirty checking
DirtyCheckingTransformer - Class in org.grails.compiler.gorm
Transforms a domain class making it possible for the domain class to take responsibility of tracking changes to itself, thus removing the responsibility from the ORM system which would have to maintain parallel state and compare the state of the domain class to the stored state.
DirtyCheckingTransformer.GetterAndSetter - Class in org.grails.compiler.gorm
DirtyCheckTransformation - Class in org.grails.compiler.gorm
Applies the DirtyCheck transformation
discard() - Method in DelegatingGormEntityApi
discard() - Method in GormEntity
Discards any pending changes.
discard() - Method in GormEntityApi
Discards any pending changes.
discard(D) - Method in GormInstanceApi
Discards any pending changes.
discard(D) - Method in GormInstanceOperations
Discards any pending changes.
discard(D) - Method in GormStaticApi
discard(D) - Method in TenantDelegatingGormOperations
disconnect() - Method in AbstractAttributeStoringSession
Performs clear up.
disconnect() - Method in AbstractDatastorePersistenceContextInterceptor
disconnect() - Method in AggregatePersistenceContextInterceptor
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
discriminatePersistentEntity(PersistentEntity, Map) - Method in SimpleMapEntityPersister
disjunction() - Method in Query
Creates a disjunction (OR) query
distinct(String) - Method in AbstractCriteriaBuilder
Projection that signifies to return only distinct results
distinct(String) - Method in AbstractDetachedCriteria
Adds a distinct property projection
distinct() - Method in AbstractDetachedCriteria.DetachedProjections
distinct(String) - Method in DetachedCriteria
Adds a distinct property projection
distinct(Collection, String) - Method in ManualProjections
distinct(String) - Method in ProjectionList
Projection to return only distinct properties
distinct(String) - Method in Projections
Projection that signifies to return only distinct results
distinct(String) - Method in Query.ProjectionList
doBegin(Object, TransactionDefinition) - Method in DatastoreTransactionManager
doCall(Object) - Method in MethodInvokingClosure
doCleanupAfterCompletion(Object) - Method in DatastoreTransactionManager
doCommit(DefaultTransactionStatus) - Method in DatastoreTransactionManager
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.
doesEnhance(ClassNode, MethodNode) - Method in AbstractReadOperationImplementer
doesEnhance(ClassNode, MethodNode) - Method in AbstractWriteOperationImplementer
doesEnhance(ClassNode, MethodNode) - Method in MethodValidationImplementer
doesEnhance(ClassNode, MethodNode) - Method in ServiceEnhancer
Does this service enhancer enhance the method
doesImplement(ClassNode, MethodNode) - Method in AbstractServiceImplementer
doesImplement(ClassNode, MethodNode) - Method in AbstractStringQueryImplementer
doesImplement(ClassNode, MethodNode) - Method in AbstractWhereImplementer
doesImplement(ClassNode, MethodNode) - Method in CountImplementer
doesImplement(ClassNode, MethodNode) - Method in CountWhereImplementer
doesImplement(ClassNode, MethodNode) - Method in DeleteImplementer
doesImplement(ClassNode, MethodNode) - Method in DeleteWhereImplementer
doesImplement(ClassNode, MethodNode) - Method in FindAllByImplementer
doesImplement(ClassNode, MethodNode) - Method in FindAllByInterfaceProjectionImplementer
doesImplement(ClassNode, MethodNode) - Method in FindAllWhereImplementer
doesImplement(ClassNode, MethodNode) - Method in FindAndDeleteImplementer
doesImplement(ClassNode, MethodNode) - Method in FindOneByInterfaceProjectionImplementer
doesImplement(ClassNode, MethodNode) - Method in FindOneWhereImplementer
doesImplement(ClassNode, MethodNode) - Method in MethodValidationImplementer
doesImplement(ClassNode, MethodNode) - Method in SaveImplementer
doesImplement(ClassNode, MethodNode) - Method in ServiceImplementer
Does this service implement the method
doesImplement(ClassNode, MethodNode) - Method in UpdateOneImplementer
doesImplement(ClassNode, MethodNode) - Method in UpdateStringQueryImplementer
doesNotHoldNonDefaultSession() - Method in SessionHolder
doesRealMethodExist(MetaClass, String, Class, boolean) - Method in GormEnhancer
doesRequirePropertyIndexing() - Method in 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
doImplement(ClassNode, ClassNode, MethodNode, MethodNode, boolean) - Method in AbstractArrayOrIterableResultImplementer
Implement the method for the given arguments
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractDetachedCriteriaServiceImplementor
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractReadOperationImplementer
Subclasses should override to add the logic that implements the method
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractStringQueryImplementer
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractWhereImplementer
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractWriteOperationImplementer
Subclasses should override to add the logic that implements the method
doImplement(ClassNode, ClassNode, MethodNode, MethodNode, boolean) - Method in FindAllByImplementer
doImplement(ClassNode, ClassNode, MethodNode, MethodNode, boolean) - Method in FindOneByImplementer
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in SaveImplementer
doImplement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in UpdateOneImplementer
doInSession(Session) - Method in SessionCallback
doInSession(Session) - Method in VoidSessionCallback
doInvokeInternal(DynamicFinderInvocation) - Method in AbstractFindByFinder
doInvokeInternal(DynamicFinderInvocation) - Method in CountByFinder
doInvokeInternal(DynamicFinderInvocation) - Method in DynamicFinder
doInvokeInternal(DynamicFinderInvocation) - Method in FindAllByFinder
doInvokeInternal(DynamicFinderInvocation) - Method in FindOrCreateByFinder
doInvokeInternal(DynamicFinderInvocation) - Method in FindOrSaveByFinder
doInvokeMethod(String, Object, Object) - Method in ConstrainedPropertyBuilder
DOLLAR_SEPARATOR - Field in NameUtils
DOMAIN_PATH_PATTERN - Field in AstUtils
DOMAIN_TYPE - Field in AstUtils
DomainEventListener - Class in org.grails.datastore.gorm.events
An event listener that provides support for GORM domain events.
DomainEventListener(ConnectionSourcesProvider, MappingContext) - Constructor in DomainEventListener
doManualDirtyCheck(Object, Object) - Method in NativeEntryEntityPersister
doResume(Object, Object) - Method in DatastoreTransactionManager
doRollback(DefaultTransactionStatus) - Method in DatastoreTransactionManager
doSave(D, Map, Session, boolean) - Method in GormInstanceApi
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.
driverClassName(String) - Method in DataSourceBuilder
DynamicAttributeHelper - Class in org.grails.datastore.gorm.schemaless
Helper class for use in other traits
DynamicAttributes - Trait in org.grails.datastore.gorm.schemaless
A trait that adds support for defining dynamic attributes for databases that support it
DynamicFinder - Class in org.grails.datastore.gorm.finders
Abstract base class for dynamic finders.
DynamicFinder(Pattern, String, MappingContext) - Constructor in DynamicFinder
DynamicFinderInvocation - Class in org.grails.datastore.gorm.finders
Value object used to construct all the information necessary to invoke a dynamic finder.
DynamicFinderInvocation(Class, String, Object, List<MethodExpression>, Closure, String) - Constructor in DynamicFinderInvocation
dynamicFinders - Field in AbstractDetachedCriteria

E

eachTenant(Closure) - Method in DefaultTenantService
eachTenant(Closure) - Method in GormStaticApi
eachTenant(Closure) - Method in GormStaticOperations
Execute the closure for each tenant
eachTenant(Closure) - Method in MultiTenant
Execute the closure for each tenant
eachTenant(Closure) - Method in TenantDelegatingGormOperations
eachTenant(MultiTenantCapableDatastore, Closure) - Method in Tenants
Execute the given closure for each tenant for the given datastore.
eachTenant(Closure) - Method in TenantService
Execute the given closure for each tenant.
EmailConstraint - Class in org.grails.datastore.gorm.validation.constraints
Validates an email address.
EmailConstraint(Class<?>, String, Object, MessageSource) - Constructor in EmailConstraint
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
enhance(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractReadOperationImplementer
enhance(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractWriteOperationImplementer
enhance(PersistentEntity, boolean) - Method in GormEnhancer
Enhance and individual entity
enhance(ClassNode, MethodNode, MethodNode, ClassNode) - Method in MethodValidationImplementer
enhance(ClassNode, MethodNode, MethodNode, ClassNode) - Method in ServiceEnhancer
Enhances the method
enhanceClassNode(SourceUnit, AnnotationNode, ClassNode) - Method in AbstractDatastoreMethodDecoratingTransformation
enhanceClassNode(SourceUnit, AnnotationNode, ClassNode) - Method in AbstractMethodDecoratingTransformation
Add any additional logic to enhance the class node
enhanceClassNode(SourceUnit, AnnotationNode, ClassNode) - Method in TransactionalTransform
ensureQueryIsInitialized() - Method in AbstractCriteriaBuilder
entitiesWithDateCreated - Field in AutoTimestampEventListener
entitiesWithLastUpdated - Field in AutoTimestampEventListener
Entity - Trait in grails.gorm
Trait added to all domain classes
entity - Field in AbstractClassMapping
entity - Field in BeanEntityAccess
ENTITY_CLASS_RESOURCE_PATTERN - Field in AbstractDatastoreInitializer
entity - Field in PendingOperationAdapter
entity - Field in Query
EntityAccess - Interface in org.grails.datastore.mapping.engine
@author Graeme Rocher
EntityCreationException - Class in org.grails.datastore.mapping.core
Thrown when there was an error creating an entity.
EntityCreationException(String, Throwable) - Constructor in EntityCreationException
entityFamily - Field in AbstractKeyValueEntityPersister
EntityPersister - Class in org.grails.datastore.mapping.engine
A Persister specifically for persisting PersistentEntity instances.
EntityPersister(MappingContext, PersistentEntity, Session, ApplicationEventPublisher) - Constructor in EntityPersister
EntityProxy - Interface in org.grails.datastore.mapping.proxy
@author Graeme Rocher
EntityProxyHandlerAdapter - Class in org.grails.datastore.gorm.proxy
Adapts the proxy handler interface
EntityProxyHandlerAdapter(EntityProxyHandler) - Constructor in EntityProxyHandlerAdapter
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
EntityTraitInjector - Class in org.grails.compiler.gorm
@author Jeff Brown
entityValidators - Field in AbstractMappingContext
entrySet() - Method in PropertyResolverMap
eq(String, Object) - Method in AbstractCriteriaBuilder
Creates an "equals" Criterion based on the specified property name and value.
eq(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
eq(String, Object) - Method in Criteria
Creates an "equals" Criterion based on the specified property name and value
eq(String, Object) - Method in DetachedCriteria
eq(String, Object) - Method in Query
Restricts the results by the given properties value
eq(String, Object) - Method in Restrictions
Restricts the property to be equal to the given value
eqAll(String, QueryableCriteria) - Method in AbstractCriteriaBuilder
Creates a subquery criterion that ensures the given property is equal to all the given returned values
eqAll(String, QueryableCriteria) - Method in AbstractDetachedCriteria
eqAll(String, QueryableCriteria) - Method in Criteria
Creates a subquery criterion that ensures the given property is equal to all the given returned values
eqAll(String, QueryableCriteria) - Method in DetachedCriteria
eqProperty(String, String) - Method in AbstractCriteriaBuilder
Constraints a property to be equal to a specified other property
eqProperty(String, String) - Method in AbstractDetachedCriteria
@see Criteria
eqProperty(String, String) - Method in Criteria
Constrains a property to be equal to a specified other property
eqProperty(String, String) - Method in DetachedCriteria
eqProperty(String, String) - Method in Restrictions
Constraints a property to be equal to a specified other property
equals(Object) - Method in AbstractPersistentCollection
equals(Object) - Method in AbstractPersistentEntity
EQUALS_OPERATOR - Field in DetachedCriteriaTransformer
equals(Object) - Method in PagedResultList
error(SourceUnit, ASTNode, String) - Method in AstUtils
ERRORS - Field in GormProperties
establishPropertyName(MethodNode, String, ClassNode) - Method in AbstractProjectionImplementer
establishRelationshipForCollection(PropertyDescriptor, PersistentEntity, MappingContext, Map<String, Class>, Map, boolean) - Method in GormMappingConfigurationStrategy
establishRelationshipForCollection(PropertyDescriptor, Field, PersistentEntity, MappingContext, boolean) - Method in JpaMappingConfigurationStrategy
evaluate(Class<?>, boolean, boolean, Closure) - Method in ConstraintsEvaluator
Evaluate constraints for the given class
evaluate(Class<?>, boolean, boolean, Closure) - Method in DefaultConstraintEvaluator
evaluate(Closure, Object) - Method in DefaultMappingConfigurationBuilder
evaluate(Closure, Object) - Method in MappingConfigurationBuilder
Evaluates the configuration for the given closure
evaluate(Closure) - Method in NamedQueriesBuilder
evaluateWithContext(MappingConfigurationBuilder, Closure) - Method in AbstractGormMappingFactory
EVENT_BEFORE_INSERT - Field in DomainEventListener
eventListeners - Field in AbstractMappingContext
eventPublisher - Field in GormValidationApi
EventTriggerCaller - Class in org.grails.datastore.gorm.support
EventType - Enum in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
EXCLUDED_PROPERTIES - Field in ClassPropertyFetcher
execute(VoidSessionCallback) - Method in AbstractDatastoreApi
execute(VoidSessionCallback) - Method in AbstractFinder
execute(Datastore, VoidSessionCallback) - Method in DatastoreUtils
Execute the callback in the current session if it exists, or create a new one and close it otherwise.
execute(Closure<T>) - Method in GrailsTransactionTemplate
executeAndRollback(Closure<T>) - Method in GrailsTransactionTemplate
executeAssociationSubQuery(def, PersistentEntity, Junction, PersistentProperty) - Method in SimpleMapQuery
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.
executeLikeWithRegex(SimpleMapEntityPersister, PersistentProperty, def) - Method in SimpleMapQuery
executePendingOperation(PendingOperation) - Method in PendingOperationExecution
executeQuery(PersistentEntity, Junction) - Method in AssociationQuery
executeQuery(CharSequence, Collection, Map) - Method in GormEntity
Executes a query for the given String
executeQuery(CharSequence, Collection, Map) - Method in GormStaticApi
executeQuery(CharSequence, Collection, Map) - Method in GormStaticOperations
Executes a query for the given String
executeQuery(PersistentEntity, Query.Junction) - Method in Query
Subclasses should implement this to provide the concrete implementation of querying
executeQuery(PersistentEntity, Junction) - Method in SimpleMapQuery
executeQuery(CharSequence, Collection, Map) - Method in TenantDelegatingGormOperations
executeSubQuery(def, def) - Method in SimpleMapQuery
executeSubQueryInternal(def, def) - Method in SimpleMapQuery
executeUpdate(CharSequence, Collection, Map) - Method in GormEntity
Executes an update for the given String
executeUpdate(CharSequence, Collection, Map) - Method in GormStaticApi
executeUpdate(CharSequence, Collection, Map) - Method in GormStaticOperations
Executes an update for the given String
executeUpdate(CharSequence, Collection, Map) - Method in TenantDelegatingGormOperations
executor - Field in AssociationQueryProxyHandler
exists(QueryableCriteria<?>) - Method in AbstractCriteriaBuilder
exists(QueryableCriteria<?>) - Method in AbstractDetachedCriteria
@see Criteria#exists(org.grails.datastore.mapping.query.api.QueryableCriteria)
exists(QueryableCriteria<?>) - Method in Criteria
Executes an exists subquery
exists(QueryableCriteria<?>) - Method in DetachedCriteria
exists(Serializable) - Method in GormEntity
Checks whether an entity exists
exists(Serializable) - Method in GormStaticApi
Checks whether an entity exists
exists(Serializable) - Method in GormStaticOperations
Checks whether an entity exists
exists(Serializable) - Method in TenantDelegatingGormOperations

F

factoriesByName - Field in DefaultConstraintRegistry
factoriesByType - Field in DefaultConstraintRegistry
failOnError - Field in SimpleMapDatastore
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 AbstractDetachedCriteria
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
FIELD_TARGET_DATASTORE - Field in AbstractDatastoreMethodDecoratingTransformation
FieldEntityAccess - Class in org.grails.datastore.mapping.reflect
Uses field reflection or CGlib to improve performance
FieldEntityAccess(PersistentEntity, Object, ConversionService) - Constructor in FieldEntityAccess
find(Closure) - Method in DetachedCriteria
Synonym for #get
find(CharSequence, Collection, Map) - Method in GormEntity
Finds an object for the given string-based query, positional parameters and arguments
find() - Method in GormQueryOperations
Synonym for #get
find(CharSequence, Collection, Map) - Method in GormStaticApi
find(CharSequence, Collection, Map) - Method in GormStaticOperations
Finds an object for the given string-based query, positional parameters and arguments
find(Closure) - Method in NamedCriteriaProxy
find() - Method in QueryableCriteria
@return Find a single result
find(CharSequence, Collection, Map) - Method in TenantDelegatingGormOperations
findAbstractMethodsInternal(ClassNode, List<MethodNode>, boolean) - Method in AstUtils
findAll(CharSequence, Collection, Map) - Method in GormEntity
Finds all objects for the given string-based query, positional parameters and arguments
findAll(CharSequence, Collection, Map) - Method in GormStaticApi
findAll(CharSequence, Collection, Map) - Method in GormStaticOperations
Finds all objects for the given string-based query, positional parameters and arguments
findAll(CharSequence, Collection, Map) - Method in TenantDelegatingGormOperations
findAllAbstractMethods(ClassNode) - Method in AstUtils
Finds all the abstract methods for the give class node
FindAllByBooleanFinder - Class in org.grails.datastore.gorm.finders
The "findAll<booleanProperty>By*" static persistent method.
FindAllByBooleanFinder(MappingContext) - Constructor in FindAllByBooleanFinder
FindAllByFinder - Class in org.grails.datastore.gorm.finders
Finder used to return multiple results.
FindAllByFinder(MappingContext) - Constructor in FindAllByFinder
FindAllByImplementer - Class in org.grails.datastore.gorm.services.implementers
Automatically implement services that find objects based an arguments
FindAllByInterfaceProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Created by graemerocher on 05/04/2017.
FindAllImplementer - Class in org.grails.datastore.gorm.services.implementers
Automatically implements Service interface methods that start with "list" and return an iterable of domain classes
FindAllInterfaceProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Used for performing interface projections on
FindAllPropertyProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Support for projections that return multiple results
FindAllStringQueryImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements support for String-based queries that return an iterable or array of domain classes
findAllUnimplementedAbstractMethods(ClassNode) - Method in AstUtils
Finds all the abstract methods for the give class node
findAllWhere(Map, Map) - Method in GormEntity
Finds all results matching all of the given conditions.
findAllWhere(Map, Map) - Method in GormStaticApi
Finds all results matching all of the given conditions.
findAllWhere(Map, Map) - Method in GormStaticOperations
Finds all results matching all of the given conditions.
findAllWhere(Map) - Method in NamedCriteriaProxy
findAllWhere(Map, Map) - Method in TenantDelegatingGormOperations
FindAllWhereImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements support for the Where annotation on Service instances that return a multiple results
FindAndDeleteImplementer - Class in org.grails.datastore.gorm.services.implementers
An implementer that handles delete methods
findAnnotation(AnnotatedNode, List<AnnotationNode>) - Method in AstAnnotationUtils
findAnnotation(AnnotatedNode, List<AnnotationNode>) - Method in AstUtils
findArgsExpression(MethodNode) - Method in AbstractReadOperationImplementer
findArgsExpression(MethodNode) - Method in DeleteWhereImplementer
FindByBooleanFinder - Class in org.grails.datastore.gorm.finders
FindByBooleanFinder(MappingContext) - Constructor in FindByBooleanFinder
FindByFinder - Class in org.grails.datastore.gorm.finders
Finder used to return a single result
FindByFinder(MappingContext) - Constructor in FindByFinder
findConnectionId(MethodNode) - Method in AbstractServiceImplementer
findConstraintFactories(Class<T>) - Method in ConstraintRegistry
Finds a constraint by class
findConstraintFactories(Class<T>) - Method in DefaultConstraintRegistry
findCustomType(MappingContext, Class<?>) - Method in MappingFactory
findDatastore(Class, String) - Method in GormEnhancer
Find a datastore for the give entity type and qualifier (the connection name)
findDatastoreByType(Class<? extends Datastore>) - Method in GormEnhancer
Finds a datastore by type
findDefaultDatastore(Datastore) - Method in RuntimeSupport
Finds the default datastore from an array of datastores
findEntity(Class, String) - Method in GormEnhancer
Find the entity for the given type
FinderMethod - Interface in org.grails.datastore.gorm.finders
Implementation of dynamic finders.
findEventPublisher(BeanDefinitionRegistry) - Method in AbstractDatastoreInitializer
Finds the event publisher to use
findInstanceApi(Class<D>, String) - Method in GormEnhancer
Find an instance API for the give entity type and qualifier (the connection name)
findInstanceApiForConnectionId(ClassNode, MethodNode) - Method in AbstractServiceImplementer
findInterface(ClassNode, String) - Method in AstUtils
findMessageSource(BeanDefinitionRegistry) - Method in AbstractDatastoreInitializer
Finds the message source to use
findMethodExpression(String) - Method in DynamicFinder
findMethodToInvoke(ClassNode, MethodNode) - Method in FindOneImplementer
findNamedQuery(Class, String) - Method in GormEnhancer
@deprecated Use #createNamedQuery(entity, queryName) instead
FindOneByImplementer - Class in org.grails.datastore.gorm.services.implementers
Handles implementation for a finder that returns a single result
FindOneByInterfaceProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Interface projections for dynamic finders
FindOneImplementer - Class in org.grails.datastore.gorm.services.implementers
An implementer that implements logic for finding a single entity
FindOneInterfaceProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Interface projection finder
FindOneInterfaceProjectionStringQueryImplementer - Class in org.grails.datastore.gorm.services.implementers
Interface projections for string-based queries
FindOneInterfaceProjectionWhereImplementer - Class in org.grails.datastore.gorm.services.implementers
Interface projection implementer for Where queries
FindOnePropertyProjectionImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements property projection by query
FindOneStringQueryImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements support for String-based queries that return a domain class
FindOneWhereImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements support for the Where annotation on Service instances that return a single result
FindOrCreateByFinder - Class in org.grails.datastore.gorm.finders
Finder used to return a single result
FindOrCreateByFinder(String, MappingContext) - Constructor in FindOrCreateByFinder
findOrCreateWhere(Map) - Method in GormEntity
Finds a single result matching all of the given conditions.
findOrCreateWhere(Map) - Method in GormStaticApi
Finds a single result matching all of the given conditions.
findOrCreateWhere(Map) - Method in GormStaticOperations
Finds a single result matching all of the given conditions.
findOrCreateWhere(Map) - Method in TenantDelegatingGormOperations
findOrder(Object) - Method in OrderedComparator
Find an order value indicated by the given object.
FindOrSaveByFinder - Class in org.grails.datastore.gorm.finders
FindOrSaveByFinder(MappingContext) - Constructor in FindOrSaveByFinder
findOrSaveWhere(Map) - Method in GormEntity
Finds a single result matching all of the given conditions.
findOrSaveWhere(Map) - Method in GormStaticApi
Finds a single result matching all of the given conditions.
findOrSaveWhere(Map) - Method in GormStaticOperations
Finds a single result matching all of the given conditions.
findOrSaveWhere(Map) - Method in TenantDelegatingGormOperations
findPersistenceInterceptorBeanNames(BeanDefinitionRegistry) - Method in PersistenceContextInterceptorAggregator
findPublicAbstractMethods(ClassNode) - Method in AstUtils
Finds all the abstract methods for the give class node
findServiceImplementors(AnnotationNode) - Method in ServiceTransformation
findServices(List, Class<T>) - Method in ConfigurationUtils
Finds services of the given type from the given list or via java.util.ServiceLoader
findSingleDatastore() - Method in GormEnhancer
Finds a single datastore
findSingleTransactionManager(String) - Method in GormEnhancer
Finds a single available transaction manager
findStaticApi(Class<D>, String) - Method in GormEnhancer
Find a static API for the give entity type and qualifier (the connection name)
findStaticApiForConnectionId(ClassNode, MethodNode) - Method in AbstractServiceImplementer
findTenantId(Class) - Method in GormEnhancer
Find the tenant id for the given entity
findTransactionalAnnotation(MethodNode) - Method in TransactionalTransform
Finds the transactional annotation for the given method node
findTransactionManager(Class<? extends Datastore>, String) - Method in GormEnhancer
Finds a single available transaction manager
findTransformName(AnnotationNode) - Method in OrderedGormTransformation
findType() - Method in DataSourceBuilder
findValidationApi(Class<D>, String) - Method in GormEnhancer
Find a validation API for the give entity type and qualifier (the connection name)
findWhere(Map, Map) - Method in GormEntity
Finds a single result matching all of the given conditions.
findWhere(Map, Map) - Method in GormStaticApi
Finds a single result matching all of the given conditions.
findWhere(Map, Map) - Method in GormStaticOperations
Finds a single result matching all of the given conditions.
findWhere(Map) - Method in NamedCriteriaProxy
findWhere(Map, Map) - Method in TenantDelegatingGormOperations
firePostDeleteEvent(PersistentEntity, EntityAccess) - Method in EntityPersister
firePostInsertEvent(PersistentEntity, EntityAccess) - Method in EntityPersister
firePostLoadEvent(PersistentEntity, EntityAccess) - Method in EntityPersister
firePostUpdateEvent(PersistentEntity, EntityAccess) - Method in EntityPersister
firePreLoadEvent(PersistentEntity, EntityAccess) - Method in EntityPersister
first(Map) - Method in GormEntity
Finds the first object.
first(Map) - Method in GormStaticApi
Finds the first object.
first(Map) - Method in GormStaticOperations
Finds the first object.
first() - Method in PersistentSortedSet
first(Map) - Method in TenantDelegatingGormOperations
firstExpressionIsRequiredBoolean() - Method in AbstractFindByFinder
firstExpressionIsRequiredBoolean() - Method in FindAllByBooleanFinder
firstExpressionIsRequiredBoolean() - Method in FindAllByFinder
firstExpressionIsRequiredBoolean() - Method in FindByBooleanFinder
firstResult(int) - Method in Query
Defines the offset (the first result index) of the query
FixedTenantResolver - Class in org.grails.datastore.mapping.multitenancy.resolvers
A tenant resolver that resolves to a fixed static named tenant id
FixedTenantResolver(Serializable) - Constructor in FixedTenantResolver
flush() - Method in AbstractDatastorePersistenceContextInterceptor
flush() - Method in AggregatePersistenceContextInterceptor
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
forExecutables() - Method in GormValidatorAdapter
formatDomainClassVariable(ClassNode, String) - Method in QueryStringTransformer
Formats a domain class variable
formatErrors(Errors, String) - Method in ValidationException
formatPropertyPath(List<String>, String) - Method in QueryStringTransformer
Formats a declaration for the given property path
formatPropertyReference(VariableExpression, String, String) - Method in QueryStringTransformer
Formats a reference to a property of a declared domain class
formulateDatabaseReference(PersistentEntity, Association, Serializable) - Method in NativeEntryEntityPersister
Formulates a database reference for the given entity, association and association id
forName(String, ClassLoader) - Method in ReflectionUtils
fromJdbcUrl(String) - Method in DatabaseDriver
Find a DatabaseDriver for the given URL.
fromMappedName(String) - Method in CascadeValidateType
Defines a set of cascade validation options that are propagated to the associated entity.
fromProductName(String) - Method in DatabaseDriver
Find a DatabaseDriver for the given product name.
FUNCTION_CALL_CRITERION - Field in DetachedCriteriaTransformer
FunctionCallingCriterion - Class in org.grails.datastore.mapping.query.criteria
This criterion calls a function on the property before apply the appropriate comparison.
FunctionCallingCriterion(String, String, PropertyCriterion, boolean) - Constructor in FunctionCallingCriterion

G

ge(String, Object) - Method in AbstractCriteriaBuilder
Used to restrict a value to be greater than or equal to the given value
ge(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
ge(String, Object) - Method in Criteria
Used to restrict a value to be greater than or equal to the given value
ge(String, Object) - Method in DetachedCriteria
ge(String, Object) - Method in Query
Used to restrict a value to be greater than or equal to the given value
geAll(String, QueryableCriteria) - Method in AbstractCriteriaBuilder
Creates a subquery criterion that ensures the given property is greater than all the given returned values
geAll(String, QueryableCriteria) - Method in AbstractDetachedCriteria
geAll(String, QueryableCriteria) - Method in Criteria
Creates a subquery criterion that ensures the given property is greater than all the given returned values
geAll(String, QueryableCriteria) - Method in DetachedCriteria
generateIdentifier(PersistentEntity, T) - Method in NativeEntryEntityPersister
Subclasses should override to provide id generation.
generateIdentifier(PersistentEntity, Map) - Method in SimpleMapEntityPersister
generateServiceDescriptor(SourceUnit, ClassNode) - Method in ServiceTransformation
geProperty(String, String) - Method in AbstractCriteriaBuilder
Constraints a property to be greater than or equal to a specified other property
geProperty(String, String) - Method in AbstractDetachedCriteria
@see Criteria
geProperty(String, String) - Method in Criteria
Constrains a property to be greater than or equal to a specified other property
geProperty(String, String) - Method in DetachedCriteria
geProperty(String, String) - Method in Restrictions
Constraints a property to be greater than or equal to a specified other property
geSome(String, Closure<?>) - Method in AbstractCriteriaBuilder
geSome(String, Closure<?>) - Method in AbstractDetachedCriteria
geSome(String, Closure<?>) - Method in Criteria
Creates a subquery criterion that ensures the given property is greater than or equal to some of the given values
geSome(String, Closure<?>) - Method in DetachedCriteria
get(int) - Method in AbstractResultList
get(Closure) - Method in BuildableCriteria
Defines and executes a get query ( a single result) in a single call.
get(Closure) - Method in CriteriaBuilder
Defines and executes a get query (a single result) in a single call.
get(Closure) - Method in DetachedCriteria
Returns a single result matching the criterion contained within this DetachedCriteria instance
get(Serializable) - Method in GormEntity
Retrieves and object from the datastore. eg.
get() - Method in GormQueryOperations
Returns a single result matching the criterion contained within this DetachedCriteria instance
get(Serializable) - Method in GormStaticApi
Retrieves and object from the datastore. eg.
get(Serializable) - Method in GormStaticOperations
Retrieves and object from the datastore. eg.
GET_ID_METHOD - Field in EntityProxyMethodHandler
GET_META_CLASS - Field in GroovyObjectMethodHandler
get(Map, Closure) - Method in NamedCriteriaProxy
get(int) - Method in PagedResultList
get(int) - Method in PersistentList
GET_PROPERTY - Field in GroovyObjectMethodHandler
get(Object) - Method in PropertyResolverMap
GET_PROXY_KEY_METHOD - Field in EntityProxyMethodHandler
GET_TARGET_METHOD - Field in EntityProxyMethodHandler
get(Serializable) - Method in TenantDelegatingGormOperations
get() - Method in Tenants.CurrentTenant
@return Obtain the current tenant
GET_TRANSACTION_MANAGER_METHOD - Field in TransactionalTransform
getAdapted() - Method in AdaptedImplementer
getAdditionalBeansConfiguration(BeanDefinitionRegistry, String) - Method in AbstractDatastoreInitializer
Internal method aiding in datastore configuration.
getAlias() - Method in AbstractDetachedCriteria
@return The root alias to be used for the query
getAlias() - Method in QueryableCriteria
@return The alias to be used for the query, null if none
getAll() - Method in GormEntity
@return Synonym for list()
getAll() - Method in GormStaticApi
@return Synonym for list()
getAll() - Method in GormStaticOperations
@return Synonym for list()
getAll() - Method in TenantDelegatingGormOperations
getAllAssociationMap(ClassPropertyFetcher) - Method in GormMappingConfigurationStrategy
Retrieves the association map
getAllConnectionSources() - Method in ConnectionSources
@return An iterable containing all ConnectionSource instances
getAllConnectionSources() - Method in InMemoryConnectionSources
getAllConnectionSources() - Method in SingletonConnectionSources
getAllConnectionSources() - Method in StaticConnectionSources
getAnnotationMetadata() - Method in AnnotationMetadataReader
getAnnotationType() - Method in AbstractGormASTTransformation
getAnnotationType() - Method in AbstractStringQueryImplementer
getAnnotationType() - Method in ServiceTransformation
getAnnotationType() - Method in TenantTransform
getAnnotationType() - Method in TransactionalTransform
getApplicationContext() - Method in AbstractDatastore
@deprecated Deprecated, will be removed in a future version of GORM
getApplicationContext() - Method in Datastore
Get the application context.
getApplicationEventPublisher() - Method in AbstractDatastore
getApplicationEventPublisher() - Method in Datastore
Get the application event publisher.
getApplicationEventPublisher() - Method in SimpleMapDatastore
getAppliedConstraint(String) - Method in ConstrainedProperty
Obtain an applied constraint
getAppliedConstraint(String) - Method in DefaultConstrainedProperty
Obtains an applied constraint by name.
getAppliedConstraints() - Method in ConstrainedProperty
@return Returns the appliedConstraints.
getAppliedConstraints() - Method in DefaultConstrainedProperty
@return Returns the appliedConstraints.
getAppliedMarker() - Method in AbstractGormASTTransformation
getAppliedMarker() - Method in ServiceTransformation
getAppliedMarker() - Method in TenantTransform
getAppliedMarker() - Method in TransactionalTransform
getArguments() - Method in DynamicFinderInvocation
getArguments() - Method in MethodExpression
getArgumentsRequired() - Method in MethodExpression
getArtefactTypes() - Method in DirtyCheckingTransformer
getArtefactTypes() - Method in EntityTraitInjector
getArtefactTypes() - Method in GormTransformer
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
getAssociationId(String) - Method in GormEntity
Obtains the id of an association without initialising the association
getAssociationIndexer(T, Association) - Method in NativeEntryEntityPersister
Obtains an indexer for the given association
getAssociationIndexer(Map, Association) - Method in SimpleMapEntityPersister
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.
getAsync() - Method in AsyncEntity
@return The async version of the GORM static API
getAt(String) - Method in DynamicAttributes
Obtains a dynamic attribute
getAt(String) - Method in InstanceProxy
getAt(String) - Method in ValidationErrors
getAttribute(Object, String) - Method in AbstractAttributeStoringSession
getAttribute(Object, String) - Method in ProxyInstanceMetaClass
getAttribute(Object, String) - Method in Session
Obtains an attribute for the given entity
getAttributes() - Method in DefaultConstrainedProperty
getBackingMap() - Method in SimpleMapDatastore
getBackingMap() - Method in SimpleMapSession
getBaseConfiguration() - Method in AbstractConnectionSources
getBaseConfiguration() - Method in ConnectionSources
@return Obtains the base configuration
getBeanDefinitions(BeanDefinitionRegistry) - Method in AbstractDatastoreInitializer
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
getClassMetadata() - Method in AnnotationMetadataReader
getClassName(Class) - Method in NameUtils
Get the class name, taking into account proxies
getClockProvider() - Method in GormValidatorFactoryAdapter
getClockProvider() - Method in JavaxValidatorRegistry
getCommonConfiguration(BeanDefinitionRegistry, String) - Method in AbstractDatastoreInitializer
getComponentType() - Method in Basic
getCompositeIdentity() - Method in AbstractPersistentEntity
getCompositeIdentity(Class, MappingContext) - Method in GormMappingConfigurationStrategy
getCompositeIdentity(Class, MappingContext) - Method in MappingConfigurationStrategy
Obtains the identity of a persistent entity
getCompositeIdentity() - Method in PersistentEntity
The composite id
getConnection() - Method in CustomizableRollbackTransactionAttribute
@return The connection being used
getConnectionFromDriverManager(String, Properties) - Method in DataSourceBuilder.ReadOnlyDriverManagerDataSource
getConnectionSource(String) - Method in ConnectionSources
Obtain a ConnectionSource by name
getConnectionSource(String) - Method in InMemoryConnectionSources
getConnectionSource(String) - Method in SingletonConnectionSources
getConnectionSource(String) - Method in StaticConnectionSources
getConnectionSourceNames(ConnectionSourceFactory<T, S>, PropertyResolver) - Method in AbstractConnectionSources
Implementors should provide a method to lookup the data source names, which could be read from a database, configuration etc.
getConnectionSourceNames(PersistentEntity) - Method in ConnectionSourcesSupport
Obtain all of the ConnectionSource names for the given entity
getConnectionSourceNames(ConnectionSourceFactory<T, S>, PropertyResolver) - Method in SingletonConnectionSources
getConnectionSourceNames(ConnectionSourceFactory<T, S>, PropertyResolver) - Method in StaticConnectionSources
getConnectionSources() - Method in ConnectionSourcesProvider
@return The ConnectionSources
getConnectionSources() - Method in SimpleMapDatastore
getConnectionSourcesConfigurationKey() - Method in ConnectionSourceFactory
Returns:
Obtain the prefix used to obtain the default configuration.
getConnectionSourcesConfigurationKey() - Method in DataSourceConnectionSourceFactory
getConnectionSourcesConfigurationKey() - Method in SimpleMapConnectionSourceFactory
getConnectionSourcesConfigurationKey() - Method in SingletonConnectionSources.NullConnectionFactory
getConstrainedProperties() - Method in ConstrainedEntity
@return The constrained property instances
getConstrainedProperties() - Method in ConstrainedPropertyBuilder
getConstraintValidatorFactory() - Method in GormValidatorFactoryAdapter
getConstraintValidatorFactory() - Method in JavaxValidatorRegistry
getConversionService() - Method in AbstractMappingContext
getConversionService() - Method in MappingContext
Obtains the ConversionService instance to use for type conversion
getConverterRegistry() - Method in AbstractMappingContext
getConverterRegistry() - Method in MappingContext
Obtains the converter registry
getCount() - Method in GormEntity
Same as count() but allows property-style syntax (Foo.count)
getCount() - Method in GormStaticApi
Same as count() but allows property-style syntax (Foo.count)
getCount() - Method in GormStaticOperations
Same as count() but allows property-style syntax (Foo.count)
getCount() - Method in TenantDelegatingGormOperations
getCreator() - Method in SessionHolder
getCriteria() - Method in AbstractDetachedCriteria
getCriteria() - Method in AssociationCriteria
getCriteria() - Method in DynamicFinderInvocation
getCriteria() - Method in Query
@return The criteria defined by this query
getCriteria() - Method in Query.Junction
getCriteria() - Method in QueryableCriteria
@return A list of all criteria
getCurrent() - Method in GrailsVersion
@return Obtains the current Grails version
getCurrentSession() - Method in AbstractDatastore
getCurrentSession() - Method in Datastore
Obtains the current session (if any)
getCurrentVersion(EntityAccess) - Method in EntityPersister
getCursor() - Method in AbstractResultList
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 AbstractDatastoreApi
getDatastore() - Method in DatastoreTransactionManager
getDatastore() - Method in OpenSessionInViewInterceptor
getDatastore() - Method in Session
The Datastore that created this Session
getDatastoreForConnection(String) - Method in MultipleConnectionSourceCapableDatastore
Lookup a Datastore by ConnectionSource name
getDatastoreForConnection(String) - Method in SimpleMapDatastore
getDatastoreForTenantId(Serializable) - Method in MultiTenantCapableDatastore
Obtains the datastore for the given tenant id.
getDatastoreForTenantId(Serializable) - Method in SimpleMapDatastore
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.
getDecorators() - Method in AsyncQuery
getDecorators() - Method in GormAsyncStaticApi
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.
getDefaultConstraints() - Method in ConstraintsEvaluator
The default constraints to use
getDefaultConstraints() - Method in DefaultConstraintEvaluator
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
getDefaultMessage(String) - Method in AbstractConstraint
Returns the default message for the given message code in the current locale.
getDetachedCriteria() - Method in DynamicFinderInvocation
getDetachedCriteriaType(ClassNode) - Method in AbstractDetachedCriteriaServiceImplementor
getDetachedCriteriaType(ClassNode) - Method in AbstractWhereImplementer
getDirectChildEntities(PersistentEntity) - Method in AbstractMappingContext
getDirectChildEntities(PersistentEntity) - Method in MappingContext
Obtains only the direct children (1 level down) for the given root entity
getDirection() - Method in Query.Order
@return The direction order by
getDirtyCheckingState(Object) - Method in EntityReflector
@return Obtains the dirty checking state for the given entity
getDirtyPropertyNames() - Method in GormEntity
Obtains a list of property names that are dirty.
getDirtyPropertyNames(D) - Method in GormInstanceApi
Obtains a list of property names that are dirty
getDiscriminator() - Method in AbstractPersistentEntity
getDiscriminator() - Method in PersistentEntity
The discriminator used when persisting subclasses of an inheritance hierarchy
getDriverClassName() - Method in DatabaseDriver
Return the driver class name.
getDynamicFinderPrefix() - Method in CountByImplementer
getDynamicFinderPrefix() - Method in FindAllByImplementer
getDynamicFinderPrefix() - Method in FindOneByImplementer
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.
getEmbedded(Map, String) - Method in SimpleMapEntityPersister
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
getEntityTrait() - Method in GormEntityTraitProvider
getEntityValidator(PersistentEntity) - Method in AbstractMappingContext
Retrieves a validator for an entity
getEntityValidator(PersistentEntity) - Method in MappingContext
Obtains a validator for the given entity
getEntryValue(T, String) - Method in NativeEntryEntityPersister
Reads a value for the given key from the native entry
getEntryValue(Map, String) - Method in SimpleMapEntityPersister
getEnumType() - Method in Property
@return The type of the enum, either ordinal or string
getEnumTypeObject() - Method in Property
@return The type of the enum, either ordinal or string
getErrors() - Method in GormValidateable
Obtains the errors for an instance
getErrors(D) - Method in GormValidationApi
Obtains the errors for an instance
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
getExpressions() - Method in DynamicFinderInvocation
getExtendedMethods() - Method in AbstractGormApi
getFactory() - Method in AbstractConnectionSources
getFactory() - Method in ConnectionSources
@return The factory used to create new connections
getFallBackValue(def, String) - Method in ConfigurationBuilder
getFamily(PersistentEntity, ClassMapping<Family>) - Method in AbstractKeyValueEntityPersister
getFamily() - Method in KeyValueEntry
getFamily(PersistentEntity) - Method in SimpleMapQuery
getFetchMode(Object) - Method in DynamicFinder
Retrieves the fetch mode for the specified instance; otherwise returns the default FetchMode.
getFetchStrategies() - Method in AbstractDetachedCriteria
@return Obtain the fetch strategies for each property
getFetchStrategy() - Method in Association
@return The fetch strategy for the association
getFinders() - Method in GormEnhancer
getFindMethodToInvoke(ClassNode, MethodNode, ClassNode) - Method in FindOneStringQueryImplementer
getFlushMode() - Method in Session
Obtains the current FlushModeType
getFormat() - Method in Constrained
@return The format of the value
getFrom() - Method in Query.Between
getFromTPCache(PersistentEntity, Serializable) - Method in ThirdPartyCacheEntityPersister
getFunctionName() - Method in FunctionCallingCriterion
getFurthestUnresolvedParent(ClassNode) - Method in AstUtils
getGenerator() - Method in IdentityMapping
@return The type of value generated used
getGenericType(Class) - Method in MappingUtils
getGenericTypeForMapProperty(Class, String, boolean) - Method in MappingUtils
getGenericTypeForProperty(Class, String) - Method in MappingUtils
getGetterAndSetterForPropertyName(LinkedHashMap<String, GetterAndSetter>, String) - Method in DirtyCheckingTransformer
getGetterName(String) - Method in MappingUtils
Calculate the name for a getter method to retrieve the specified property
getGetterName(String, boolean) - Method in NameUtils
Retrieves the name of a setter for the specified property name
getGormDynamicFinders() - Method in GormEntity
getGormDynamicFinders() - Method in GormStaticApi
getGormDynamicFinders() - Method in GormStaticOperations
@return The GORM dynamic finders
getGormDynamicFinders() - Method in TenantDelegatingGormOperations
getGormPersistentEntity() - Method in GormEntity
@return The PersistentEntity for this class
getGormPersistentEntity() - Method in GormStaticApi
@return The PersistentEntity for this class
getGormPersistentEntity() - Method in GormStaticOperations
@return The PersistentEntity for this class
getGormPersistentEntity() - Method in TenantDelegatingGormOperations
getGrailsApplicationClass() - Method in AbstractDatastoreInitializer
getGrailsValidatorClass() - Method in AbstractDatastoreInitializer
getHandledPrefixes() - Method in AbstractStringQueryImplementer
getHandledPrefixes() - Method in AbstractWhereImplementer
getHandledPrefixes() - Method in CountByImplementer
getHandledPrefixes() - Method in CountImplementer
getHandledPrefixes() - Method in DeleteImplementer
getHandledPrefixes() - Method in DeleteWhereImplementer
getHandledPrefixes() - Method in FindAllByImplementer
getHandledPrefixes() - Method in FindAllImplementer
getHandledPrefixes() - Method in FindAllPropertyProjectionImplementer
getHandledPrefixes() - Method in FindAndDeleteImplementer
getHandledPrefixes() - Method in FindOneByImplementer
getHandledPrefixes() - Method in FindOneImplementer
getHandledPrefixes() - Method in FindOnePropertyProjectionImplementer
getHandledPrefixes() - Method in PrefixedServiceImplementer
@return The handled prefixes
getHandledPrefixes() - Method in SaveImplementer
getHandledPrefixes() - Method in UpdateOneImplementer
getIdDynamic(def) - Method in GroovyProxyFactory
getIdentifier() - Method in AbstractClassMapping
getIdentifier() - Method in BeanEntityAccess
getIdentifier() - Method in ClassMapping
Returns details of the identifier used for this class
getIdentifier() - Method in DocumentPersistentEntity.DocumentCollectionMapping
getIdentifier() - Method in EntityAccess
@return Obtains the value of the entity identifier
getIdentifier(Object) - Method in EntityProxyHandlerAdapter
getIdentifier(Object) - Method in EntityReflector
@return Obtain the identifier
getIdentifier() - Method in FieldEntityAccess
getIdentifier(Object) - Method in GroovyProxyFactory
getIdentifier(Object) - Method in JavassistProxyFactory
getIdentifier(Object) - Method in ProxyHandler
Obtains the identifier of an object without initializing the proxy if it is one
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
getIndices() - Method in SimpleMapDatastore
getInList() - Method in Constrained
@return Constrains the be within the list of given values
getInList() - Method in DefaultConstrainedProperty
@return Returns the inList.
getInstanceApi(Class<D>, String) - Method in GormEnhancer
getInstanceMethodApiProviders(Class<D>) - Method in GormEnhancer
getInstancePropertyValue(Object, String) - Method in ClassPropertyFetcher
getInversePropertyName() - Method in ManyToMany
getInverseSide() - Method in Association
@return The 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 DynamicFinderInvocation
getJavaClass() - Method in PersistentEntity
@return The underlying Java class for this entity
getJoinTypes() - Method in AbstractDetachedCriteria
@return Obtain the join types
getKey() - Method in KeyValue
getKey() - Method in OptimisticLockingException
getKey() - Method in ProxyInstanceMetaClass
getKeyspace(ClassMapping<Family>, String) - Method in AbstractKeyValueEntityPersister
getKeyspace() - Method in KeyValueMappingContext
getKnownEntityNames() - Method in AstUtils
@return The names of the transformed entities for this context
getKnownEntityNames() - Method in GormTransformer
getLazy() - Method in Property
getList() - Method in InListConstraint
@return Returns the list.
getManyToManyKeys(PersistentEntity, Object, Serializable, T, ManyToMany) - Method in NativeEntryEntityPersister
getManyToManyKeys(PersistentEntity, Object, Serializable, Map, ManyToMany) - Method in SimpleMapEntityPersister
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
getMatches() - Method in Constrained
@return The string this constrained matches
getMatches() - Method in DefaultConstrainedProperty
@return Returns the matches.
getMax() - Method in Constrained
@return Returns the maximum possible value.
getMax() - Method in DefaultConstrainedProperty
@return Returns the max.
getMaximumNumberOfParameters() - Method in MethodInvokingClosure
getMaxSize() - Method in Constrained
@return The maximum size
getMaxSize() - Method in DefaultConstrainedProperty
@return Returns the maxSize.
getMaxSize() - Method in MaxSizeConstraint
@return Returns the maxSize.
getMaxValue() - Method in MaxConstraint
@return Returns the maxValue.
getMessage() - Method in ValidationException
getMessageInterpolator() - Method in GormValidatorFactoryAdapter
getMessageInterpolator() - Method in JavaxValidatorRegistry
getMessageSource() - Method in BeanFactoryValidatorRegistry
getMessageSource() - Method in ValidatorRegistry
@return The message source used by this registry
getMetaConstraints() - Method in DefaultConstrainedProperty
@return Returns the metaConstraints.
getMetaConstraintValue(String) - Method in DefaultConstrainedProperty
Obtains the value of the named meta constraint.
getMetaProperties() - Method in ClassPropertyFetcher
@return The meta properties of this class
getMethodName() - Method in DynamicFinderInvocation
getMethods() - Method in AbstractGormApi
getMilestoneVersion() - Method in Snapshot
getMin() - Method in Constrained
@return Returns the minimum possible value.
getMin() - Method in DefaultConstrainedProperty
@return Returns the min.
getMinSize() - Method in Constrained
@return The minimum size
getMinSize() - Method in DefaultConstrainedProperty
@return Returns the minSize.
getMinSize() - Method in MinSizeConstraint
@return Returns the minSize.
getMinValue() - Method in MinConstraint
@return Returns the minValue.
getMultiTenancyMode() - Method in AbstractMappingContext
getMultiTenancyMode() - Method in MappingContext
@return The multi tenancy mode
getMultiTenancyMode() - Method in MultiTenantCapableDatastore
@return The multi tenancy mode
getMultiTenancyMode() - Method in SimpleMapDatastore
getName() - Method in AbstractPersistentEntity
getName() - Method in AbstractPersistentProperty
getName() - Method in BlankConstraint
getName() - Method in ConnectionSource
@return The name of the connection source
getName() - Method in Constraint
@return The name of the constraint
getName() - Method in ConstraintFactory
@return The name of the constraint
getName() - Method in CreditCardConstraint
getName() - Method in DefaultConnectionSource
getName() - Method in EmailConstraint
getName() - Method in InListConstraint
getName() - Method in MatchesConstraint
getName() - Method in MaxConstraint
getName() - Method in MaxSizeConstraint
getName() - Method in MinConstraint
getName() - Method in MinSizeConstraint
getName() - Method in NotEqualConstraint
getName() - Method in NullableConstraint
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 RangeConstraint
getName() - Method in ScaleConstraint
getName() - Method in ServiceDefinition
@return The full class name of the service
getName() - Method in SizeConstraint
getName() - Method in UniqueConstraint
getName() - Method in UrlConstraint
getName() - Method in ValidatorConstraint
getNamedQuery(String, Object) - Method in GormEntity
Looks up a named query
getNativeEntry() - Method in PendingOperation
@return The native entry to persist
getNativeEntry() - Method in PendingOperationAdapter
getNativeEvent() - Method in AbstractPersistenceEvent
getNativeInterface() - Method in Session
@return The native interface to the datastore
getNativeInterface() - Method in SimpleMapSession
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.
getNotEqual() - Method in Constrained
@return The value this constrained should not be equal to
getNotEqual() - Method in DefaultConstrainedProperty
@return Returns the notEqual.
getNotEqualTo() - Method in NotEqualConstraint
@return Returns the notEqualTo.
getObject() - Method in InstanceFactoryBean
getObject() - Method in PendingDeleteAdapter
getObject() - Method in PendingInsertAdapter
getObject() - Method in PendingOperation
@return The target object of the pending operation
getObject() - Method in PendingOperationAdapter
getObject() - Method in PendingUpdateAdapter
getObject() - Method in ServiceRegistryFactoryBean
getObjectIdentifier(Object) - Method in 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
getObjectType() - Method in InstanceFactoryBean
getObjectType() - Method in ServiceRegistryFactoryBean
getOperator() - Method in DynamicFinderInvocation
getOrCreateAssociatedEntity(PersistentEntity, MappingContext, Class) - Method in GormMappingConfigurationStrategy
Tries to obtain or create an associated entity.
getOrCreateEmbeddedEntity(PersistentEntity, MappingContext, Class) - Method in GormMappingConfigurationStrategy
Tries to obtain or create an embedded entity.
getOrCreateListProperty(ClassNode, String) - Method in GormEntityTransformation
getOrder() - Method in AbstractPersistenceEventListener
getOrder() - Method in AbstractProjectionImplementer
getOrder() - Method in AbstractServiceImplementer
getOrder() - Method in AbstractStringQueryImplementer
getOrder() - Method in AbstractWhereImplementer
getOrder() - Method in Constrained
@return The order of the value
getOrder() - Method in DeleteWhereImplementer
getOrder() - Method in FindAllByImplementer
getOrder() - Method in MultiTenantEventListener
getOrder(Object) - Method in OrderedComparator
Determine the order value for the given object.
getOrder() - Method in TenantTransform
getOrder() - Method in TransactionalTransform
getOrderBy() - Method in Query
Gets the Order entries for this query
getOrders() - Method in AbstractDetachedCriteria
getOriginalSize() - Method in AbstractPersistentCollection
getOriginalSize() - Method in DirtyCheckableCollection
@return The previous size of the collection prior to any changes
getOriginalValue(String) - Method in DirtyCheckable
Returns the original value of the property prior to when trackChanges() was called
getOrInitializePropertyConfig(String) - Method in Entity
getOrIntializeReflector(PersistentEntity) - Method in FieldEntityAccess
getOtherProperty() - Method in Query.PropertyComparisonCriterion
getOwner() - Method in AbstractPersistentProperty
getOwner() - Method in Constrained
@return The owning class
getOwner() - Method in ConstrainedProperty
@return The owner
getOwner() - Method in DefaultConstrainedProperty
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.
getParameter() - Method in AbstractConstraint
getParameter() - Method in BlankConstraint
getParameter() - Method in Constraint
@return The parameter to the constraint
getParameterizedDetachedCriteriaClassNode(ClassNode) - Method in DetachedCriteriaTransformer
getParameterNameProvider() - Method in GormValidatorFactoryAdapter
getParameterNameProvider() - Method in JavaxValidatorRegistry
getParameterNames(Method) - Method in ConfigurableParameterNameProvider
getParameters() - Method in JpaQueryInfo
getParameterTypes() - Method in MethodInvokingClosure
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
getPersistenceInterceptorClass() - Method in AbstractDatastoreInitializer
@return The class used to define the persistence interceptor
getPersistentClass() - Method in AbstractDetachedCriteria
getPersistentClass() - Method in GormOperations
@return The class these operations apply to
getPersistentEntities() - Method in AbstractMappingContext
getPersistentEntities() - Method in MappingContext
Obtains a list of PersistentEntity instances
getPersistentEntity() - Method in AbstractDetachedCriteria
getPersistentEntity(String) - Method in AbstractMappingContext
getPersistentEntity() - Method in BeanEntityAccess
getPersistentEntity() - Method in EntityAccess
@return The PersistentEntity instance
getPersistentEntity() - Method in EntityPersister
@return The PersistentEntity instance
getPersistentEntity() - Method in FieldEntityAccess
getPersistentEntity(String) - Method in MappingContext
Obtains a PersistentEntity by name
getPersistentEntity() - Method in OptimisticLockingException
getPersistentEntity() - Method in QueryableCriteria
@return The target entity
getPersistentProperties() - Method in AbstractPersistentEntity
getPersistentProperties(PersistentEntity, MappingContext, ClassMapping) - Method in GormMappingConfigurationStrategy
getPersistentProperties(PersistentEntity, MappingContext, ClassMapping, boolean) - Method in JpaMappingConfigurationStrategy
getPersistentProperties(Class, MappingContext, ClassMapping) - Method in MappingConfigurationStrategy
Obtains a List of PersistentProperty instances for the given Mapped class
getPersistentProperties() - Method in PersistentEntity
A list of properties to be persisted
getPersistentPropertyNames() - Method in AbstractPersistentEntity
getPersistentPropertyNames() - Method in PersistentEntity
A list of property names that a persistent
getPersistentValue(String) - Method in GormEntity
Gets the original persisted value of a field.
getPersistentValue(D, String) - Method in GormInstanceApi
Gets the original persisted value of a field.
getPersister(Object) - Method in 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
getProjectionName() - Method in AbstractProjectionImplementer
getProjections() - Method in AbstractDetachedCriteria
getProjections() - Method in QueryableCriteria
getProperties() - Method in DefaultMappingConfigurationBuilder
getProperties() - Method in MappingConfigurationBuilder
@return The build property definitions
getPropertiesAssignableFromType(Class) - Method in ClassPropertyFetcher
getPropertiesAssignableToType(Class) - Method in ClassPropertyFetcher
getPropertiesOfType(Class) - Method in ClassPropertyFetcher
getPropertiesOfType(Class<?>, Class<?>) - Method in ReflectionUtils
Retrieves all the properties of the given class for the given type
getProperty(String) - Method in BeanEntityAccess
getProperty(String) - Method in ConstrainedPropertyBuilder
getProperty(String) - Method in EntityAccess
Obtains a property value
getProperty(Object, String) - Method in EntityReflector
Get a property for the specified index
getProperty(String) - Method in FieldEntityAccess
getProperty(Object, String) - Method in GroovyObjectMethodHandler
getProperty(String) - Method in InstanceProxy
getProperty(String) - Method in ModificationTrackingEntityAccess
getProperty(Object, String) - Method in ProxyInstanceMetaClass
getProperty() - Method in Query.Between
getProperty() - Method in Query.Order
@return The property name to order by
getProperty() - Method in Query.PropertyNameCriterion
getPropertyAfterResolving(Object, String) - Method in GroovyObjectMethodHandler
getPropertyBeforeResolving(Object, String) - Method in EntityProxyMethodHandler
getPropertyBeforeResolving(Object, String) - Method in GroovyObjectMethodHandler
getPropertyByName(String) - Method in AbstractPersistentEntity
getPropertyByName(String) - Method in KeyValuePersistentEntity
getPropertyByName(String) - Method in PersistentEntity
Obtains a PersistentProperty instance by name
getPropertyConfig(String) - Method in Entity
Get a property config
getPropertyConfigs() - Method in Entity
@return The property configurations
getPropertyCriterion() - Method in FunctionCallingCriterion
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
getPropertyIndexer(PersistentProperty) - Method in SimpleMapEntityPersister
getPropertyKey(PersistentProperty) - Method in NativeEntryEntityPersister
getPropertyMappedFormType() - Method in AbstractGormMappingFactory
getPropertyMappedFormType() - Method in GormDocumentMappingFactory
getPropertyMappedFormType() - Method in GormKeyValueMappingFactory
getPropertyName() - Method in AbstractConstraint
getPropertyName() - Method in ConstrainedProperty
@return The name of the property constrained
getPropertyName() - Method in Constraint
@return The property name of the constraint
getPropertyName() - Method in MethodExpression
getPropertyName() - Method in Query.PropertyProjection
getPropertyNameForGetterOrSetter(String) - Method in NameUtils
Returns the property name for a getter or setter
getPropertyNames(ClassNode) - Method in AstPropertyResolveUtils
Resolves the property names for the given class node
getPropertyNames() - Method in EntityReflector
@return The property names
getPropertyNames() - Method in MatchSpec
getPropertyReader(String) - Method in EntityReflector
@param name Obtains the property reader for the given property
getPropertyType(ClassNode, String) - Method in AstPropertyResolveUtils
Resolves the type of of the given property
getPropertyType(ClassNode, String) - Method in AstUtils
Returns the property type if it exists
getPropertyType(String) - Method in BeanEntityAccess
getPropertyType(Class<?>, String) - Method in ClassPropertyFetcher
getPropertyType() - Method in ConstrainedProperty
@return Returns the propertyType.
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 EntityProxyHandlerAdapter
getProxiedClass(Object) - Method in GroovyProxyFactory
getProxiedClass(Object) - Method in JavassistProxyFactory
getProxiedClass(Object) - Method in ProxyHandler
Get the class being proxied
getProxiedClass(Object) - Method in ProxyHandlerAdapter
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
getProxyIdentifier(Object) - Method in ProxyHandlerAdapter
getProxyInstance(Session, Class, Serializable) - Method in JavassistProxyFactory
getProxyInstanceMetaClass(def) - Method in GroovyProxyFactory
getProxyInterfaces() - Method in JavassistProxyFactory
getProxyKey(Object) - Method in AssociationQueryProxyHandler
getProxyKey() - Method in EntityProxy
@return The identifier
getProxyKey(Object) - Method in EntityProxyMethodHandler
getProxyKey(Object) - Method in SessionEntityProxyMethodHandler
getProxyTarget(Object) - Method in EntityProxyMethodHandler
getProxyTarget() - Method in ProxyInstanceMetaClass
Load the target from the DB.
getQuery() - Method in AbstractCriteriaBuilder
getQuery() - Method in AbstractQueryEvent
Get the query from the event.
getQuery() - Method in JpaQueryInfo
getQueryMethodToExecute(ClassNode, MethodNode) - Method in AbstractWhereImplementer
getQueryMethodToExecute(ClassNode, MethodNode) - Method in CountWhereImplementer
getQueryMethodToExecute(ClassNode, MethodNode) - Method in DeleteWhereImplementer
getQueryMethodToExecute(ClassNode, MethodNode) - Method in FindAllWhereImplementer
getQueryMethodToInvoke(ClassNode, MethodNode) - Method in AbstractProjectionImplementer
getQueryMethodToInvoke(ClassNode, MethodNode) - Method in FindAllPropertyProjectionImplementer
getRange() - Method in Constrained
@return Constrains the be within the range of given values
getRange() - Method in DefaultConstrainedProperty
@return Returns the range.
getRange() - Method in RangeConstraint
@return Returns the range.
getRange() - Method in SizeConstraint
@return Returns the range.
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
getRegex() - Method in MatchesConstraint
@return Returns the regex.
getReleaseCandidateVersion() - Method in Snapshot
getRenamedMethodPrefix() - Method in AbstractMethodDecoratingTransformation
getRenamedMethodPrefix() - Method in TenantTransform
getRenamedMethodPrefix() - Method in TransactionalTransform
getResource() - Method in AnnotationMetadataReader
getResults() - Method in PostQueryEvent
Returns:
The results of the query.
getRootEntity() - Method in AbstractPersistentEntity
getRootEntity() - Method in PersistentEntity
Obtains the root entity of an inheritance hierarchy
getScale() - Method in Constrained
@return The scale for decimal values
getScale() - Method in DefaultConstrainedProperty
@return The scale, if defined for this property; null, otherwise
getScale() - Method in ScaleConstraint
@return the scale
getService(Class<T>) - Method in AbstractDatastore
getService(Class<T>) - Method in DefaultServiceRegistry
getService(Class<T>) - Method in ServiceRegistry
Obtain a service for the given interface
getServices() - Method in AbstractDatastore
getServices() - Method in DefaultServiceRegistry
getServices() - Method in ServiceRegistry
@return An iterable of the available services
getSession() - Method in AbstractDatastorePersistenceContextInterceptor
getSession(Datastore, boolean) - Method in DatastoreUtils
Get a Datastore Session for the given Datastore.
getSession() - Method in EntityPersister
getSession() - Method in 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
getSharedConstraint(String) - Method in ConstrainedPropertyBuilder
getSize() - Method in Constrained
@return A range which represents the size constraints from minimum to maximum value
getSize() - Method in DefaultConstrainedProperty
@return Returns the size.
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
getSourceUnit() - Method in DetachedCriteriaTransformer
getStaticApi(Class<D>, String) - Method in GormEnhancer
getStaticPropertyValue(Class, String, Class<T>) - Method in ClassPropertyFetcher
getStaticPropertyValuesFromInheritanceHierarchy(Class, String, Class<T>) - Method in ClassPropertyFetcher
Get the list of property values for this static property from the whole inheritance hierarchy, starting from the most derived version of the property ending with the base class.
getSubquery() - Method in Query.Exists
getSubquery() - Method in Query.In
getSubquery() - Method in Query.NotExists
getSubquery() - Method in Query.NotIn
getSystemOffset() - Method in TemporalConverter
getTarget() - Method in EntityProxy
Obtains the target performing initialization if necessary
getTargetClass() - Method in AbstractCriteriaBuilder
getTargetClass() - Method in BuildableCriteria
@return The class the criteria applies to
getTargetKey(PersistentProperty) - Method in MappingUtils
getTargetType() - Method in AbstractMappingAwareCustomTypeMarshaller
getTargetType() - Method in 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
getTenantResolver() - Method in SimpleMapDatastore
getter() - Method in EntityReflector.PropertyReader
@return The getter
getThisMetaClass() - Method in GroovyObjectMethodHandler
getTimestampProvider() - Method in AutoTimestampEventListener
getTimestampProviders() - Method in AggregateTimestampProvider
getTo() - Method in Query.Between
getTotalCount() - Method in PagedResultList
@return The total number of records for this query
getTPCacheAdapter(PersistentEntity) - Method in TPCacheAdapterRepository
Returns TPCacheAdapter for the specified PersistentEntity.
getTPCacheAdapter(PersistentEntity) - Method in TPCacheAdapterRepositoryImpl
getTrait() - Method in EntityTraitInjector
getTraitClass() - Method in AbstractTraitApplyingGormASTTransformation
getTraitClass() - Method in ServiceTransformation
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 SimpleMapDatastore
getTransactionManager() - Method in TransactionCapableDatastore
@return The transaction manager for this datastore
getTransactionTemplateMethodName() - Method in RollbackTransform
getTransactionTemplateMethodName() - Method in TransactionalTransform
getTraversableResolver() - Method in GormValidatorFactoryAdapter
getTraversableResolver() - Method in JavaxValidatorRegistry
getType() - Method in AbstractPersistentProperty
getType() - Method in ConstraintFactory
@return The type of the constraint
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
getValidationApi(Class<D>, String) - Method in GormEnhancer
getValidationQuery() - Method in DatabaseDriver
Return the validation query.
getValidator(PersistentEntity) - Method in BeanFactoryValidatorRegistry
getValidator(PersistentEntity) - Method in DefaultValidatorRegistry
getValidator() - Method in GormValidationApi
getValidator() - Method in GormValidatorFactoryAdapter
getValidator() - Method in GormValidatorFactoryAdapter.GormValidatorContext
getValidator() - Method in JavaxValidatorRegistry
getValidator() - Method in ValidatorProvider
@return The validator
getValidator(PersistentEntity) - Method in ValidatorRegistry
Looks up a validator for the given entity
getValidatorFactory() - Method in ValidatedService
@return The validator factory for this service
getValidatorRegistry() - Method in AbstractMappingContext
getValidatorRegistry() - Method in MappingContext
@return Gets the validation registry used by this MappingContext
getValidProperty(def) - Method in SimpleMapQuery
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.
getWidget() - Method in Constrained
@return The widget of the property
getWriter() - Method in AbstractPersistentProperty
getWriter() - Method in PersistentProperty
@return The writer for this property
getXaDataSourceClassName() - Method in DatabaseDriver
Return the XA driver source class name.
GlobalDetachedCriteriaASTTransformation - Class in org.grails.datastore.gorm.query.transform
Global version of the detached query transformer
GlobalJpaEntityTransform - Class in org.grails.compiler.gorm
Makes all entities annotated with @Entity JPA into GORM entities
GlobalTraitRepairTransformation - Class in org.grails.compiler.gorm
Repairs the AST due to bugs in the way org.codehaus.groovy.transform.trait.TraitComposer works.
GormAllOperations - Interface in grails.gorm.api
All GORM operations
GormASTTransformationClass - Annotation Type in org.grails.datastore.gorm.transform
U
GormAsyncStaticApi - Class in org.grails.datastore.gorm.async
Transforms the GormStaticApi into an asynchronous API
GormAsyncStaticApi(GormStaticApi<D>) - Constructor in GormAsyncStaticApi
GormDocumentMappingFactory - Class in org.grails.datastore.mapping.document.config
gormDynamicFinders - Field in GormStaticApi
GormEnhancer - Class in org.grails.datastore.gorm
Enhances a class with GORM behavior
GormEnhancer(Datastore, PlatformTransactionManager, ConnectionSourceSettings) - Constructor in GormEnhancer
Construct a new GormEnhancer for the given arguments
gormEnhancer - Field in SimpleMapDatastore
GormEntity - Trait in org.grails.datastore.gorm
A trait that turns any class into a GORM entity
GormEntityApi - Interface in org.grails.datastore.gorm
API for instance methods defined by a GORM entity
GormEntityTraitProvider - Interface in org.grails.compiler.gorm
Provides the implementation to use for the GormEntity trait
GormEntityTransformation - Class in org.grails.compiler.gorm
An AST transformation that adds the following features:

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

H

handleEmbeddedInstance(Association, Object, boolean) - Method in NativeEntryEntityPersister
handleEmbeddedToMany(EntityAccess, T, PersistentProperty, String) - Method in NativeEntryEntityPersister
handleEmbeddedToOne(Association, String, EntityAccess, T) - Method in NativeEntryEntityPersister
handleInvocation(Object, Method, Object) - Method in EntityProxyMethodHandler
handleInvocation(Object, Method, Object) - Method in GroovyObjectMethodHandler
handleInvocationFallback(Object, Method, Object) - Method in AssociationQueryProxyHandler
handleInvocationFallback(Object, Method, Object) - Method in EntityProxyMethodHandler
handleInvocationFallback(Object, Method, Object) - Method in SessionEntityProxyMethodHandler
handleJunction(Closure) - Method in AbstractDetachedCriteria
handleJunction(Closure) - Method in DetachedCriteria
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
hasAppliedConstraint(String) - Method in Constrained
Whether the given constraint has been applied
hasAppliedConstraint(String) - Method in ConstrainedProperty
@param constraintName The name of the constraint to check
hasAppliedConstraint(String) - Method in DefaultConstrainedProperty
@param constraintName The name of the constraint to check
hasBoth() - Method in DirtyCheckingTransformer.GetterAndSetter
hasChanged() - Method in AbstractPersistentCollection
hasChanged(String) - Method in DirtyCheckable
@param propertyName The name of the property
hasChanged() - Method in DirtyCheckableCollection
@return True if the collection has changed
hasChanged() - Method in DirtyCheckingCollection
hasChanged() - Method in DirtyCheckingMap
hasChangedElements() - Method in DirtyCheckingCollection
hasChangedSize() - Method in AbstractPersistentCollection
hasChangedSize() - Method in DirtyCheckableCollection
@return True if the collection has changed size
hasChangedSize() - Method in DirtyCheckingCollection
hasChangedSize() - Method in DirtyCheckingMap
hasCurrentSession() - Method in AbstractDatastore
hasCurrentSession() - Method in Datastore
Checks if there is a current session.
hasDatastore - Field in GormValidationApi
hasDateCreated(String) - Method in AutoTimestampEventListener
hasErrors() - Method in GormValidateable
Tests whether an instance has any errors
hasErrors(D) - Method in GormValidationApi
Tests whether an instance has any errors
hasExcludedAnnotation(MethodNode, Set<String>) - Method in AbstractMethodDecoratingTransformation
hasExcludedAnnotation(MethodNode) - Method in TransactionalTransform
hasGrown() - Method in AbstractPersistentCollection
hasGrown() - Method in DirtyCheckableCollection
@return True if the collection has grown
hasGrown() - Method in DirtyCheckingCollection
hasGrown() - Method in DirtyCheckingMap
hashCode() - Method in AbstractPersistentCollection
hashCode() - Method in AbstractPersistentEntity
hashCode() - Method in PagedResultList
HashMapTPCacheAdapter - Class in org.grails.datastore.mapping.cache.impl
Simple implementation of TPCacheAdapter backed by a local hash map.
hasJunitAnnotation(MethodNode) - Method in AstAnnotationUtils
Whether the method node has any JUnit annotations
hasJunitAnnotation(MethodNode) - Method in AstUtils
Whether the method node has any JUnit annotations
hasLastUpdated(String) - Method in AutoTimestampEventListener
hasNeither() - Method in DirtyCheckingTransformer.GetterAndSetter
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
hasSessionBound() - Method in OpenSessionInViewInterceptor
hasShrunk() - Method in AbstractPersistentCollection
hasShrunk() - Method in DirtyCheckableCollection
@return True if the collection has shrunk
hasShrunk() - Method in DirtyCheckingCollection
hasShrunk() - Method in DirtyCheckingMap
hasTenantAnnotation(AnnotatedNode) - Method in TenantTransform
Whether the given node is Multi Tenant
hasTransaction() - Method in Session
@return Whether the current session has an active transaction
hasTransactionalAnnotation(AnnotatedNode) - Method in TransactionalTransform
Whether the given method has a transactional annotation
HEADER_NAME - Field in HttpHeaderTenantResolver
headSet(Object) - Method in PersistentSortedSet
HIGHEST_PRECEDENCE - Field in OrderedComparator
Useful constant for the highest precedence value.
HttpHeaderTenantResolver - Class in org.grails.datastore.mapping.multitenancy.web
A tenant resolver that resolves the tenant from the request HTTP Header

I

id() - Method in AbstractCriteriaBuilder
id() - Method in AbstractDetachedCriteria
Adds an id projection
id() - Method in AbstractDetachedCriteria.DetachedProjections
id() - Method in DetachedCriteria
Adds an id projection
id(Closure) - Method in Entity
Define the identity config
ID_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
ident() - Method in DelegatingGormEntityApi
ident() - Method in GormEntity
Returns the objects identifier
ident() - Method in GormEntityApi
Returns the objects identifier
ident(D) - Method in GormInstanceApi
Returns the objects identifier
ident(D) - Method in GormInstanceOperations
Returns the objects identifier
ident(D) - Method in GormStaticApi
ident(D) - Method in TenantDelegatingGormOperations
identifierType() - Method in EntityReflector
@return The identity type
Identity - Class in org.grails.datastore.mapping.model.types
Represents the identity of a persistent entity
identity - Field in AbstractPersistentEntity
IDENTITY - 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 AbstractCriteriaBuilder
Creates an "equals" Criterion based on the specified property name and value.
idEq(Object) - Method in AbstractDetachedCriteria
@see Criteria
idEq(Object) - Method in Criteria
Creates an "equals" Criterion based on the specified property name and value
idEq(Object) - Method in DetachedCriteria
idEq(Object) - Method in Query
Restricts the results by the given properties value
idEq(Object) - Method in Restrictions
Restricts the property to be equal to the given value
idEquals(Object) - Method in AbstractCriteriaBuilder
idEquals(Object) - Method in AbstractDetachedCriteria
@see Criteria
idEquals(Object) - Method in Criteria
Creates a criterion that restricts the id to the given value
idEquals(Object) - Method in DetachedCriteria
ignoreCase() - Method in Query.Order
Whether to ignore the case for this order definition
ilike(String, Object) - Method in AbstractCriteriaBuilder
Creates an ilike Criterion based on the specified property name and value.
ilike(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
ilike(String, Object) - Method in Criteria
Creates an ilike Criterion based on the specified property name and value.
ilike(String, Object) - Method in DetachedCriteria
ilike(String, String) - Method in Query
Restricts the results by the given properties value
ilike(String, String) - Method in Restrictions
Case insensitive like
IllegalMappingException - Class in org.grails.datastore.mapping.model
Thrown when an error occurs reading the mapping between object and datastore.
IllegalMappingException(String) - Constructor in IllegalMappingException
implement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractReadOperationImplementer
implement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in AbstractWriteOperationImplementer
implement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in MethodValidationImplementer
implement(ClassNode, MethodNode, MethodNode, ClassNode) - Method in ServiceImplementer
Implement the method
implementById(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, Expression) - Method in AbstractDetachedCriteriaServiceImplementor
Provide an implementation in the case querying for a single instance by id
implementById(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, Expression) - Method in AbstractProjectionImplementer
implementById(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, Expression) - Method in CountImplementer
implementById(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, Expression) - Method in DeleteImplementer
implementById(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, Expression) - Method in FindAllImplementer
implementById(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, Expression) - Method in FindOneImplementer
Implemented - Annotation Type in org.grails.datastore.gorm.services
Annotation added by the Service transformation to know which class implemented a method
implementers - Field in Service
@default {}
Returns:
Any additional implementers to apply
implementsInterface(ClassNode, ClassNode) - Method in AstUtils
Whether the given class node implements the given interface node
implementsOrInheritsZeroArgMethod(ClassNode, String) - Method in AstUtils
implementsZeroArgMethod(ClassNode, String) - Method in AstUtils
Tests whether the ClasNode implements the specified method name.
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in AbstractDetachedCriteriaServiceImplementor
Provide an implementation in the case of a query
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in AbstractProjectionImplementer
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in CountImplementer
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in DeleteImplementer
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in FindAllImplementer
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in FindAllInterfaceProjectionImplementer
implementWithQuery(ClassNode, MethodNode, MethodNode, ClassNode, BlockStatement, VariableExpression, Expression) - Method in FindOneImplementer
in(String, Object) - Method in AbstractCriteriaBuilder
Creates an "in" Criterion based on the specified property name and list of values.
in(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
in(String, Object) - Method in Criteria
Creates an "in" Criterion based on the specified property name and list of values
in(String, Object) - Method in DetachedCriteria
in(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
indexIdentifier(PersistentEntity, def) - Method in SimpleMapEntityPersister
indexOf(Object) - Method in PagedResultList
indexOf(Object) - Method in PersistentList
inferNativeKey(String, Object) - Method in NativeEntryEntityPersister
Used to establish the native key to use from the identifier defined by the object
inherited - Field in AbstractPersistentProperty
inheritRollbackOnly - Field in ReadOnly
In Spring, when there are nested transaction calls, the execution of the outermost callback will throw UnexpectedRollbackException if TransactionStatus.setRollbackOnly() was called in a nested transaction callback.
inheritRollbackOnly - Field in Transactional
In Spring, when there are nested transaction calls, the execution of the outermost callback will throw UnexpectedRollbackException if TransactionStatus.setRollbackOnly() was called in a nested transaction callback.
init() - Method in AbstractDatastorePersistenceContextInterceptor
init() - Method in AggregatePersistenceContextInterceptor
initDeferredClose(Datastore) - Method in DatastoreUtils
Initialize deferred close for the current thread and the given Datastore.
initForMappingContext(MappingContext) - Method in AutoTimestampEventListener
initialiseIfNecessary(Class<T>) - Method in AbstractDetachedCriteria
Initializable - Interface in org.grails.datastore.mapping.model.lifecycle
Interface for object that requires explicit initialization
initialize() - Method in AbstractMappingContext
initialize() - Method in AbstractPersistentCollection
initialize() - Method in AbstractPersistentEntity
initialize() - Method in DefaultServiceRegistry
initialize(ConnectionSourceSettings) - Method in DocumentMappingContext
initialize() - Method in EmbeddedPersistentEntity
initialize() - Method in EntityProxy
Initializes the proxy if it hasn't been initialized already
initialize(Object) - Method in EntityProxyHandlerAdapter
initialize(Object) - Method in GroovyProxyFactory
initialize() - Method in Initializable
Call to initialize the object
initialize(Object) - Method in JavassistProxyFactory
INITIALIZE_METHOD - Field in EntityProxyMethodHandler
initialize() - Method in PagedResultList
initialize() - Method in PersistentCollection
Initializes the collection if it hasn't already been initialized.
initialize(Object) - Method in ProxyHandler
Initialises the given object
initialize(Object) - Method in ProxyHandlerAdapter
initialize(ConnectionSourceSettings) - Method in SimpleMapDatastore
initializeConverters(MappingContext) - Method in AbstractDatastore
initialized - Field in AbstractPersistentCollection
initialized - Field in AbstractResultList
INITIALIZED_PROPERTY - Field in EntityProxyMethodHandler
initializeDefaultMappingFactory(String) - Method in KeyValueMappingContext
initializedObjects - Field in AbstractResultList
initializeFully() - Method in AbstractResultList
initializeMethods(def) - Method in AbstractGormApi
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.
injectIdProperty(ClassNode) - Method in GormEntityTransformation
injectTrait(ClassNode, Class) - Method in AstUtils
injectVersionProperty(ClassNode) - Method in GormEntityTransformation
inList(String, Object) - Method in AbstractCriteriaBuilder
Creates an "in" Criterion based on the specified property name and list of values.
inList(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
inList(String, Object) - Method in Criteria
Creates an "in" Criterion based on the specified property name and list of values
inList(String, Object) - Method in DetachedCriteria
InListConstraint - Class in org.grails.datastore.gorm.validation.constraints
A constraint that validates the property is contained within the supplied list.
InListConstraint(Class<?>, String, Object, MessageSource) - Constructor in InListConstraint
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(Map) - Method in DelegatingGormEntityApi
insert(Object) - Method in EntityPersister
insert(Map) - Method in GormEntity
Forces an insert of an object to the datastore
insert(Map) - Method in GormEntityApi
Forces an insert of an object to the datastore
insert(D, Map) - Method in GormInstanceApi
Forces an insert of an object to the datastore
insert(D, Map) - Method in GormInstanceOperations
Forces an insert of an object to the datastore
insert(D, Map) - Method in GormStaticApi
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
insert(D, Map) - Method in TenantDelegatingGormOperations
InstanceFactoryBean - Class in org.grails.datastore.gorm.bootstrap.support
Simple singleton instance implementation of Spring's FactoryBean interface
InstanceFactoryBean(T) - Constructor in InstanceFactoryBean
InstanceMethodInvokingClosure - Class in org.grails.datastore.gorm.internal
Not public API.
InstanceMethodInvokingClosure(def, Class<?>, String, Class) - Constructor in InstanceMethodInvokingClosure
instanceOf(Class) - Method in DelegatingGormEntityApi
instanceOf(Class) - Method in GormEntity
Proxy aware instanceOf implementation.
instanceOf(Class) - Method in GormEntityApi
Proxy aware instanceOf implementation.
instanceOf(D, Class) - Method in GormInstanceApi
Proxy aware instanceOf implementation.
instanceOf(D, Class) - Method in GormInstanceOperations
Proxy aware instanceOf implementation.
instanceOf(D, Class) - Method in GormStaticApi
instanceOf(D, Class) - Method in TenantDelegatingGormOperations
InstanceProxy - Class in org.grails.datastore.gorm.utils
A proxy onto another instance
InstantConverter - Trait in grails.gorm.time
A trait to convert a java.time.Instant to and from a long
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
InterfaceProjectionBuilder - Trait in org.grails.datastore.gorm.services.implementers
Base trait for building interface projections
invoke(Class, String, Object) - Method in DynamicFinder
invoke(Class, String, Closure, Object) - Method in FinderMethod
Invokes the method
invoke(Object, Method, Method, Object) - Method in GroovyObjectMethodHandler
INVOKE_IMPLEMENTATION - Field in GroovyObjectMethodHandler
invoke(Class, String, Closure, Object) - Method in ListOrderByFinder
INVOKE_METHOD - Field in GroovyObjectMethodHandler
invokeBeforeValidate(Object, List<?>) - Method in BeforeValidateHelper
invokeClosureNode(Object) - Method in AbstractCriteriaBuilder
invokeEntityProxyMethods(Object, String, Object) - Method in EntityProxyMethodHandler
invokeList() - Method in AbstractCriteriaBuilder
invokeMethod(String, Object) - Method in AbstractCriteriaBuilder
invokeMethod(String, Object) - Method in ClosureToMapPopulator
invokeMethod(String, def) - Method in DefaultMappingConfigurationBuilder
invokeMethod(String, def) - Method in InstanceProxy
invokeMethod(Object, String, Object) - Method in ProxyInstanceMetaClass
Handle method calls on our proxy.
invokeMethodAfterResolving(Object, String, Object) - Method in GroovyObjectMethodHandler
invokeMethodBeforeResolving(Object, String, Object) - Method in EntityProxyMethodHandler
invokeMethodBeforeResolving(Object, String, Object) - Method in GroovyObjectMethodHandler
invokeQuery(Query) - Method in AbstractFindByFinder
invokeQuery(Query) - Method in CountByFinder
invokeQuery(Query) - Method in FindAllByFinder
invokeQuery(Query) - Method in ListOrderByFinder
invokeThisMethod(Object, String, Object) - Method in GroovyObjectMethodHandler
invokeWithTargetException() - Method in DatastoreServiceMethodInvokingFactoryBean
IS_INITIALIZED_METHOD - Field in EntityProxyMethodHandler
IS_NULL_CRITERION - Field in DetachedCriteriaTransformer
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
isAnnotated(ClassNode, MethodNode) - Method in AbstractStringQueryImplementer
isAnnotated(ClassNode, MethodNode) - Method in AbstractWhereImplementer
isAnnotated(ClassNode, MethodNode) - Method in AnnotatedServiceImplementer
Is the method annotated
isAnnotated(ClassNode, MethodNode) - Method in UpdateStringQueryImplementer
isAnnotatedSuperClass(MappingConfigurationStrategy, Class) - Method in AbstractPersistentEntity
isAnnotatedWithJavaValidationApi(List<AnnotationNode>) - Method in DirtyCheckingTransformer
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
isAttached() - Method in DelegatingGormEntityApi
isAttached() - Method in GormEntity
No concept of session-based model so defaults to true
isAttached() - Method in GormEntityApi
No concept of session-based model so defaults to true
isAttached(D) - Method in GormInstanceApi
No concept of session-based model so defaults to true
isAttached(D) - Method in GormInstanceOperations
No concept of session-based model so defaults to true
isAttached(D) - Method in GormStaticApi
isAttached(D) - Method in TenantDelegatingGormOperations
isAvailable() - Method in AbstractDatastoreInitializer.GrailsBeanBuilderInit
isAvailable() - Method in AbstractDatastoreInitializer.GroovyBeanReaderInit
isAvailable() - Method in AdditionalGormEntityTransformation
@return Whether the transformation is available
isAvailable() - Method in GormEntityTraitProvider
@return Whether this trait provided is available
isAvailable() - Method in JavaxValidatorRegistry
@return Whether javax.validation is available
isBasic() - Method in Association
@return Whether this association is embedded
isBidirectional() - Method in Association
@return True if the association is bidirectional
isBlank() - Method in BlankConstraint
isBlank() - Method in Constrained
@return Whether blank values are allowed
isBlank() - Method in DefaultConstrainedProperty
@return the blank.
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
isCascadable(Object, Node, Class<?>, Path, ElementType) - Method in MappingContextTraversableResolver
isCircular() - Method in Association
@return Whether the association is circular
isClassBelowPackage(Class<?>, List) - Method in ClassUtils
isCollectionType(Class) - Method in GormMappingConfigurationStrategy
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in AbstractArrayOrIterableResultImplementer
Return true if the provided return type is compatible with this implementor.
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in AbstractServiceImplementer
Return true if the provided return type is compatible with this implementor.
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in CountByImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in CountImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in CountWhereImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in DeleteImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in DeleteWhereImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindAllByInterfaceProjectionImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindAllImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindAllInterfaceProjectionImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindAllPropertyProjectionImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindAllStringQueryImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindAllWhereImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindAndDeleteImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindOneByImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindOneByInterfaceProjectionImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindOneImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindOneInterfaceProjectionImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindOneInterfaceProjectionStringQueryImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindOneInterfaceProjectionWhereImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindOnePropertyProjectionImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindOneStringQueryImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in FindOneWhereImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in IterableProjectionServiceImplementer
Is the return type compatible with the projection query
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in SaveImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in SingleResultProjectionServiceImplementer
Is the return type compatible with the projection query
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in UpdateOneImplementer
isCompatibleReturnType(ClassNode, MethodNode, ClassNode, String) - Method in UpdateStringQueryImplementer
isConfigurational(String) - Method in NameUtils
isConnected() - Method in AbstractAttributeStoringSession
isConnected() - Method in Session
@return true if connected to the datastore
isConstrainableProperty(PersistentProperty, String) - Method in DefaultConstraintEvaluator
isCreditCard() - Method in Constrained
@return Whether this is a credit card string
isCreditCard() - Method in DefaultConstrainedProperty
@return Returns the creditCard.
isCustomType(Class<?>) - Method in MappingFactory
isDirty() - Method in AbstractPersistentCollection
isDirty() - Method in DelegatingGormEntityApi
isDirty() - Method in GormEntity
Checks whether an entity is dirty.
isDirty() - Method in GormEntityApi
Checks whether an entity is dirty
isDirty(D) - Method in GormInstanceApi
Checks whether an entity is dirty
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.
isDisplay() - Method in Constrained
@return Whether the value should be displayed
isDomainClass(ClassNode) - Method in AstUtils
isEditable() - Method in Constrained
@return Whether the value is editable
isEmail() - Method in Constrained
@return Whether this is an email
isEmail() - Method in DefaultConstrainedProperty
@return Returns the email.
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(String) - Method in AbstractCriteriaBuilder
isEmpty(String) - Method in AbstractDetachedCriteria
@see Criteria
isEmpty() - Method in AbstractPersistentCollection
isEmpty() - Method in AbstractResultList
isEmpty(String) - Method in Criteria
Creates a criterion that asserts the given property is empty (such as a blank string)
isEmpty(String) - Method in DetachedCriteria
isEmpty() - Method in PagedResultList
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
isGrailsPresent() - Method in AbstractDatastoreInitializer
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
isInheritRollbackOnly() - Method in GrailsTransactionAttribute
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(Object, String) - Method in EntityProxyHandlerAdapter
isInitialized(Object, String) - Method in GroovyProxyFactory
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
isInitialized(Object, String) - Method in ProxyHandlerAdapter
isInstance(Object) - Method in AbstractPersistentEntity
isInstance(Object) - Method in PersistentEntity
Tests whether the given instance is an instance of this persistent entity
isInterfaceProjection(ClassNode, MethodNode, ClassNode) - Method in InterfaceProjectionBuilder
isInterfaceProjection(ClassNode, MethodNode, ClassNode) - Method in IterableInterfaceProjectionBuilder
Is the method an interface projection
isInvertBooleanReturnValue() - Method in EventTriggerCaller
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
isMappedClass(String, Class) - Method in AbstractDatastoreInitializer
isMethodMatch(String) - Method in DynamicFinder
Checks whether the given method is a match
isMethodMatch(String) - Method in FinderMethod
Whether the given method name matches this finder
isMethodMatch(String) - Method in ListOrderByFinder
isMethodOverriddenFromParent(Method) - Method in ReflectionUtils
Tests whether a method is overridden from the parent
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
isNoOperationCaller() - Method in EventTriggerCaller
isNotConfigurational(String) - Method in NameUtils
isNotEmpty(String) - Method in AbstractCriteriaBuilder
isNotEmpty(String) - Method in AbstractDetachedCriteria
@see Criteria
isNotEmpty(String) - Method in Criteria
Creates a criterion that asserts the given property is not empty
isNotEmpty(String) - Method in DetachedCriteria
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 AbstractCriteriaBuilder
isNotNull(String) - Method in AbstractDetachedCriteria
@see Criteria
isNotNull(String) - Method in Criteria
Creates a criterion that asserts the given property is not null
isNotNull(String) - Method in DetachedCriteria
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 AbstractCriteriaBuilder
isNull(String) - Method in AbstractDetachedCriteria
@see Criteria
isNull(String) - Method in Criteria
Creates a criterion that asserts the given property is null
isNull(String) - Method in DetachedCriteria
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 Constrained
@return Whether the value is nullable
isNullable() - Method in DefaultConstrainedProperty
@return Returns the nullable.
isNullable() - Method in NullableConstraint
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
isolation - Field in ReadOnly
The transaction isolation level.
isolation - Field in Transactional
The transaction isolation level.
isOnValue() - Method in FunctionCallingCriterion
Whether the function is called on the value or on the property
isOpen() - Method in AbstractDatastorePersistenceContextInterceptor
isOpen() - Method in AggregatePersistenceContextInterceptor
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
isPassword() - Method in Constrained
@return Whether the value is a password or not
isPendingAlready(T) - Method in SessionImplementor
@param obj Whether the given object is already pending
isPendingAlready(Object) - Method in SimpleMapSession
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
isPropertyIndexed(Property) - Method in SimpleMapEntityPersister
isProxy(Object) - Method in EntityProxyHandlerAdapter
isProxy(Object) - Method in GroovyProxyFactory
Check our object has the correct meta class to be a proxy of this type.
isProxy(Object) - Method in JavassistProxyFactory
isProxy(Object) - Method in ProxyHandler
Checks whether the specified instance is a proxy
isProxy(Object) - Method in ProxyHandlerAdapter
isProxyInitiated(Object) - Method in AssociationQueryProxyHandler
isProxyInitiated(Object) - Method in EntityProxyMethodHandler
isProxyInitiated() - Method in ProxyInstanceMetaClass
isProxyInitiated(Object) - Method in SessionEntityProxyMethodHandler
isReachable(Object, Node, Class<?>, Path, ElementType) - Method in MappingContextTraversableResolver
isReadableProperty(String) - Method in ClassPropertyFetcher
isRealMethod(MetaMethod) - Method in GormEnhancer
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
isSingleton() - Method in InstanceFactoryBean
isSingleton() - Method in ServiceRegistryFactoryBean
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
isTestSetupOrCleanup(ClassNode, MethodNode) - Method in AbstractMethodDecoratingTransformation
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
isUrl() - Method in Constrained
@return Whether the value is a URL
isUrl() - Method in DefaultConstrainedProperty
@return Returns the url.
isValid() - Method in AbstractConstraint
Return whether the constraint is valid for the owning class
isValid() - Method in Constraint
Return whether the constraint is valid for the owning class
isValidAnnotation(AnnotationNode, AnnotatedNode) - Method in AbstractGormASTTransformation
isValidAnnotation(AnnotationNode, AnnotatedNode) - Method in TenantTransform
isValidAnnotation(AnnotationNode, AnnotatedNode) - Method in TransactionalTransform
isValidInterface(Class) - Method in DefaultServiceRegistry
isValidMappingStrategy(Class, Object) - Method in AbstractMappingContext
isValidParameter(ClassNode, Parameter, String) - Method in AbstractServiceImplementer
Check whether the given parameter is a valid property of the domain class
isValidPropertyType(ClassNode, ClassNode) - Method in AbstractProjectionImplementer
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
IterableInterfaceProjectionBuilder - Trait in org.grails.datastore.gorm.services.implementers
Projection builder for iterable results like lists and arrays
IterableProjectionServiceImplementer - Interface in org.grails.datastore.gorm.services.implementers
For projections that return an iterable
IterableServiceImplementer - Interface in org.grails.datastore.gorm.services.implementers
An implementer that returns an iterable or an array
iterator() - Method in AbstractConnectionSources
iterator() - Method in AbstractPersistentCollection
iterator() - Method in AbstractResultList
Override to transform elements if necessary during iteration.
iterator() - Method in DetachedCriteria
iterator() - Method in PagedResultList
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
javaxValidate(Object, Method, Object) - Method in ValidatedService
Validate the given method for the given arguments
JavaxValidatorRegistry - Class in org.grails.datastore.gorm.validation.javax
A validator registry that creates validators
JavaxValidatorRegistry(MappingContext, ConnectionSourceSettings, MessageSource) - Constructor in JavaxValidatorRegistry
Join - Annotation Type in grails.gorm.services
Allow specifying the join to services
join(String) - Method in AbstractCriteriaBuilder
join(String, JoinType) - Method in AbstractDetachedCriteria
Specifies whether a join query should be used (if join queries are supported by the underlying datastore)
join(String, JoinType) - Method in BuildableCriteria
Whether to join on an association
join(String, JoinType) - Method in CriteriaBuilder
join(String, JoinType) - Method in DetachedCriteria
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 AbstractDetachedCriteria
joinTypes - Field in Query
JPA_ENTITY_ANNOTATION_NODE - Field in GormEntityTransformation
JPA_ENTITY_CLASS_NODE - Field in GormEntityTransformation
JPA_ID_ANNOTATION_NODE - Field in GormEntityTransformation
JPA_TRANSIENT_ANNOTATION_NODE - Field in GormEntityTransformation
JPA_VERSION_ANNOTATION_NODE - Field in GormEntityTransformation
JpaEntity - Annotation Type in grails.gorm.annotation
A class annotation used to make a class into a GORM domain class.
JpaGormEntityTransformation - Class in org.grails.compiler.gorm
Enhanced GORM entity annotated with JPA annotations
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
junctions - Field in AbstractDetachedCriteria

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(Map) - Method in GormEntity
Finds the last object.
last(Map) - Method in GormStaticApi
Finds the last object.
last(Map) - Method in GormStaticOperations
Finds the last object.
last() - Method in PersistentSortedSet
last(Map) - Method in TenantDelegatingGormOperations
LAST_UPDATED - Field in GormProperties
LAST_UPDATED_PROPERTY - Field in AutoTimestampEventListener
lastIndexOf(Object) - Method in PagedResultList
lastIndexOf(Object) - Method in PersistentList
lazyQuery - Field in AbstractDetachedCriteria
le(String, Object) - Method in AbstractCriteriaBuilder
Used to restrict a value to be less than or equal to the given value
le(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
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 DetachedCriteria
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 AbstractCriteriaBuilder
Creates a subquery criterion that ensures the given property is less than all the given returned values
leAll(String, QueryableCriteria) - Method in AbstractDetachedCriteria
leAll(String, QueryableCriteria) - Method in Criteria
Creates a subquery criterion that ensures the given property is less than all the given returned values
leAll(String, QueryableCriteria) - Method in DetachedCriteria
leProperty(String, String) - Method in AbstractCriteriaBuilder
Constraints a property to be less than or equal to a specified other property
leProperty(String, String) - Method in AbstractDetachedCriteria
@see Criteria
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 DetachedCriteria
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 AbstractCriteriaBuilder
leSome(String, Closure<?>) - Method in AbstractDetachedCriteria
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
leSome(String, Closure<?>) - Method in DetachedCriteria
like(String, Object) - Method in AbstractCriteriaBuilder
Creates an like Criterion based on the specified property name and value.
like(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
like(String, Object) - Method in Criteria
Creates a like Criterion based on the specified property name and value
like(String, Object) - Method in DetachedCriteria
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(Map, Closure) - Method in CriteriaBuilder
list(Closure) - Method in DetachedCriteria
Lists all records matching the criterion contained within this DetachedCriteria instance
list() - Method in GormEntity
List all entities
list(Map, Closure) - Method in GormQueryOperations
Lists all records matching the criterion contained within this DetachedCriteria instance
list() - Method in GormStaticApi
List all entities
list() - Method in GormStaticOperations
List all entities
list - Field in InListConstraint
list(Map, Closure) - Method in NamedCriteriaProxy
list() - Method in Query
Executes the query returning zero or many results as a list.
list() - Method in QueryableCriteria
List all results
list() - Method in TenantDelegatingGormOperations
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.
listDistinct(Closure) - Method in CriteriaBuilder
Defines and executes a list distinct query in a single call.
listDistinct(Map, Closure) - Method in NamedCriteriaProxy
listeners - Field in AbstractConnectionSources
listIterator(int) - Method in AbstractResultList
listIterator(int) - Method in PagedResultList
listIterator(int) - Method in PersistentList
ListOrderByFinder - Class in org.grails.datastore.gorm.finders
The "listOrderBy*" static persistent method.
ListOrderByFinder(Datastore) - Constructor in ListOrderByFinder
load(Serializable) - Method in GormEntity
Retrieves and object from the datastore as a proxy. eg.
load(Serializable) - Method in GormStaticApi
Retrieves and object from the datastore as a proxy. eg.
load(Serializable) - Method in GormStaticOperations
Retrieves and object from the datastore as a proxy. eg.
load() - Method in ServiceDefinition
@return load the service
load(Class<T>) - Method in ServiceTransformation
load(Serializable) - Method in TenantDelegatingGormOperations
loadAnnotationDefined(AnnotationNode, String, List, Class) - Method in ServiceTransformation
loadDataServices(String) - Method in AbstractDatastoreInitializer
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
LocalDateConverter - Trait in grails.gorm.time
A trait to convert a java.time.LocalDate to and from a long
LocalDateTimeConverter - Trait in grails.gorm.time
A trait to convert a java.time.LocalDateTime to and from a long
LocalTimeConverter - Trait in grails.gorm.time
A trait to convert a java.time.LocalTime to and from a long
lock() - Method in DelegatingGormEntityApi
lock(Serializable) - Method in GormEntity
Locks an instance for an update
lock() - Method in GormEntityApi
Upgrades an existing persistence instance to a write lock
lock(D) - Method in GormInstanceApi
Upgrades an existing persistence instance to a write lock
lock(D) - Method in GormInstanceOperations
Upgrades an existing persistence instance to a write lock
lock(D) - Method in GormStaticApi
lock(Serializable) - Method in GormStaticOperations
Locks an instance for an update
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
lock(Serializable) - Method in TenantDelegatingGormOperations
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
lookupById() - Method in AbstractDetachedCriteriaServiceImplementor
Whether lookup by id is allowed by this implementation
lookupById() - Method in AbstractProjectionImplementer
lookupById() - Method in CountImplementer
lookupById() - Method in FindAllImplementer
LOWEST_PRECEDENCE - Field in OrderedComparator
Useful constant for the lowest precedence value.
lt(String, Object) - Method in AbstractCriteriaBuilder
Used to restrict a value to be less than or equal to the given value
lt(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
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 DetachedCriteria
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 AbstractCriteriaBuilder
Creates a subquery criterion that ensures the given property is less than all the given returned values
ltAll(String, QueryableCriteria) - Method in AbstractDetachedCriteria
ltAll(String, QueryableCriteria) - Method in Criteria
Creates a subquery criterion that ensures the given property is less than all the given returned values
ltAll(String, QueryableCriteria) - Method in DetachedCriteria
lte(String, Object) - Method in AbstractCriteriaBuilder
Used to restrict a value to be less than or equal to the given value
lte(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
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 DetachedCriteria
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 AbstractCriteriaBuilder
Constraints a property to be less than a specified other property
ltProperty(String, String) - Method in AbstractDetachedCriteria
@see Criteria
ltProperty(String, String) - Method in Criteria
Constrains a property to be less than a specified other property
ltProperty(String, String) - Method in DetachedCriteria
ltProperty(String, String) - Method in Restrictions
Constraints a property to be less than a specified other property
ltSome(String, Closure<?>) - Method in AbstractCriteriaBuilder
ltSome(String, Closure<?>) - Method in AbstractDetachedCriteria
ltSome(String, Closure<?>) - Method in Criteria
Creates a subquery criterion that ensures the given property is less than some of the given values
ltSome(String, Closure<?>) - Method in DetachedCriteria

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
makeDelegatingClosureCall(Expression, String, ArgumentListExpression, Parameter, MethodCallExpression, VariableScope) - Method in AbstractMethodDecoratingTransformation
Construct a method call that wraps an original call with a closure invocation
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
mappingContext - Field in DefaultConstraintEvaluator
mappingContext - Field in DynamicFinder
mappingContext - Field in GormValidationApi
MappingContextAwareConstraintFactory - Class in org.grails.datastore.gorm.validation.constraints
A constraint that restricts constraints to be applicable only to a given MappingContext
MappingContextAwareConstraintFactory(Class<? extends Constraint>, MessageSource, MappingContext, List<Class>) - Constructor in MappingContextAwareConstraintFactory
MappingContextTraversableResolver - Class in org.grails.datastore.gorm.validation.javax
A javax.validation.TraversableResolver that uses the MappingContext to establish whether validation can cascade
MappingContextTraversableResolver(MappingContext) - Constructor in MappingContextTraversableResolver
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.
MatchesConstraint - Class in org.grails.datastore.gorm.validation.constraints
Validates the property against a supplied regular expression.
MatchesConstraint(Class<?>, String, Object, MessageSource) - Constructor in MatchesConstraint
matchProductName(String) - Method in DatabaseDriver
MatchSpec - Class in org.grails.datastore.gorm.finders
A match spec details a matched finder
MatchSpec(String, String, String, int, List<MethodExpression>) - Constructor in MatchSpec
max(String) - Method in AbstractCriteriaBuilder
Computes the max value of a property
max(String) - Method in AbstractDetachedCriteria
Adds a min projection
max(String) - Method in AbstractDetachedCriteria.DetachedProjections
max(String) - Method in DetachedCriteria
Adds a min projection
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
MaxConstraint - Class in org.grails.datastore.gorm.validation.constraints
Implements a maximum value constraint.
MaxConstraint(Class<?>, String, Object, MessageSource) - Constructor in MaxConstraint
maxResults(int) - Method in Query
Defines the maximum number of results to return
MaxSizeConstraint - Class in org.grails.datastore.gorm.validation.constraints
Validates maximum size or length of the property, for strings and arrays this is the length and collections the size.
MaxSizeConstraint(Class<?>, String, Object, MessageSource) - Constructor in MaxSizeConstraint
merge(Map) - Method in DelegatingGormEntityApi
merge(D) - Method in GormEntity
Merges an instance with the current session
merge(Map) - Method in GormEntityApi
Saves an object the datastore
merge(D, Map) - Method in GormInstanceApi
Saves an object the datastore
merge(D, Map) - Method in GormInstanceOperations
Saves an object the datastore
merge(D, Map) - Method in GormStaticApi
merge(D) - Method in GormStaticOperations
Merges an instance with the current session
merge(D) - Method in TenantDelegatingGormOperations
messageInterpolator(MessageInterpolator) - Method in GormValidatorFactoryAdapter.GormValidatorContext
messageSource - Field in AbstractConstraint
messageSource - Field in DefaultConstraintRegistry
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
metaMethod - Field in MethodInvokingClosure
METHOD_GET_DATASTORE_FOR_CONNECTION - Field in AbstractDatastoreMethodDecoratingTransformation
METHOD_GET_TARGET_DATASTORE - Field in AbstractDatastoreMethodDecoratingTransformation
METHOD_NAME_MARK_DIRTY - Field in DirtyCheckingTransformer
METHOD_PATTERN - Field in FindAllByBooleanFinder
METHOD_PATTERN - Field in FindByBooleanFinder
METHOD_PATTERN - Field in FindOrCreateByFinder
METHOD_PATTERN - Field in FindOrSaveByFinder
MethodExpression - Class in org.grails.datastore.gorm.finders
Method expression used to evaluate a dynamic finder.
MethodExpression.Between - Class in org.grails.datastore.gorm.finders
MethodExpression.Between(String) - Constructor in MethodExpression.Between
MethodExpression.Equal - Class in org.grails.datastore.gorm.finders
MethodExpression.Equal(String) - Constructor in MethodExpression.Equal
MethodExpression.GreaterThan - Class in org.grails.datastore.gorm.finders
MethodExpression.GreaterThan(String) - Constructor in MethodExpression.GreaterThan
MethodExpression.GreaterThanEquals - Class in org.grails.datastore.gorm.finders
MethodExpression.GreaterThanEquals(String) - Constructor in MethodExpression.GreaterThanEquals
MethodExpression.Ilike - Class in org.grails.datastore.gorm.finders
MethodExpression.Ilike(String) - Constructor in MethodExpression.Ilike
MethodExpression.InList - Class in org.grails.datastore.gorm.finders
MethodExpression.InList(String) - Constructor in MethodExpression.InList
MethodExpression.InRange - Class in org.grails.datastore.gorm.finders
MethodExpression.InRange(String) - Constructor in MethodExpression.InRange
MethodExpression.IsEmpty - Class in org.grails.datastore.gorm.finders
MethodExpression.IsEmpty(String) - Constructor in MethodExpression.IsEmpty
MethodExpression.IsNotEmpty - Class in org.grails.datastore.gorm.finders
MethodExpression.IsNotEmpty(String) - Constructor in MethodExpression.IsNotEmpty
MethodExpression.IsNotNull - Class in org.grails.datastore.gorm.finders
MethodExpression.IsNotNull(String) - Constructor in MethodExpression.IsNotNull
MethodExpression.IsNull - Class in org.grails.datastore.gorm.finders
MethodExpression.IsNull(String) - Constructor in MethodExpression.IsNull
MethodExpression.LessThan - Class in org.grails.datastore.gorm.finders
MethodExpression.LessThan(String) - Constructor in MethodExpression.LessThan
MethodExpression.LessThanEquals - Class in org.grails.datastore.gorm.finders
MethodExpression.LessThanEquals(String) - Constructor in MethodExpression.LessThanEquals
MethodExpression.Like - Class in org.grails.datastore.gorm.finders
MethodExpression.Like(String) - Constructor in MethodExpression.Like
MethodExpression.NotEqual - Class in org.grails.datastore.gorm.finders
MethodExpression.NotEqual(String) - Constructor in MethodExpression.NotEqual
MethodExpression.NotInList - Class in org.grails.datastore.gorm.finders
MethodExpression.NotInList(String) - Constructor in MethodExpression.NotInList
MethodExpression.Rlike - Class in org.grails.datastore.gorm.finders
MethodExpression.Rlike(String) - Constructor in MethodExpression.Rlike
MethodExpression(String) - Constructor in MethodExpression
MethodInvokingClosure - Class in org.grails.datastore.gorm.internal
Not public API.
MethodInvokingClosure(def, String, Class) - Constructor in MethodInvokingClosure
methodMissing(String, def) - Method in AbstractDetachedCriteria
Method missing handler that deals with the invocation of dynamic finders
methodMissing(String, Object) - Method in Entity
methodMissing(String, def) - Method in GormQueryOperations
Method missing handler for dynamic finders
methodMissing(String, Object) - Method in GormStaticApi
Method missing handler that deals with the invocation of dynamic finders
methodMissing(String, def) - Method in GormStaticOperations
Handles static method missing for dynamic finders
methodMissing(String, def) - Method in NamedCriteriaProxy
methodMissing(String, def) - Method in NamedQueriesBuilder
methodMissing(String, Object) - Method in TenantDelegatingGormOperations
methodName - Field in MethodInvokingClosure
MethodValidationImplementer - Class in org.grails.datastore.gorm.validation.javax.services.implementers
Adds method parameter validation to Service instances
min(String) - Method in AbstractCriteriaBuilder
Computes the min value of a property
min(String) - Method in AbstractDetachedCriteria
Adds a sum projection
min(String) - Method in AbstractDetachedCriteria.DetachedProjections
min(String) - Method in DetachedCriteria
Adds a sum projection
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
MinConstraint - Class in org.grails.datastore.gorm.validation.constraints
Implements a minimum value constraint.
MinConstraint(Class<?>, String, Object, MessageSource) - Constructor in MinConstraint
MinSizeConstraint - Class in org.grails.datastore.gorm.validation.constraints
Validates minimum size or length of the property, for strings and arrays this is the length and collections the size.
MinSizeConstraint(Class<?>, String, Object, MessageSource) - Constructor in MinSizeConstraint
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
moveInterceptorBeansToManagedList(BeanDefinitionRegistry, Collection<String>) - Method in PersistenceContextInterceptorAggregator
moveOriginalCodeToNewMethod(MethodNode, String, Parameter, ClassNode, SourceUnit, Map<String, ClassNode>) - Method in AbstractMethodDecoratingTransformation
MultipleConnectionSourceCapableDatastore - Interface in org.grails.datastore.mapping.core.connections
A Datastore capable of configuring multiple Datastore with individually named ConnectionSource instances
multiTenancyMode - Field in GormStaticApi
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
MultiTenant - Trait in grails.gorm
A trait for domain classes to implement that should be treated as multi tenant
MultiTenantCapableDatastore - Interface in org.grails.datastore.mapping.multitenancy
An implementation that is capable of multi tenancy
MultiTenantConnection - Class in org.grails.datastore.gorm.jdbc
Allows restoring the target schema prior to releasing the connection to the pool in Multi-Tenant environment
MultiTenantConnection(Connection, SchemaHandler) - Constructor in MultiTenantConnection
MultiTenantDataSource - Class in org.grails.datastore.gorm.jdbc
A data source that wraps a target datasource for multi-tenancy
MultiTenantDataSource(DataSource, String) - Constructor in MultiTenantDataSource
multiTenantDatastore() - Method in AbstractServiceImplementer
@return The datastore expression
multiTenantDatastore() - Method in DefaultTenantService
MultiTenantEventListener - Class in org.grails.datastore.gorm.multitenancy
An event listener that hooks into persistence events to enable discriminator based multi tenancy (ie org.grails.datastore.mapping.multitenancy.MultiTenancySettings.MultiTenancyMode#DISCRIMINATOR
MultiTenantEventListener(Datastore) - Constructor in MultiTenantEventListener
mutex(Closure) - Method in DelegatingGormEntityApi
mutex(Closure) - Method in GormEntity
Locks the instance for updates for the scope of the passed closure
mutex(Closure) - Method in GormEntityApi
Locks the instance for updates for the scope of the passed closure
mutex(D, Closure<T>) - Method in GormInstanceApi
Locks the instance for updates for the scope of the passed closure
mutex(D, Closure<T>) - Method in GormInstanceOperations
Locks the instance for updates for the scope of the passed closure
mutex(D, Closure<T>) - Method in GormStaticApi
mutex(D, Closure<T>) - Method in TenantDelegatingGormOperations
MY_TYPE - Field in RollbackTransform
MY_TYPE - Field in TransactionalTransform

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
name - Field in Service
Returns:
The name of the service, by default this will the class name decapitalized. ie.
NAME - Field in UniqueConstraint
NAMED_QUERIES - Field in GormProperties
namedArgs(Map<String, ? extends Expression>) - Method in AstMethodDispatchUtils
Create named arguments
NamedCriteriaProxy - Class in org.grails.datastore.gorm.query
Handles named queries
NamedCriteriaProxy(Closure, PersistentEntity, List) - Constructor in NamedCriteriaProxy
NamedQueriesBuilder - Class in org.grails.datastore.gorm.query
Handles creation of named queries
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 AbstractCriteriaBuilder
Creates a "not equals" Criterion based on the specified property name and value.
ne(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
ne(String, Object) - Method in Criteria
Creates a "not equals" Criterion based on the specified property name and value
ne(String, Object) - Method in DetachedCriteria
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 AbstractCriteriaBuilder
Constraints a property to be not equal to a specified other property
neProperty(String, String) - Method in AbstractDetachedCriteria
@see Criteria#neProperty(java.lang.String, java.lang.String)
neProperty(String, String) - Method in Criteria
Constrains a property to be not equal to a specified other property
neProperty(String, String) - Method in DetachedCriteria
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
newConstrainedPropertyBuilder(Class<?>) - Method in ConstraintsEvaluator
Obtains a new builder from this evaluator
newConstrainedPropertyBuilder(Class<?>) - Method in DefaultConstraintEvaluator
newDefinition(Map) - Method in DefaultTransactionService
newEntityInstance(PersistentEntity) - Method in EntityPersister
newInstance() - Method in AbstractDetachedCriteria
newInstance() - Method in AbstractPersistentEntity
newInstance() - Method in DetachedCriteria
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
nextDecoded() - Method in AbstractResultList
NO_IMPLEMENTATIONS_MESSAGE - Field in ServiceTransformation
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
NoResultServiceImplementer - Interface in org.grails.datastore.gorm.services.implementers
An implement with a return type of void
noRollbackFor - Field in ReadOnly
Defines zero (0) or more exception java.lang.Class, which must be a subclass of java.lang.Throwable, indicating which exception types must not cause a transaction rollback.
noRollbackFor - Field in Transactional
Defines zero (0) or more exception java.lang.Class, which must be a subclass of java.lang.Throwable, indicating which exception types must not cause a transaction rollback.
noRollbackForClassName - Field in ReadOnly
Defines zero (0) or more exception names (for exceptions which must be a subclass of java.lang.Throwable) indicating which exception types must not cause a transaction rollback.
noRollbackForClassName - Field in Transactional
Defines zero (0) or more exception names (for exceptions which must be a subclass of java.lang.Throwable) indicating which exception types must not cause a transaction rollback.
not(Closure) - Method in AbstractCriteriaBuilder
not(Closure) - Method in AbstractDetachedCriteria
Handles a disjunction
NOT_CLAUSE - Field in JpaQueryBuilder
not(Closure) - Method in Criteria
Creates a logical negation
not(Closure) - Method in DetachedCriteria
NoTenantResolver - Class in org.grails.datastore.mapping.multitenancy.resolvers
A TenantResolver that throws an exception indicating the tenant id was not found
NotEqualConstraint - Class in org.grails.datastore.gorm.validation.constraints
Validates not equal to something.
NotEqualConstraint(Class<?>, String, Object, MessageSource) - Constructor in NotEqualConstraint
notExists(QueryableCriteria<?>) - Method in AbstractCriteriaBuilder
notExists(QueryableCriteria<?>) - Method in AbstractDetachedCriteria
@see Criteria#notExists(org.grails.datastore.mapping.query.api.QueryableCriteria)
notExists(QueryableCriteria<?>) - Method in Criteria
Executes a not exists subquery
notExists(QueryableCriteria<?>) - Method in DetachedCriteria
notIn(String, Closure<?>) - Method in AbstractCriteriaBuilder
notIn(String, Closure<?>) - Method in AbstractDetachedCriteria
notIn(String, Closure<?>) - Method in Criteria
Creates a negated "in" Criterion using a subquery
notIn(String, Closure<?>) - Method in DetachedCriteria
notIn(String, QueryableCriteria) - Method in Restrictions
Restricts the property to be in the list of given values
NotTransactional - Annotation Type in grails.gorm.transactions
Marks a specific method to be skipped by the @Transactional annotation added at class level
NullableConstraint - Class in org.grails.datastore.gorm.validation.constraints
Validates not null.
NullableConstraint(Class<?>, String, Object, MessageSource) - Constructor in NullableConstraint

O

OBJECT_CLASS_NODE - Field in AstUtils
offset(int) - Method in AbstractDetachedCriteria
Sets the default offset to use and returns a new criteria instance.
offset - Field in AbstractResultList
offset(int) - Method in DetachedCriteria
Sets the default offset to use and returns a new criteria instance.
offset - Field in Query
OffsetDateTimeConverter - Trait in grails.gorm.time
A trait to convert a java.time.OffsetDateTime to and from a long
OffsetTimeConverter - Trait in grails.gorm.time
A trait to convert a java.time.OffsetTime to and from a long
onApplicationEvent(ApplicationEvent) - Method in AbstractPersistenceEventListener
{@inheritDoc}
onApplicationEvent(ApplicationEvent) - Method in MultiTenantEventListener
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
onPersistenceEvent(AbstractPersistenceEvent) - Method in AutoTimestampEventListener
onPersistenceEvent(AbstractPersistenceEvent) - Method in DomainEventListener
onPersistenceEvent(AbstractPersistenceEvent) - Method in ValidationEventListener
OpenSessionInViewInterceptor - Class in org.grails.datastore.mapping.web.support
A org.springframework.web.context.request.WebRequestInterceptor instance that handles opening a Datastore session within the scope of a request
OPERATOR_AND - Field in AbstractFindByFinder
OPERATOR_OR - Field in AbstractFindByFinder
OPERATORS - Field in AbstractFindByFinder
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 AbstractCriteriaBuilder
or(Closure) - Method in AbstractDetachedCriteria
Handles a disjunction
or(Closure) - Method in Criteria
Creates a logical disjunction
or(Closure) - Method in DetachedCriteria
OR_OPERATOR - Field in DetachedCriteriaTransformer
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 AbstractCriteriaBuilder
Orders by the specified property name and direction
order(String, String) - Method in AbstractDetachedCriteria
@see Criteria
ORDER_ASC - Field in DynamicFinder
ORDER_ASCENDING - Field in AbstractCriteriaBuilder
ORDER_ASCENDING - Field in CriteriaBuilder
order(String, String) - Method in Criteria
Orders by the specified property name and direction
ORDER_DESC - Field in DynamicFinder
ORDER_DESCENDING - Field in AbstractCriteriaBuilder
ORDER_DESCENDING - Field in CriteriaBuilder
order(String, String) - Method in DetachedCriteria
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
OrderedGormTransformation - Class in org.grails.datastore.gorm.transform
Central AST transformation that ensures that GORM AST Transformations are executed in the correct order.
orderEntries - Field in AbstractCriteriaBuilder
orders - Field in AbstractDetachedCriteria
orElseThrow(Supplier<? extends X>) - Method in ServiceDefinition
Load the service of throw the given exception.
originalSize - Field in AbstractPersistentCollection
OSIV_CLASS_NAME - Field in AbstractDatastoreInitializer
otherProperty - Field in Query.PropertyComparisonCriterion
owner - Field in AbstractPersistentProperty
owners - Field in AbstractPersistentEntity

P

PagedResultList - Class in grails.gorm
A result list implementation that provides an additional property called 'totalCount' to obtain the total number of records.
PagedResultList(Query) - Constructor in PagedResultList
paginationEnabledList - Field in AbstractCriteriaBuilder
PARAMETER_NAME_PREFIX - Field in JpaQueryBuilder
parameterNameProvider(ParameterNameProvider) - Method in GormValidatorFactoryAdapter.GormValidatorContext
parameterTypes - Field in MethodInvokingClosure
paramsForArgs(Expression) - Method in AstMethodDispatchUtils
password(String) - Method in DataSourceBuilder
pattern - Field in DynamicFinder
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
performInjection(SourceUnit, ClassNode) - Method in DirtyCheckingTransformer
performInjection(SourceUnit, ClassNode) - Method in GormTransformer
performInjectionOnAnnotatedClass(SourceUnit, ClassNode) - Method in DirtyCheckingTransformer
performInjectionOnAnnotatedClass(SourceUnit, ClassNode) - Method in GormTransformer
performInjectionOnAnnotatedEntity(ClassNode) - Method in DirtyCheckingTransformer
PeriodConverter - Trait in grails.gorm.time
A trait to convert a java.time.Period to and from a String
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
PersistenceContextInterceptorAggregator - Class in org.grails.datastore.gorm.plugin.support
BeanDefinitionRegistryPostProcessor that replaces multiple discovered PersistenceContextInterceptor beans with a single aggregating instance.
PersistenceEventListener - Interface in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
persistentClass - Field in AbstractGormApi
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 AbstractCriteriaBuilder
persistentEntity - Field in AbstractDetachedCriteria
persistentEntity - Field in AbstractGormApi
persistentEntity - Field in BeanEntityAccess
persistentEntityAdded(PersistentEntity) - Method in AutoTimestampEventListener
persistentEntityAdded(PersistentEntity) - Method in DomainEventListener
{@inheritDoc}
persistentEntityAdded(PersistentEntity) - Method in MappingContext.Listener
Fired when a new entity is added
PersistentEntityValidator - Class in grails.gorm.validation
A Validator that validates a PersistentEntity against known constraints
PersistentEntityValidator(PersistentEntity, MessageSource, ConstraintsEvaluator) - Constructor in PersistentEntityValidator
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.
pickGormEntityTrait(ClassNode, SourceUnit) - Method in GormEntityTransformation
pickMetaMethod(MetaClass, String, Class, boolean) - Method in MethodInvokingClosure
Utility method for choosing matching metamethod, handles MethodSelectionException
populate(Closure) - Method in ClosureToMapPopulator
populateArgumentsForCriteria(Class<? extends Object>, Query, Map) - Method in DynamicFinder
Populates arguments for the given query form the given map
populateQueryResult(def, Map) - Method in SimpleMapQuery
POSITION - Field in AbstractWhereImplementer
POSITION - Field in DeleteWhereImplementer
POSITION - Field in FindAllByImplementer
POSITION - Field in TenantTransform
The position of the transform.
POSITION - Field in TransactionalTransform
The position of the transform in terms ordering
PostDeleteEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
PostDeleteEvent(Object, PersistentEntity, EntityAccess) - Constructor in PostDeleteEvent
postHandle(WebRequest, ModelMap) - Method in OpenSessionInViewInterceptor
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
postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in PersistenceContextInterceptorAggregator
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in PersistenceContextInterceptorAggregator
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 ConfigurableParameterNameProvider
PREFIX - Field in Settings
The default prefix
PrefixedServiceImplementer - Interface in org.grails.datastore.gorm.services.implementers
An implementer that uses a set of prefixes
preHandle(WebRequest) - Method in OpenSessionInViewInterceptor
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
prepareConfig(PropertyResolver, ConfigurableApplicationContext) - Method in ConfigSupport
Workaround method because Grails' config doesn't convert strings to classes correctly
prepareNewMethodParameters(MethodNode, Map<String, ClassNode>, ClassNode) - Method in AbstractMethodDecoratingTransformation
prepareNewMethodParameters(MethodNode, Map<String, ClassNode>, ClassNode) - Method in TenantTransform
prepareNewMethodParameters(MethodNode, Map<String, ClassNode>, ClassNode) - Method in TransactionalTransform
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.
processValidate(Object, Object, Errors) - Method in AbstractConstraint
processValidate(Object, Object, Errors) - Method in AbstractVetoingConstraint
processValidate(Object, Object, Errors) - Method in CreditCardConstraint
processValidate(Object, Object, Errors) - Method in EmailConstraint
processValidate(Object, Object, Errors) - Method in InListConstraint
processValidate(Object, Object, Errors) - Method in MatchesConstraint
processValidate(Object, Object, Errors) - Method in MaxConstraint
processValidate(Object, Object, Errors) - Method in MaxSizeConstraint
processValidate(Object, Object, Errors) - Method in MinConstraint
processValidate(Object, Object, Errors) - Method in MinSizeConstraint
processValidate(Object, Object, Errors) - Method in NotEqualConstraint
processValidate(Object, Object, Errors) - Method in RangeConstraint
processValidate(Object, Object, Errors) - Method in ScaleConstraint
{@inheritDoc}
processValidate(Object, Object, Errors) - Method in SizeConstraint
processValidate(Object, Object, Errors) - Method in UniqueConstraint
processValidate(Object, Object, Errors) - Method in UrlConstraint
processValidate(Object, Object, Errors) - Method in ValidatorConstraint
processValidateWithVetoing(Object, Object, Errors) - Method in AbstractVetoingConstraint
processValidateWithVetoing(Object, Object, Errors) - Method in BlankConstraint
processValidateWithVetoing(Object, Object, Errors) - Method in NullableConstraint
processVariableScopes(SourceUnit, ClassNode, MethodNode) - Method in AstUtils
ProjectionList - Interface in org.grails.datastore.mapping.query.api
Models a list of projections
projectionList - Field in AbstractCriteriaBuilder
Projections - Class in org.grails.datastore.mapping.query
Projections used to customize the results of a query
projections(Closure) - Method in AbstractCriteriaBuilder
Defines projections
projections - Field in AbstractDetachedCriteria
projections(Closure) - Method in DetachedCriteria
Defines projections.
projections - Field in Query
propagation - Field in ReadOnly
The transaction propagation type.
propagation - Field in Transactional
The transaction propagation type.
properties(Map<String, String>) - Method in DataSourceBuilder
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(String) - Method in AbstractCriteriaBuilder
A projection that obtains the value of a property of an entity
property(String) - Method in AbstractDetachedCriteria
Adds a property projection
property(String) - Method in AbstractDetachedCriteria.DetachedProjections
property(String) - Method in DetachedCriteria
Adds a property projection
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) - Method in AbstractDetachedCriteria
propertyMissing(String, Object) - Method in Entity
propertyMissing(String) - Method in GormEntity
Allow access to datasource by name
propertyMissing(D, String) - Method in GormInstanceApi
propertyMissing(D, String) - Method in GormInstanceOperations
Allow access to datasource by name
propertyMissing(D, String) - Method in GormStaticApi
Merges an instance with the current session
propertyMissing(String, def) - Method in GormStaticOperations
Handles property missing, does nothing by default, sub traits to override
propertyMissing(String, def) - Method in NamedCriteriaProxy
propertyMissing(String, Object) - Method in TenantDelegatingGormOperations
propertyName - Field in MethodExpression
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(DataSource, DataSourceSettings) - Method in DataSourceConnectionSourceFactory
proxy(Serializable) - Method in EntityPersister
proxy(Serializable) - Method in GormEntity
Retrieves and object from the datastore as a proxy. eg.
proxy(Serializable) - Method in GormStaticApi
Retrieves and object from the datastore as a proxy. eg.
proxy(Serializable) - Method in GormStaticOperations
Retrieves and object from the datastore as a proxy. eg.
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
proxy(Serializable) - Method in TenantDelegatingGormOperations
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
proxyHandler - Field in PersistentEntityValidator
ProxyHandlerAdapter - Class in org.grails.datastore.gorm.proxy
Adapts the core Grails proxy handler interface to the GORM one
ProxyHandlerAdapter(ProxyHandler) - Constructor in ProxyHandlerAdapter
ProxyInstanceMetaClass - Class in org.grails.datastore.gorm.proxy
Per-instance metaclass to use for proxied GORM domain objects.
ProxyInstanceMetaClass(MetaClass, Session, Serializable) - Constructor in ProxyInstanceMetaClass
publisher - Field in EntityPersister
publishEvent(Object) - Method in ConfigurableApplicationContextEventPublisher
publishEvent(Object) - Method in DefaultApplicationEventPublisher
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, def) - Method in DynamicAttributes
Sets a dynamic attribute
putAt(String, def) - Method in InstanceProxy
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 - Field in AbstractCriteriaBuilder
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
queryAssociation(def, Association, Closure) - Method in SimpleMapQuery
queryAssociationList(def, Association, Closure) - Method in SimpleMapQuery
QueryBuildingFinder - Interface in org.grails.datastore.gorm.finders
Implemented by finders that build queries.
queryCache - Field in Query
QueryCreator - Interface in org.grails.datastore.mapping.query
Query for any class that creates Queries
queryCreator - Field in AbstractCriteriaBuilder
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
queryMetaClass - Field in AbstractCriteriaBuilder
QueryStringImplementer - Interface in org.grails.datastore.gorm.services.implementers
Created by graemerocher on 04/04/2017.
QueryStringTransformer - Class in org.grails.datastore.gorm.services.transform
This class handles type checking of HQL queries declared in Query annotations
QueryStringTransformer(SourceUnit, VariableScope) - Constructor in QueryStringTransformer

R

RangeConstraint - Class in org.grails.datastore.gorm.validation.constraints
Validates a range.
RangeConstraint(Class<?>, String, Object, MessageSource) - Constructor in RangeConstraint
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
read(Serializable) - Method in GormEntity
Retrieves and object from the datastore. eg.
read(Serializable) - Method in GormStaticApi
Retrieves and object from the datastore. eg.
read(Serializable) - Method in GormStaticOperations
Retrieves and object from the datastore. eg.
READ_ONLY_TYPE - Field in TransactionalTransform
read(Serializable) - Method in TenantDelegatingGormOperations
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 - Annotation Type in grails.gorm.transactions
Define a read-only transaction
readOnly - Field in AbstractCriteriaBuilder
readOnly(boolean) - Method in AbstractDetachedCriteria
readOnly(boolean) - Method in BuildableCriteria
Whether to cache the query should be readOnly
readOnly(boolean) - Method in Criteria
readOnly(boolean) - Method in CriteriaBuilder
readOnly - Field in Transactional
true if the transaction is read-only.
reconnect() - Method in AbstractDatastorePersistenceContextInterceptor
reconnect() - Method in AggregatePersistenceContextInterceptor
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 DelegatingGormEntityApi
refresh() - Method in EntityAccess
Refreshes the object from underlying entity state.
refresh() - Method in FieldEntityAccess
refresh() - Method in GormEntity
Refreshes the state of the current instance
refresh() - Method in GormEntityApi
Refreshes the state of the current instance
refresh(D) - Method in GormInstanceApi
Refreshes the state of the current instance
refresh(D) - Method in GormInstanceOperations
Refreshes the state of the current instance
refresh(D) - Method in GormStaticApi
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
refresh(D) - Method in TenantDelegatingGormOperations
refreshObjectStateFromNativeEntry(PersistentEntity, Object, Serializable, T, boolean) - Method in NativeEntryEntityPersister
REGEX_FILE_SEPARATOR - Field in AstUtils
register(ConverterRegistry) - Method in BasicTypeConverterRegistrar
registerBeans(BeanDefinitionRegistry, Closure) - Method in AbstractDatastoreInitializer.GrailsBeanBuilderInit
registerBeans(BeanDefinitionRegistry, Closure) - Method in AbstractDatastoreInitializer.GroovyBeanReaderInit
registerConstraints(Datastore) - Method in GormEnhancer
registerCustomType(CustomTypeMarshaller) - Method in MappingFactory
registerEntity(PersistentEntity) - Method in GormEnhancer
Registers a new entity with the GORM enhancer
registerEventListeners(ConfigurableApplicationEventPublisher) - Method in SimpleMapDatastore
registerInstanceMethod(Class, ExpandoMetaClass, AbstractGormApi, String, Class) - Method in GormEnhancer
registerNewMethodExpression(Class) - Method in DynamicFinder
Registers a new method expression.
registerPending(T) - Method in SessionImplementor
Register a pending object
registerStaticMethod(ExpandoMetaClass, String, Class<?>, GormStaticApi) - Method in GormEnhancer
rejectValue(Object, Errors, String, Object, String) - Method in AbstractConstraint
rejectValueWithDefaultMessage(Object, Errors, String, String, Object) - Method in AbstractConstraint
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(int) - Method in AbstractResultList
remove(Object) - Method in DirtyCheckingCollection
remove(int) - Method in DirtyCheckingList
remove(Object) - Method in DirtyCheckingMap
remove(Object) - Method in PagedResultList
remove(int) - Method in PersistentList
remove(Object) - Method in PropertyResolverMap
removeAll(Collection) - Method in AbstractPersistentCollection
removeAll(Collection) - Method in DirtyCheckingCollection
removeAll(Collection<?>) - Method in PagedResultList
removeAttributesForEntity(Object) - Method in AbstractAttributeStoringSession
removeConstraints() - Method in GormEnhancer
removeFrom(String, Object) - Method in GormEntity
Removes the given value to given association ensuring both sides are correctly disassociated
removeSession(Session) - Method in SessionHolder
RENAMED_METHOD_PREFIX - Field in TenantTransform
RENAMED_METHOD_PREFIX - Field in TransactionalTransform
replaceGenericsPlaceholders(ClassNode, Map<String, ClassNode>, ClassNode) - Method in AstUtils
resetDirty() - Method in AbstractPersistentCollection
resetDirty() - Method in PersistentCollection
Mark the collection as no longer dirty.
resetErrors(D) - Method in GormValidationApi
resolveConnectionForTenantId(MultiTenancySettings.MultiTenancyMode, Serializable) - Method in MultiTenancySettings
Resolves the connection to use for the given tenant id based on the current mode
RESOLVED_PROPERTY_NAME - Field in AbstractProjectionImplementer
resolveDefaultConstraints(ConnectionSourceSettings) - Method in DefaultValidatorRegistry
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
resolveDomainClassForReturnType(ClassNode, boolean, ClassNode) - Method in AbstractArrayOrIterableResultImplementer
Resolves the domain class type for the return type
resolveDomainClassForReturnType(ClassNode, boolean, ClassNode) - Method in FindAllByInterfaceProjectionImplementer
resolveDomainClassForReturnType(ClassNode, boolean, ClassNode) - Method in FindOneByImplementer
resolveDomainClassForReturnType(ClassNode, boolean, ClassNode) - Method in FindOneByInterfaceProjectionImplementer
resolveDomainClassFromSignature(ClassNode, MethodNode) - Method in AbstractReadOperationImplementer
Subclasses can override to provide resolution of the domain class from the method signature
resolveDomainClassFromSignature(ClassNode, MethodNode) - Method in FindAllByInterfaceProjectionImplementer
resolveDomainClassFromSignature(ClassNode, MethodNode) - Method in FindAllImplementer
resolveDomainClassFromSignature(ClassNode, MethodNode) - Method in FindAllInterfaceProjectionImplementer
resolveDomainClassFromSignature(ClassNode, MethodNode) - Method in FindAllWhereImplementer
resolveDomainClassFromSignature(ClassNode, MethodNode) - Method in FindAndDeleteImplementer
resolveDomainClassFromSignature(ClassNode, MethodNode) - Method in FindOneByInterfaceProjectionImplementer
resolveDomainClassFromSignature(ClassNode, MethodNode) - Method in FindOneImplementer
resolveDomainClassFromSignature(ClassNode, MethodNode) - Method in FindOneInterfaceProjectionImplementer
resolveDomainClassFromSignature(ClassNode, MethodNode) - Method in FindOneInterfaceProjectionStringQueryImplementer
resolveDomainClassFromSignature(ClassNode, MethodNode) - Method in FindOneInterfaceProjectionWhereImplementer
resolveDomainClassFromSignature(ClassNode, MethodNode) - Method in FindOnePropertyProjectionImplementer
resolveIdentifier() - Method in AbstractPersistentEntity
resolveIdentifier() - Method in EmbeddedPersistentEntity
resolveIdIfEntity(Object) - Method in Query
resolveIfEmbedded(def, def) - Method in SimpleMapQuery
If the property name refers to an embedded property like 'foo.startDate', then we need resolve the value of startDate by walking through the key list.
resolveMappingStrategy(Class) - Method in AbstractMappingContext
resolvePrefix(MethodNode) - Method in AbstractServiceImplementer
resolvePrefix(MethodNode) - Method in PrefixedServiceImplementer
Resolve the prefix used for the given method
resolveProjectionReturnType(ClassNode) - Method in FindOnePropertyProjectionImplementer
resolveReturnTypeForNewMethod(MethodNode) - Method in AbstractMethodDecoratingTransformation
resolveSchemaNames(DataSource) - Method in DefaultSchemaHandler
resolveSchemaNames(DataSource) - Method in SchemaHandler
@return Resolves the schema names
resolveSingleGenericType(ClassNode) - Method in AstGenericsUtils
Resolves a single generic type from the given class node
resolveTargetMetaClass(T, Class<T>) - Method in GroovyProxyFactory
resolveTenantIdentifier() - Method in CookieTenantResolver
resolveTenantIdentifier() - Method in FixedTenantResolver
resolveTenantIdentifier() - Method in HttpHeaderTenantResolver
resolveTenantIdentifier() - Method in NoTenantResolver
resolveTenantIdentifier() - Method in SessionTenantResolver
resolveTenantIdentifier() - Method in SubDomainTenantResolver
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
resultList - Field in PagedResultList
resume() - Method in SpringSessionSynchronization
retainAll(Collection) - Method in AbstractPersistentCollection
retainAll(Collection<?>) - Method in PagedResultList
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.
retrieveEntry(PersistentEntity, String, Serializable) - Method in SimpleMapEntityPersister
retrieveErrors(def) - Method in PersistentEntityValidator
retrieveSession(Class) - Method in AbstractDatastore
Static way to retrieve the session
rlike(String, Object) - Method in AbstractCriteriaBuilder
Creates an rlike Criterion based on the specified property name and value.
rlike(String, Object) - Method in AbstractDetachedCriteria
@see Criteria
rlike(String, Object) - Method in Criteria
Creates an rlike Criterion based on the specified property name and value
rlike(String, Object) - Method in DetachedCriteria
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 - Annotation Type in grails.gorm.transactions
A transforms that applies a transaction that always rolls back.
rollback() - Method in SessionOnlyTransaction
rollback() - Method in Transaction
Rollback the transaction.
rollbackFor - Field in ReadOnly
Defines zero (0) or more exception java.lang.Class, which must be a subclass of java.lang.Throwable, indicating which exception types must cause a transaction rollback.
rollbackFor - Field in Transactional
Defines zero (0) or more exception java.lang.Class, which must be a subclass of java.lang.Throwable, indicating which exception types must cause a transaction rollback.
rollbackForClassName - Field in ReadOnly
Defines zero (0) or more exception names (for exceptions which must be a subclass of java.lang.Throwable), indicating which exception types must cause a transaction rollback.
rollbackForClassName - Field in Transactional
Defines zero (0) or more exception names (for exceptions which must be a subclass of java.lang.Throwable), indicating which exception types must cause a transaction rollback.
rollbackOn(Throwable) - Method in CustomizableRollbackTransactionAttribute
rollbackOn(Throwable) - Method in GrailsTransactionAttribute
RollbackTransform - Class in org.grails.datastore.gorm.transactions.transform
ROOT_CALL - Field in AbstractCriteriaBuilder
ROOT_DO_CALL - Field in AbstractCriteriaBuilder
rootBuilder - Field in ConfigurationBuilder
rowCount() - Method in AbstractCriteriaBuilder
Count the number of records returned
rowCount() - Method in AbstractDetachedCriteria.DetachedProjections
rowCount() - Method in ProjectionList
Count the number of records returned
rowCount() - Method in Query.ProjectionList
RuntimeSupport - Class in org.grails.datastore.gorm.internal
Utility methods to support AST transforms at runtime

S

save(Map) - Method in DelegatingGormEntityApi
save(Map) - Method in GormEntity
Saves an object with the given parameters
save(Map) - Method in GormEntityApi
Saves an object with the given parameters
save(D, Map) - Method in GormInstanceApi
Saves an object with the given parameters
save(D, Map) - Method in GormInstanceOperations
Saves an object with the given parameters
save(D, Map) - Method in GormStaticApi
save(D, Map) - Method in TenantDelegatingGormOperations
saveAll(Iterable<?>) - Method in GormEntity
Saves a list of objects in one go
saveAll(Iterable<?>) - Method in GormStaticApi
Saves a list of objects in one go
saveAll(Iterable<?>) - Method in GormStaticOperations
Saves a list of objects in one go
saveAll(Iterable<?>) - Method in TenantDelegatingGormOperations
SaveImplementer - Class in org.grails.datastore.gorm.services.implementers
Implementations saving new entities
SaveOrUpdateEvent - Class in org.grails.datastore.mapping.engine.event
@author Burt Beckwith
SaveOrUpdateEvent(Datastore, Object) - Constructor in SaveOrUpdateEvent
ScaleConstraint - Class in org.grails.datastore.gorm.validation.constraints
Manages the scale for floating point numbers (i.e., the number of digits to the right of the decimal point).
ScaleConstraint(Class<?>, String, Object, MessageSource) - Constructor in ScaleConstraint
scan(Package) - Method in ClasspathEntityScanner
Scans the classpath for entities for the given packages
scanForPersistentClasses() - Method in AbstractDatastoreInitializer
SchemaHandler - Interface in org.grails.datastore.gorm.jdbc.schema
A resolver that helps resolve information about the database schema.
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.
SCROLL_CALL - Field in AbstractCriteriaBuilder
scroll(Closure) - Method in CriteriaBuilder
secondaryDatastore - Field in AbstractDatastoreInitializer
select(String) - Method in AbstractCriteriaBuilder
select(String) - Method in AbstractDetachedCriteria
Specifies whether a select (lazy) query should be used (if join queries are supported by the underlying datastore)
select(String) - Method in BuildableCriteria
Whether to select on an association
select(String) - Method in CriteriaBuilder
select(String) - Method in DetachedCriteria
select(String) - Method in Query
Specifies whether a select (lazy) query should be used (if join queries are supported by the underlying datastore)
SERIALIZABLE_CLASS_NODE - Field in GormEntityTransformation
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.
ServiceEnhancer - Interface in org.grails.datastore.gorm.services
ServiceImplementer - Interface in org.grails.datastore.gorm.services
An interface for classes that provide implementations for service methods
ServiceImplementerAdapter - Interface in org.grails.datastore.gorm.services
Allows adapting an implementer from one type to another
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
ServiceRegistryFactoryBean - Class in org.grails.datastore.gorm.bootstrap.support
@since
Authors:
Graeme Rocher
ServiceRegistryFactoryBean(Datastore) - Constructor in ServiceRegistryFactoryBean
services - Field in DefaultServiceRegistry
servicesByInterface - Field in DefaultServiceRegistry
ServiceTransformation - Class in org.grails.datastore.gorm.services.transform
Makes a class implement the Service trait and generates the necessary service loader META-INF/services file.
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 CriteriaBuilder
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
SessionTenantResolver - Class in org.grails.datastore.mapping.multitenancy.web
Resolves the tenant id from the user HTTP session
set(int, Object) - Method in AbstractResultList
set(int, Object) - Method in DirtyCheckingList
SET_META_CLASS - Field in GroovyObjectMethodHandler
set(int, E) - Method in PagedResultList
set(int, Object) - Method in PersistentList
SET_PROPERTY - Field in GroovyObjectMethodHandler
setAlias(String) - Method in AbstractDetachedCriteria
Sets the root alias to be used for the query
setAllowDynamic(boolean) - Method in ConstrainedPropertyBuilder
setApplicationContext(ApplicationContext) - Method in AbstractDatastore
setApplicationContext(ApplicationContext) - Method in SpringDataSourceConnectionSourceFactory
setArguments(Object) - Method in MethodExpression
setArguments(Object) - Method in MethodExpression.Between
setArguments(Object) - Method in MethodExpression.InList
setArguments(Object) - Method in MethodExpression.InRange
setArguments(Object) - Method in MethodExpression.NotInList
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(DynamicAttributes, String, Object) - Method in DynamicAttributeHelper
setAttribute(Object, String, Object) - Method in ProxyInstanceMetaClass
setAttribute(Object, String, Object) - Method in Session
Associates an attribute with the given persistent entity.
setAttributes(Map) - Method in DefaultConstrainedProperty
setBeanFactory(BeanFactory) - Method in DatastoreServiceMethodInvokingFactoryBean
setBeanFactory(BeanFactory) - Method in ServiceRegistryFactoryBean
setBlank(boolean) - Method in DefaultConstrainedProperty
@param blank The blank to set.
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
setCompilationUnit(CompilationUnit) - Method in DirtyCheckingTransformer
setCompilationUnit(CompilationUnit) - Method in GormEntityTransformation
setConnection(String) - Method in CustomizableRollbackTransactionAttribute
setConstraintFactories(ConstraintFactory) - Method in DefaultConstraintRegistry
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
setCreditCard(boolean) - Method in DefaultConstrainedProperty
@param creditCard The creditCard to set.
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
setDatastore(Datastore) - Method in OpenSessionInViewInterceptor
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
setDefaultNullable(boolean) - Method in ConstrainedPropertyBuilder
setDetachedCriteria(DetachedCriteria) - Method in DynamicFinderInvocation
setEmail(boolean) - Method in DefaultConstrainedProperty
@param email The email to set.
setEmbedded(T, String, T) - Method in NativeEntryEntityPersister
Implementors should override this method to provide support for embedded objects
setEmbedded(Map, String, Map) - Method in SimpleMapEntityPersister
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
setEntryValue(Map, String, def) - Method in SimpleMapEntityPersister
setEnumType(String) - Method in Property
setErrors(D, Errors) - Method in GormValidationApi
Sets the errors for an instance
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
setInheritRollbackOnly(boolean) - Method in GrailsTransactionAttribute
setInList(List) - Method in DefaultConstrainedProperty
@param inList The inList to set.
setInversePropertyName(String) - Method in ManyToMany
setInvertBooleanReturnValue(boolean) - Method in EventTriggerCaller
setKey(String) - Method in KeyValue
setLazy(Boolean) - Method in Property
setManyToMany(PersistentEntity, Object, T, ManyToMany, Collection, Map<Association, List<Serializable>>) - Method in NativeEntryEntityPersister
setManyToMany(PersistentEntity, Object, Map, ManyToMany, Collection, Map<Association, List<Serializable>>) - Method in SimpleMapEntityPersister
setMappingFactory(MappingFactory<Family, KeyValue>) - Method in KeyValueMappingContext
setMatches(String) - Method in DefaultConstrainedProperty
@param regex The matches to set.
setMax(Comparable) - Method in DefaultConstrainedProperty
@param max The max to set.
setMaxSize(Integer) - Method in DefaultConstrainedProperty
@param maxSize The maxSize to set.
setMin(Comparable) - Method in DefaultConstrainedProperty
@param min The min to set.
setMinSize(Integer) - Method in DefaultConstrainedProperty
@param minSize The minLength to set.
setName(String) - Method in Property
setNativeEntry(T) - Method in NativeEntryEntityPersister.NativeEntryModifyingEntityAccess
setNativeEvent(Serializable) - Method in AbstractPersistenceEvent
setNotEqual(Object) - Method in DefaultConstrainedProperty
@param notEqual The notEqual to set.
setNullable(boolean) - Method in DefaultConstrainedProperty
@param nullable The nullable to set.
setObject(T) - Method in InstanceFactoryBean
setObjectIdentifier(Object, Serializable) - Method in EntityPersister
Obtains an objects identifer
setObjectType(Class<?>) - Method in InstanceFactoryBean
setOwningSide(boolean) - Method in Association
Sets whether this association is the owning side
setOwningSide(boolean) - Method in Basic
setParent(Object, Object) - Method in ConstrainedPropertyBuilder
setPattern(String) - Method in DynamicFinder
Sets the pattern to use for this finder
setPattern(String) - Method in FinderMethod
@param pattern A regular expression
setPattern(String) - Method in ListOrderByFinder
setPooled(boolean) - Method in DataSourceBuilder
setProperty(String, Object) - Method in BeanEntityAccess
setProperty(String, Object) - Method in ClosureToMapPopulator
setProperty(String, Object) - Method in ConstrainedPropertyBuilder
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, def) - Method in InstanceProxy
setProperty(String, Object) - Method in ModificationTrackingEntityAccess
Sets a property value
setProperty(String, Object) - Method in NativeEntryEntityPersister.NativeEntryModifyingEntityAccess
setProperty(Object, String, Object) - Method in ProxyInstanceMetaClass
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(Range) - Method in DefaultConstrainedProperty
@param range The range to set.
setRange(ObjectRange) - Method in Property
setReadOnly() - Method in AbstractDatastorePersistenceContextInterceptor
setReadOnly() - Method in AggregatePersistenceContextInterceptor
setReadOnly(boolean) - Method in DataSourceBuilder
setReadWrite() - Method in AbstractDatastorePersistenceContextInterceptor
setReadWrite() - Method in AggregatePersistenceContextInterceptor
setReferencedPropertyName(String) - Method in Association
Sets the name of the inverse property
setResourceLoader(ResourceLoader) - Method in AbstractDatastoreInitializer
setResults(List) - Method in PostQueryEvent
Reset the list of results to a new list.
setSecondaryDatastore(boolean) - Method in AbstractDatastoreInitializer
Whether this datastore is secondary to another primary datastore (example the SQL DB)
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(Range) - Method in DefaultConstrainedProperty
@param size The size to set.
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
setTimestampProvider(TimestampProvider) - Method in AutoTimestampEventListener
setTimestampProviders(List<TimestampProvider>) - Method in AggregateTimestampProvider
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 AbstractCriteriaBuilder
setUniqueResult(boolean) - Method in Query
Here purely for compatibility
setUrl(boolean) - Method in DefaultConstrainedProperty
@param url The url to set.
setValidatedFields(List<?>) - Method in ValidationEvent
setValidator(Validator) - Method in GormValidationApi
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 DomainEventListener
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
shouldInject(URL) - Method in DirtyCheckingTransformer
shouldInject(URL) - Method in GormTransformer
shouldSaveOnCreate() - Method in FindOrCreateByFinder
shouldSaveOnCreate() - Method in FindOrSaveByFinder
shouldSkipValidation() - Method in GormValidateable
@return Whether this instance should skip validation
shouldWeave(AnnotationNode, ClassNode) - Method in AbstractTraitApplyingGormASTTransformation
shouldWeave(AnnotationNode, ClassNode) - Method in ServiceTransformation
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
SimpleMapConnectionSourceFactory - Class in org.grails.datastore.mapping.simple.connections
Simple implementation that just builds ConnectionSource instances from Maps
SimpleMapDatastore - Class in org.grails.datastore.mapping.simple
A simple implementation of the Datastore interface that backs onto an in-memory map.
SimpleMapDatastore(MappingContext, ConfigurableApplicationContext) - Constructor in SimpleMapDatastore
Creates a map based datastore for the specified mapping context
SimpleMapEntityPersister - Class in org.grails.datastore.mapping.simple.engine
A simple implementation of the EntityPersister abstract class that backs onto an in-memory map.
SimpleMapEntityPersister(MappingContext, PersistentEntity, Session, SimpleMapDatastore, ApplicationEventPublisher) - Constructor in SimpleMapEntityPersister
SimpleMapQuery - Class in org.grails.datastore.mapping.simple.query
Simple query implementation that queries a map of objects.
SimpleMapQuery(SimpleMapSession, PersistentEntity, SimpleMapEntityPersister) - Constructor in SimpleMapQuery
SimpleMapResultList - Class in org.grails.datastore.mapping.simple.query
@author Graeme Rocher
SimpleMapResultList(SimpleMapQuery) - Constructor in SimpleMapResultList
SimpleMapSession - Class in org.grails.datastore.mapping.simple
A simple implementation of the Session interface that backs onto an in-memory map.
SimpleMapSession(SimpleMapDatastore, MappingContext, ApplicationEventPublisher) - Constructor in SimpleMapSession
singleResult() - Method in Query
Executes the query returning a single result or null
SingleResultInterfaceProjectionBuilder - Trait in org.grails.datastore.gorm.services.implementers
Support trait for building interface projections
SingleResultProjectionServiceImplementer - Interface in org.grails.datastore.gorm.services.implementers
Represents a projection implementer
SingleResultServiceImplementer - Interface in org.grails.datastore.gorm.services.implementers
An implementer that returns a single result
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 AbstractResultList
size() - Method in DetachedCriteria
Synonym for #count()
size() - Method in PagedResultList
size() - Method in PropertyResolverMap
size() - Method in SessionHolder
SizeConstraint - Class in org.grails.datastore.gorm.validation.constraints
Validates size of the property, for strings and arrays this is the length, collections the size and numbers the value.
SizeConstraint(Class<?>, String, Object, MessageSource) - Constructor in SizeConstraint
sizeEq(String, int) - Method in AbstractCriteriaBuilder
sizeEq(String, int) - Method in AbstractDetachedCriteria
@see Criteria
sizeEq(String, int) - Method in Criteria
Creates a Criterion that constrains a collection property by size
sizeEq(String, int) - Method in DetachedCriteria
sizeEq(String, int) - Method in Restrictions
Used to restrict the size of a collection property
sizeGe(String, int) - Method in AbstractCriteriaBuilder
sizeGe(String, int) - Method in AbstractDetachedCriteria
@see Criteria
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 DetachedCriteria
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 AbstractCriteriaBuilder
sizeGt(String, int) - Method in AbstractDetachedCriteria
@see Criteria
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 DetachedCriteria
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 AbstractCriteriaBuilder
sizeLe(String, int) - Method in AbstractDetachedCriteria
@see Criteria
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 DetachedCriteria
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 AbstractCriteriaBuilder
sizeLt(String, int) - Method in AbstractDetachedCriteria
@see Criteria
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 DetachedCriteria
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 AbstractCriteriaBuilder
sizeNe(String, int) - Method in AbstractDetachedCriteria
@see Criteria
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 DetachedCriteria
sizeNe(String, int) - Method in Restrictions
Creates a Criterion that contrains a collection property to be not equal to the given size
skipBlankValues() - Method in AbstractConstraint
skipBlankValues() - Method in BlankConstraint
skipBlankValues() - Method in ValidatorConstraint
skipNullValues() - Method in AbstractConstraint
skipNullValues() - Method in NullableConstraint
skipNullValues() - Method in ValidatorConstraint
skipValidation(boolean) - Method in GormValidateable
Marks this instance to skip validation
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.
sort(String, String) - Method in AbstractDetachedCriteria
Adds a sort order to this criteria instance
sort(String, String) - Method in DetachedCriteria
Adds a sort order to this criteria instance
source - Field in DefaultConnectionSource
SpringDataSourceConnectionSourceFactory - Class in org.grails.datastore.gorm.jdbc.connections
A DataSourceConnectionSourceFactory for building data sources that could come from spring
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
staticDetachedCriteriaVariables - Field in DetachedCriteriaTransformer
StaticMethodInvokingClosure - Class in org.grails.datastore.gorm.internal
Not public API.
StaticMethodInvokingClosure(def, String, Class) - Constructor in StaticMethodInvokingClosure
staticMethodMissing(String, def) - Method in GormEntity
Handles static method missing for dynamic finders
staticPropertyMissing(String, def) - Method in GormEntity
Handles property missing, does nothing by default, sub traits to override
storeDateCreatedAndLastUpdatedInfo(PersistentEntity) - Method in AutoTimestampEventListener
storeEntry(PersistentEntity, EntityAccess, K, T) - Method in NativeEntryEntityPersister
Stores the native form of a Key/value datastore to the actual data store
storeEntry(PersistentEntity, EntityAccess, def, Map) - Method in SimpleMapEntityPersister
storeTimestampAvailability(Map<String, Boolean>, PersistentEntity, PersistentProperty<?>) - Method in AutoTimestampEventListener
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
SubDomainTenantResolver - Class in org.grails.datastore.mapping.multitenancy.web
A tenant resolver that resolves the tenant from the Subdomain
subList(int, int) - Method in PagedResultList
subList(int, int) - Method in PersistentList
subqueryIfNecessary(PropertyCriterion, boolean) - Method in SimpleMapQuery
subSet(Object, Object) - Method in PersistentSortedSet
sum(String) - Method in AbstractCriteriaBuilder
Computes the sum of a property
sum(String) - Method in AbstractDetachedCriteria
Adds a sum projection
sum(String) - Method in AbstractDetachedCriteria.DetachedProjections
sum(String) - Method in DetachedCriteria
Adds a sum projection
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
SUPPORTED_EVENTS - Field in MultiTenantEventListener
supports(MappingContext) - Method in AbstractMappingAwareCustomTypeMarshaller
supports(Class) - Method in BlankConstraint
supports(Class) - Method in Constraint
Returns whether the constraint supports being applied against the specified type;
supports(Class) - Method in ConstraintFactory
The target type this factory supports
supports(Class) - Method in CreditCardConstraint
supports(Datastore) - Method in CustomTypeMarshaller
@deprecated Use supports(MappingContext) instead
supports(Class) - Method in DefaultConstraintFactory
supports(Class) - Method in EmailConstraint
supports(Class) - Method in InListConstraint
supports(Class) - Method in MatchesConstraint
supports(Class) - Method in MaxConstraint
supports(Class) - Method in MaxSizeConstraint
supports(Class) - Method in MinConstraint
supports(Class) - Method in MinSizeConstraint
supports(Class) - Method in NotEqualConstraint
supports(Class) - Method in NullableConstraint
supports(Class<?>) - Method in PersistentEntityValidator
supports(Class) - Method in RangeConstraint
supports(Class) - Method in ScaleConstraint
supports(Class) - Method in SizeConstraint
supports(Class) - Method in UniqueConstraint
supports(Class) - Method in UrlConstraint
supports(Class) - Method in ValidatorConstraint
supportsContraint(String) - Method in ConstrainedProperty
Check whether a given constraint type is supported
supportsContraint(String) - Method in DefaultConstrainedProperty
Checks with this ConstraintedProperty instance supports applying the specified constraint.
supportsCreating(Class<?>) - Method in AggregateTimestampProvider
supportsCreating(Class<?>) - Method in DefaultTimestampProvider
supportsCreating(Class<?>) - Method in TimestampProvider
Whether a timestamp can be created for the given type
supportsCustomType(Class<?>) - Method in GormMappingConfigurationStrategy
supportsEventType(Class<? extends ApplicationEvent>) - Method in AutoTimestampEventListener
supportsEventType(Class<? extends ApplicationEvent>) - Method in DomainEventListener
{@inheritDoc}
supportsEventType(Class<? extends ApplicationEvent>) - Method in MultiTenantEventListener
supportsEventType(Class<? extends ApplicationEvent>) - Method in ValidationEventListener
supportsSourceType(Class<?>) - Method in AbstractPersistenceEventListener
supportsSourceType(Class<?>) - Method in MultiTenantEventListener
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
targetClass - Field in AbstractCriteriaBuilder
targetClass - Field in AbstractDetachedCriteria
targetClass - Field in MethodExpression
@deprecated Do not use
task(Closure<T>) - Method in GormAsyncStaticApi
Used to perform a sequence of operations asynchronously
TemporalConverter - Trait in grails.gorm.time
Tenant - Annotation Type in grails.gorm.multitenancy
TENANT_ANNOTATION_TYPE - Field in TenantTransform
TENANT_IDENTITY - Field in GormProperties
TenantDelegatingGormOperations - Class in org.grails.datastore.gorm.multitenancy
Wraps each method call in the the given tenant id
TenantDelegatingGormOperations(Datastore, Serializable, GormAllOperations<D>) - Constructor in TenantDelegatingGormOperations
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
Tenants - Class in grails.gorm.multitenancy
Helper methods for working with multi tenancy
Tenants.CurrentTenant - Class in grails.gorm.multitenancy
TenantService - Interface in grails.gorm.multitenancy
A Service with utility methods for working with Multi-Tenancy
tenantService() - Method in AbstractServiceImplementer
@return The tenant service
TenantTransform - Class in org.grails.datastore.gorm.multitenancy.transform
Implementation of Tenant
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
timeout - Field in ReadOnly
The timeout for this transaction.
timeout - Field in Transactional
The timeout for this transaction.
TimestampProvider - Interface in org.grails.datastore.gorm.timestamp
*************************************************************************** Copyright 2014 original authors
toArray(Object) - Method in AbstractPersistentCollection
toArray(T) - Method in PagedResultList
toConfiguration(B) - Method in ConfigurationBuilder
Convert the builder to the final configuration
toConfiguration(ConnectionSourceSettings) - Method in ConnectionSourceSettingsBuilder
toConfiguration(DataSourceSettings) - Method in DataSourceSettingsBuilder
toHibernateProperties() - Method in DataSourceSettings
Convert to Hibernate properties
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
toProperties() - Method in DataSourceSettings
@return Convert to datasource properties
toString() - Method in AbstractConstraint
toString() - Method in AbstractPersistentCollection
toString() - Method in AbstractPersistentEntity
toString() - Method in AbstractPersistentProperty
toString() - Method in Association
toString() - Method in GrailsVersion
toString() - Method in Snapshot
totalCount - Field in PagedResultList
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.
TRANSACTION_MANAGER_BEAN - Field in AbstractDatastoreInitializer
Transactional - Annotation Type in grails.gorm.transactions
Describes transaction attributes on a method or class.
transactionalDatastore() - Method in AbstractServiceImplementer
@return The datastore expression
TransactionalTransform - Class in org.grails.datastore.gorm.transactions.transform
TransactionCapableDatastore - Interface in org.grails.datastore.mapping.transactions
An interface for Datastore implementations that support transaction management
transactionManager - Field in GormStaticApi
TransactionObject - Class in org.grails.datastore.mapping.transactions
A transaction object returned when the transaction is created.
TransactionService - Interface in grails.gorm.transactions
A GORM service that simplifies the execution of transactions
transactionService() - Method in AbstractServiceImplementer
@return The transaction service
TransactionUtils - Class in org.grails.datastore.mapping.transactions
Utility methods for Transactions.
TRANSFORM_APPLIED_MARKER - Field in AstUtils
transform(Expression) - Method in QueryStringTransformer
transformClosureExpression(ClassNode, ClosureExpression) - Method in DetachedCriteriaTransformer
transformDeclarationExpression(DeclarationExpression) - Method in QueryStringTransformer
transformPropertyExpressions(Expression) - Method in QueryStringTransformer
transformQuery(GStringExpression) - Method in QueryStringTransformer
TRANSIENT - Field in GormProperties
traversableResolver(TraversableResolver) - Method in GormValidatorFactoryAdapter.GormValidatorContext
type - Field in AbstractPersistentProperty
TYPE_CHECKED_TYPE - Field in AstUtils
type(Class<? extends DataSource>) - Method in DataSourceBuilder
type - Field in Join
@default {}
Returns:
The join type

U

unbindSession(Session) - Method in DatastoreUtils
Unbinds and closes a session.
uninitializedEntities - Field in AutoTimestampEventListener
unique(List<String>) - Method in Property
UniqueConstraint - Class in org.grails.datastore.gorm.validation.constraints.builtin
A constraint that validates for the presence of an existing object (uniqueness)
UniqueConstraint(Class<?>, String, Object, MessageSource) - Constructor in UniqueConstraint
uniqueResult - Field in AbstractCriteriaBuilder
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
unsupported(def) - Method in GormStaticApi
unwrap(Object) - Method in EntityProxyHandlerAdapter
unwrap(Class<T>) - Method in GormValidatorFactoryAdapter
unwrap(Object) - Method in GroovyProxyFactory
unwrap(Object) - Method in JavassistProxyFactory
Unwraps the given proxy if it is one
unwrap(Class<T>) - Method in JavaxValidatorRegistry
unwrap(Object) - Method in ProxyHandler
Unwraps the given proxy if it is one
unwrapIfProxy(Object) - Method in ProxyHandlerAdapter
UPDATE_CLAUSE - Field in JpaQueryBuilder
updateAll(Map) - Method in DetachedCriteria
Updates all entities matching this criteria
updateAll(Map) - Method in GormOperations
Updates all entities matching this criteria
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
updateEntry(PersistentEntity, EntityAccess, def, Map) - Method in SimpleMapEntityPersister
UpdateOneImplementer - Class in org.grails.datastore.gorm.services.implementers
Implements an update operation that returns the updated domain class
UpdateStringQueryImplementer - Class in org.grails.datastore.gorm.services.implementers
Support for update String-queries
updateTPCache(PersistentEntity, T, Serializable) - Method in ThirdPartyCacheEntityPersister
url(String) - Method in DataSourceBuilder
UrlConstraint - Class in org.grails.datastore.gorm.validation.constraints
Validates a url.
UrlConstraint(Class<?>, String, Object, MessageSource) - Constructor in UrlConstraint
useDefaultSchema(Connection) - Method in DefaultSchemaHandler
useDefaultSchema(Connection) - Method in SchemaHandler
Uses the given schema.
username(String) - Method in DataSourceBuilder
useSchema(Connection, String) - Method in DefaultSchemaHandler
useSchema(Connection, String) - Method in SchemaHandler
Uses the given schema.
usesConnectionSource(PersistentEntity, String) - Method in ConnectionSourcesSupport
Returns whether the given entity uses the give connection source name or not
usingContext() - Method in GormValidatorFactoryAdapter
usingContext() - Method in JavaxValidatorRegistry

V

validate(Object, Object, Errors) - Method in AbstractConstraint
validate(Object, Errors, boolean) - Method in CascadingValidator
An extended version of the validate(errors,obj) method that takes an additional argument specifying whether the Validator should cascade into associations or not.
validate(Object, Object, Errors) - Method in ConstrainedProperty
Validate this constrainted property against specified property value
validate(Object, Object, Errors) - Method in Constraint
Validate this constraint against a property value.
validate(Object, Object, Errors) - Method in DefaultConstrainedProperty
Validate this constrainted property against specified property value
validate() - Method in GormValidateable
Validates an instance
validate(D) - Method in GormValidationApi
Validates an instance
validate(T, Class<?>) - Method in GormValidatorAdapter
validate(Object, Errors, boolean) - Method in PersistentEntityValidator
validate(Object, Method, Object) - Method in ValidatedService
Validate the given method for the given arguments
ValidatedService - Trait in org.grails.datastore.gorm.validation.javax.services
A service that is validated by javax.validation
validateParameter(Object) - Method in AbstractConstraint
Validate the parameter passed
validateParameter(Object) - Method in BlankConstraint
validateParameter(Object) - Method in CreditCardConstraint
validateParameter(Object) - Method in EmailConstraint
validateParameter(Object) - Method in InListConstraint
validateParameter(Object) - Method in MatchesConstraint
validateParameter(Object) - Method in MaxConstraint
validateParameter(Object) - Method in MaxSizeConstraint
validateParameter(Object) - Method in MinConstraint
validateParameter(Object) - Method in MinSizeConstraint
validateParameter(Object) - Method in NotEqualConstraint
validateParameter(Object) - Method in NullableConstraint
validateParameter(Object) - Method in RangeConstraint
validateParameter(Object) - Method in ScaleConstraint
validateParameter(Object) - Method in SizeConstraint
validateParameter(Object) - Method in UniqueConstraint
validateParameter(Object) - Method in UrlConstraint
validateParameter(Object) - Method in ValidatorConstraint
validatePropertyName(String, String) - Method in AbstractCriteriaBuilder
validateWithVetoing(Object, Object, Errors) - Method in AbstractVetoingConstraint
validateWithVetoing(Object, Object, Errors) - Method in VetoingConstraint
Invoke validation with vetoing capabilities
VALIDATION_EXCEPTION_TYPE - Field in ValidationException
ValidationConfigurationException - Class in grails.gorm.validation.exceptions
An exception thrown when there is an error configuration validation
ValidationConfigurationException(String, Throwable) - Constructor in ValidationConfigurationException
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
ValidationEventListener - Class in org.grails.datastore.gorm.validation.listener
An event listener for ensuring entities are valid before saving or updating
ValidationEventListener(Datastore) - Constructor in ValidationEventListener
ValidationException - Class in org.grails.datastore.mapping.validation
Exception thrown when a validation error occurs
ValidationException(String, Errors) - Constructor in ValidationException
ValidatorConstraint - Class in org.grails.datastore.gorm.validation.constraints
ValidatorConstraint(Class<?>, String, Object, MessageSource) - Constructor in ValidatorConstraint
ValidatorProvider - Interface in org.grails.datastore.gorm.validation
A class that provides a validator
ValidatorRegistries - Class in org.grails.datastore.gorm.validation.registry.support
Utility methods for creating Validator registries
ValidatorRegistry - Interface in org.grails.datastore.mapping.validation
Strategy interface for looking up validators
validatorRegistry - Field in AbstractMappingContext
value - Field in GormASTTransformationClass
value - Field in Join
@return The property name to join on
value() - Method in Query
value - Field in Query.PropertyCriterion
value - Field in ReadOnly
A qualifier value for the specified transaction.
value() - Method in Rollback
The connection to rollback for @default ""
value - Field in Service
@default Object.class
Returns:
The domain class this service operates with
value - Field in Tenant
The tenant resolver
value - Field in Transactional
A qualifier value for the specified transaction.
value - Field in Where
ValueGenerator - Enum in org.grails.datastore.mapping.model
Value generation strategies
values() - Method in PropertyResolverMap
VAR_TENANT_ID - Field in TenantTransform
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
VetoingConstraint - Interface in grails.gorm.validation
visit(SourceUnit, AnnotationNode, AnnotatedNode) - Method in AbstractGormASTTransformation
visit(SourceUnit, AnnotationNode, AnnotatedNode) - Method in AbstractMethodDecoratingTransformation
visit(SourceUnit, AnnotationNode, ClassNode) - Method in AbstractTraitApplyingGormASTTransformation
visit(ClassNode, SourceUnit) - Method in AdditionalGormEntityTransformation
Visit the transform
visit(ASTNode, SourceUnit) - Method in DetachedCriteriaASTTransformation
The method is invoked when an AST Transformation is active.
visit(ASTNode, SourceUnit) - Method in DirtyCheckTransformation
visit(ASTNode, SourceUnit) - Method in GlobalDetachedCriteriaASTTransformation
The method is invoked when an AST Transformation is active.
visit(ASTNode, SourceUnit) - Method in GlobalJpaEntityTransform
visit(ASTNode, SourceUnit) - Method in GlobalTraitRepairTransformation
visit(ClassNode, SourceUnit) - Method in GormEntityTransformation
visit(ClassNode, SourceUnit) - Method in JpaGormEntityTransformation
visit(ASTNode, SourceUnit) - Method in OrderedGormTransformation
visitAfterTraitApplied(SourceUnit, AnnotationNode, ClassNode) - Method in AbstractTraitApplyingGormASTTransformation
visitAfterTraitApplied(SourceUnit, AnnotationNode, ClassNode) - Method in ServiceTransformation
visitClass(ClassNode) - Method in DetachedCriteriaTransformer
visitClass(ClassNode, SourceUnit) - Method in GlobalJpaEntityTransform
visitClass(ClassNode) - Method in GlobalTraitRepairTransformation
visitDeclarationExpression(DeclarationExpression) - Method in DetachedCriteriaTransformer
visitField(FieldNode) - Method in DetachedCriteriaTransformer
visitMethod(MethodNode) - Method in DetachedCriteriaTransformer
visitMethodCallExpression(MethodCallExpression) - Method in DetachedCriteriaTransformer
visitStaticMethodCallExpression(StaticMethodCallExpression) - Method in DetachedCriteriaTransformer
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
weaveClassNode(SourceUnit, AnnotationNode, ClassNode) - Method in AbstractMethodDecoratingTransformation
weaveClassNode(SourceUnit, AnnotationNode, ClassNode) - Method in TransactionalTransform
weaveIntoExistingSetter(String, DirtyCheckingTransformer.GetterAndSetter, MethodNode) - Method in DirtyCheckingTransformer
weaveNewMethod(SourceUnit, AnnotationNode, ClassNode, MethodNode, Map<String, ClassNode>) - Method in AbstractMethodDecoratingTransformation
Weaves a new method
weaveNewMethod(SourceUnit, AnnotationNode, ClassNode, MethodNode, Map<String, ClassNode>) - Method in TransactionalTransform
weaveParameterNameData(ClassNode, MethodNode, MethodNode) - Method in MethodValidationImplementer
weaveSetTargetDatastoreBody(SourceUnit, AnnotationNode, ClassNode, Expression, BlockStatement) - Method in AbstractDatastoreMethodDecoratingTransformation
weaveSetTargetDatastoreBody(SourceUnit, AnnotationNode, ClassNode, Expression, BlockStatement) - Method in TransactionalTransform
weaveTestSetupMethod(SourceUnit, AnnotationNode, ClassNode, MethodNode, Map<String, ClassNode>) - Method in AbstractMethodDecoratingTransformation
weaveTestSetupMethod(SourceUnit, AnnotationNode, ClassNode, MethodNode, Map<String, ClassNode>) - Method in TransactionalTransform
weaveTrait(ClassNode, SourceUnit, Class, ClassNode) - Method in AbstractTraitApplyingGormASTTransformation
Weave the given trait into the given ClassNode
weaveTraitWithGenerics(ClassNode, Class, ClassNode) - Method in AbstractTraitApplyingGormASTTransformation
weaveTransactionManagerAware(SourceUnit, AnnotationNode, ClassNode) - Method in TransactionalTransform
Where - Annotation Type in grails.gorm.services
Allow specifying the where query to execute
where(Closure) - Method in AbstractDetachedCriteria
Where method derives a new query from this query.
where(Closure) - Method in DetachedCriteria
Where method derives a new query from this query.
where(Closure) - Method in GormEntity
@param callable Callable closure containing detached criteria definition
where(Closure) - Method in GormStaticApi
@param callable Callable closure containing detached criteria definition
where(Closure) - Method in GormStaticOperations
@param callable Callable closure containing detached criteria definition
WHERE_LAZY - Field in DetachedCriteriaTransformer
where(Closure) - Method in TenantDelegatingGormOperations
whereAny(Closure) - Method in GormEntity
@param callable Callable closure containing detached criteria definition
whereAny(Closure) - Method in GormStaticApi
@param callable Callable closure containing detached criteria definition
whereAny(Closure) - Method in GormStaticOperations
@param callable Callable closure containing detached criteria definition
whereAny(Closure) - Method in TenantDelegatingGormOperations
whereLazy(Closure) - Method in AbstractDetachedCriteria
Where method derives a new query from this query.
whereLazy(Closure) - Method in DetachedCriteria
Where method derives a new query from this query.
whereLazy(Closure) - Method in GormEntity
@param callable Callable closure containing detached criteria definition
whereLazy(Closure) - Method in GormStaticApi
@param callable Callable closure containing detached criteria definition
whereLazy(Closure) - Method in GormStaticOperations
@param callable Callable closure containing detached criteria definition
whereLazy(Closure) - Method in TenantDelegatingGormOperations
withConnection(String) - Method in AbstractDetachedCriteria
Create a return a new DetachedCriteria that uses the given connection
withConnection(String) - Method in DetachedCriteria
withCriteria(Map, Closure) - Method in GormEntity
Creates a criteria builder instance
withCriteria(Map, Closure) - Method in GormStaticApi
Creates a criteria builder instance
withCriteria(Map, Closure) - Method in GormStaticOperations
Creates a criteria builder instance
withCriteria(Map, Closure) - Method in TenantDelegatingGormOperations
withCurrent(Closure<T>) - Method in DefaultTenantService
withCurrent(Class<? extends Datastore>, Closure<T>) - Method in Tenants
Execute the given closure with the current tenant
withCurrent(Closure<T>) - Method in TenantService
Execute the given closure with the current tenant.
withDatastoreSession(Closure<T>) - Method in GormEntity
Same as withSession, but present for the case where withSession is overridden to use the Hibernate session
withDatastoreSession(Closure<T>) - Method in GormStaticApi
Same as withSession, but present for the case where withSession is overridden to use the Hibernate session
withDatastoreSession(Closure<T>) - Method in GormStaticOperations
Same as withSession, but present for the case where withSession is overridden to use the Hibernate session
withDatastoreSession(Closure<T>) - Method in TenantDelegatingGormOperations
withId(Serializable, Closure<T>) - Method in DefaultTenantService
withId(MultiTenantCapableDatastore, Serializable, Closure<T>) - Method in Tenants
Execute the given closure with given tenant id for the given datastore.
withId(Serializable, Closure<T>) - Method in TenantService
Execute the given closure with given tenant id.
withNewSession(Closure<T>) - Method in GormEntity
Creates and binds a new session for the scope of the given closure
withNewSession(Closure<T>) - Method in GormStaticApi
Creates and binds a new session for the scope of the given closure
withNewSession(Closure<T>) - Method in GormStaticOperations
Creates and binds a new session for the scope of the given closure
withNewSession(Serializable, Closure<T1>) - Method in MultiTenantCapableDatastore
Execute a new session with the given tenantId IF the session is not already present.
withNewSession(Serializable, Closure<T1>) - Method in SimpleMapDatastore
withNewSession(Closure<T>) - Method in TenantDelegatingGormOperations
withNewTransaction(TransactionDefinition, Closure<T>) - Method in DefaultTransactionService
withNewTransaction(Map, Closure<T>) - Method in GormEntity
Executes the closure within the context of a new transaction which is configured with the properties contained in transactionProperties.
withNewTransaction(Map, Closure<T>) - Method in GormStaticApi
Executes the closure within the context of a new transaction which is configured with the properties contained in transactionProperties.
withNewTransaction(Map, Closure<T>) - Method in GormStaticOperations
Executes the closure within the context of a new transaction which is configured with the properties contained in transactionProperties.
withNewTransaction(Map, Closure<T>) - Method in TenantDelegatingGormOperations
withNewTransaction(TransactionDefinition, Closure<T>) - Method in TransactionService
Executes the given callable within the context of a new transaction with the default attributes
WITHOUT_TENANT_ANNOTATION_TYPE - Field in TenantTransform
withoutDateCreated(Class, Runnable) - Method in AutoTimestampEventListener
Temporarily disables the date created processing only on the provided class during the execution of the runnable
withoutId(Closure<T>) - Method in DefaultTenantService
withoutId(MultiTenantCapableDatastore, Closure<T>) - Method in Tenants
Execute the given closure without tenant id for the given datastore.
withoutId(Closure<T>) - Method in TenantService
Execute the given closure without any tenant id.
withoutLastUpdated(Class, Runnable) - Method in AutoTimestampEventListener
Temporarily disables the last updated processing only on the provided class during the execution of the runnable
WithoutTenant - Annotation Type in grails.gorm.multitenancy
withoutTenant(Closure<T>) - Method in Tenants.CurrentTenant
Execute without current tenant
withoutTimestamps(Class, Runnable) - Method in AutoTimestampEventListener
Temporarily disables the timestamp processing during the execution of the runnable
withRollback(TransactionDefinition, Closure<T>) - Method in DefaultTransactionService
withRollback(TransactionDefinition, Closure<T>) - Method in TransactionService
Executes the given callable within the context of a transaction that is automatically rolled back with the default attributes
withSession(Closure<T>) - Method in AbstractDatastore
withSession(Closure<T>) - Method in Datastore
Execute the given closure with a session
withSession(Closure<T>) - Method in GormEntity
Execute a closure whose first argument is a reference to the current session.
withSession(Closure<T>) - Method in GormStaticApi
Execute a closure whose first argument is a reference to the current session.
withSession(Closure<T>) - Method in GormStaticOperations
Execute a closure whose first argument is a reference to the current session.
withSession(Closure<T>) - Method in TenantDelegatingGormOperations
withStatelessSession(Closure<T>) - Method in GormEntity
Creates and binds a new session for the scope of the given closure
withStatelessSession(Closure<T>) - Method in GormStaticApi
Creates and binds a new session for the scope of the given closure
withStatelessSession(Closure<T>) - Method in GormStaticOperations
Creates and binds a new session for the scope of the given closure
withStatelessSession(Closure<T>) - Method in TenantDelegatingGormOperations
withTenant(Serializable) - Method in GormStaticApi
withTenant(Serializable) - Method in GormStaticOperations
Return the GormAllOperations for the given tenant id
withTenant(Serializable) - Method in MultiTenant
Return the GormAllOperations for the given tenant id
withTenant(Serializable) - Method in TenantDelegatingGormOperations
withTenant(Serializable, Closure<T>) - Method in Tenants.CurrentTenant
Execute with the current tenant
withTransaction(Map, Closure<T>) - Method in DefaultTransactionService
withTransaction(TransactionDefinition, Closure<T>) - Method in GormEntity
Executes the closure within the context of a transaction for the given org.springframework.transaction.TransactionDefinition
withTransaction(TransactionDefinition, Closure<T>) - Method in GormStaticApi
Executes the closure within the context of a transaction for the given org.springframework.transaction.TransactionDefinition
withTransaction(TransactionDefinition, Closure<T>) - Method in GormStaticOperations
Executes the closure within the context of a transaction for the given org.springframework.transaction.TransactionDefinition
withTransaction(TransactionDefinition, Closure<T>) - Method in TenantDelegatingGormOperations
withTransaction(Map, Closure<T>) - Method in TransactionService
Executes the given callable within the context of a transaction with the given definition
wrap(Collection, DirtyCheckable, String) - Method in DirtyCheckingSupport
Wraps a collection in dirty checking capability
wrapNullInNoopCaller(EventTriggerCaller) - Method in EventTriggerCaller
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
ZERO_PARAMS - Field in DomainEventListener
ZonedDateTimeConverter - Trait in grails.gorm.time
A trait to convert a java.time.ZonedDateTime to and from a long

_

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 _