- AbstractAttributeStoringSession - Class in org.grails.datastore.mapping.core
- AbstractClassMapping - Class in org.grails.datastore.mapping.model
Abstract implementation of the ClassMapping interface.
- AbstractClassMapping(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext) - Constructor in AbstractClassMapping
-
- AbstractConnectionSourceFactory - Class in org.grails.datastore.mapping.core.connections
- AbstractConnectionSources - Class in org.grails.datastore.mapping.core.connections
- AbstractConnectionSources(ConnectionSource<T, S>, ConnectionSourceFactory<T, S>, org.springframework.core.env.PropertyResolver) - Constructor in AbstractConnectionSources
-
- AbstractDatastore - Class in org.grails.datastore.mapping.core
Abstract Datastore implementation that deals with binding the Session to thread locale upon creation.
- AbstractDatastore(org.grails.datastore.mapping.model.MappingContext, Map<String,Object>, org.springframework.context.ConfigurableApplicationContext, org.grails.datastore.mapping.cache.TPCacheAdapterRepository) - Constructor in AbstractDatastore
-
- AbstractGormMappingFactory - Class in org.grails.datastore.mapping.config
Abstract GORM implementation that uses the GORM MappingConfigurationBuilder to configure entity mappings.
- AbstractKeyValueEntityPersister - Class in org.grails.datastore.mapping.keyvalue.engine
Abstract implementation of the EntityPersister abstract class
for key/value style stores.
- AbstractKeyValueEntityPersister(org.grails.datastore.mapping.model.MappingContext, org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.core.Session, org.springframework.context.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(org.grails.datastore.mapping.core.connections.ConnectionSourceSettings) - Constructor in AbstractMappingContext
-
- AbstractPersistenceEvent - Class in org.grails.datastore.mapping.engine.event
- AbstractPersistenceEvent(org.grails.datastore.mapping.core.Datastore, java.lang.Object) - Constructor in AbstractPersistenceEvent
-
- AbstractPersistenceEventListener - Class in org.grails.datastore.mapping.engine.event
- AbstractPersistenceEventListener(org.grails.datastore.mapping.core.Datastore) - Constructor in AbstractPersistenceEventListener
-
- AbstractPersistentCollection - Class in org.grails.datastore.mapping.collection
Abstract base class for persistent collections.
- AbstractPersistentCollection(java.io.Serializable, org.grails.datastore.mapping.core.Session, org.grails.datastore.mapping.engine.AssociationQueryExecutor, java.util.Collection) - Constructor in AbstractPersistentCollection
-
- AbstractPersistentEntity - Class in org.grails.datastore.mapping.model
Abstract implementation to be subclasses on a per datastore basis
- AbstractPersistentEntity(java.lang.Class, org.grails.datastore.mapping.model.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(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.lang.String, java.lang.Class) - Constructor in AbstractPersistentProperty
-
- AbstractQueryEvent - Class in org.grails.datastore.mapping.query.event
Base class for query events.
- AbstractQueryEvent(java.lang.Object, org.grails.datastore.mapping.query.Query) - Constructor in AbstractQueryEvent
-
- AbstractSession - Class in org.grails.datastore.mapping.core
Abstract implementation of the
Session interface that uses
a list of
Persister instances
to save, update and delete instances
- AbstractSession(org.grails.datastore.mapping.core.Datastore, org.grails.datastore.mapping.model.MappingContext, org.springframework.context.ApplicationEventPublisher, org.grails.datastore.mapping.cache.TPCacheAdapterRepository, boolean) - Constructor in AbstractSession
-
- accessType - Property in Property
-
- Returns:
- The default access type to use to read and write property values
- add(java.lang.Object) - Method in AbstractPersistentCollection
-
- add(java.lang.Object) - Method in DirtyCheckingCollection
-
- add(int, java.lang.Object) - Method in DirtyCheckingList
-
- add(int, java.lang.Object) - Method in PersistentList
-
- add(Junction, org.grails.datastore.mapping.query.Query.Criterion) - Method in Query
-
Adds the specified criterion instance to the given junction
- add(org.grails.datastore.mapping.query.Query.Criterion) - Method in Query.Junction
-
- add(Projection) - Method in Query.ProjectionList
-
- addAll(java.util.Collection) - Method in AbstractPersistentCollection
-
- addAll(java.util.Collection) - Method in DirtyCheckingCollection
-
- addAll(int, java.util.Collection) - Method in DirtyCheckingList
-
- addAll(int, java.util.Collection) - Method in PersistentList
-
- addAnnotationIfNecessary(org.codehaus.groovy.ast.AnnotatedNode, Class<? extends Annotation>) - Method in AstAnnotationUtils
-
Adds an annotation to the give nclass node if it doesn't already exist
- addAnnotationIfNecessary(org.codehaus.groovy.ast.AnnotatedNode, Class<? extends Annotation>) - Method in AstUtils
-
Adds an annotation to the give nclass node if it doesn't already exist
- addAnnotationOrGetExisting(org.codehaus.groovy.ast.AnnotatedNode, org.codehaus.groovy.ast.ClassNode, Map<String, Object>) - Method in AstAnnotationUtils
-
- addAnnotationOrGetExisting(org.codehaus.groovy.ast.AnnotatedNode, org.codehaus.groovy.ast.ClassNode, Map<String, Object>) - Method in AstUtils
-
- addBeanProperty(List<PropertyDescriptor>, groovy.lang.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(java.lang.String, Map<String, Object>) - Method in AbstractConnectionSources
-
- addConnectionSource(java.lang.String, Map<String,Object>) - Method in ConnectionSources
-
- addConnectionSource(java.lang.String, org.springframework.core.env.PropertyResolver) - Method in InMemoryConnectionSources
-
- addConnectionSource(java.lang.String, org.springframework.core.env.PropertyResolver) - Method in SingletonConnectionSources
-
- addConnectionSource(java.lang.String, org.springframework.core.env.PropertyResolver) - Method in StaticConnectionSources
-
- addEntityValidator(org.grails.datastore.mapping.model.PersistentEntity, org.springframework.validation.Validator) - Method in AbstractMappingContext
-
Adds a validator for an entity
- addEntityValidator(org.grails.datastore.mapping.model.PersistentEntity, org.springframework.validation.Validator) - Method in MappingContext
-
Adds a validator to be used by the entity for validation
- addExcludedListenerName(java.lang.String) - Method in AbstractPersistenceEvent
-
- addExternalPersistentEntity(java.lang.Class) - Method in AbstractMappingContext
-
Adds an external PersistentEntity instance, one that is not managed and persisted by this context
- addExternalPersistentEntity(java.lang.Class) - Method in MappingContext
-
Adds a persistent entity that is not mapped by this MappingContext instance.
- addListener(ConnectionSourcesListener<T, S>) - Method in AbstractConnectionSources
-
- addListener(ConnectionSourcesListener<T,S>) - Method in ConnectionSources
-
Adds a listener
- addMappingContextListener(org.grails.datastore.mapping.model.MappingContext.Listener) - Method in AbstractMappingContext
-
- addMappingContextListener(org.grails.datastore.mapping.model.MappingContext.Listener) - Method in MappingContext
-
Adds a new mapping context listener instance
- addOwner(java.lang.Class) - Method in AbstractPersistentEntity
-
- addOwner(java.lang.Class) - Method in PersistentEntity
-
Add a class to the owners list of this PersistentEntity
- addPendingDelete(org.grails.datastore.mapping.core.impl.PendingDelete) - Method in AbstractSession
-
- addPendingInsert(org.grails.datastore.mapping.core.impl.PendingInsert) - Method in AbstractSession
-
- addPendingInsert(org.grails.datastore.mapping.core.impl.PendingInsert) - Method in SessionImplementor
-
Adds a pending insert operation
- addPendingUpdate(org.grails.datastore.mapping.core.impl.PendingUpdate) - Method in AbstractSession
-
- addPendingUpdate(org.grails.datastore.mapping.core.impl.PendingUpdate) - Method in SessionImplementor
-
Adds a pending update operation
- addPersistentEntities(java.lang.Class) - Method in AbstractMappingContext
-
- addPersistentEntities(java.lang.Class) - Method in MappingContext
-
Adds several PersistentEntity instances
- addPersistentEntity(java.lang.Class) - Method in AbstractMappingContext
-
Adds a PersistentEntity instance
- addPersistentEntity(java.lang.Class, boolean) - Method in MappingContext
-
Adds a PersistentEntity instance
- addPostFlushOperation(java.lang.Runnable) - Method in AbstractSession
-
- addPostFlushOperation(java.lang.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(org.grails.datastore.mapping.core.Session) - Method in SessionHolder
-
- addTenantForSchema(java.lang.String) - Method in SchemaMultiTenantCapableDatastore
-
Add a new tenant at runtime for the given schema name
- addTransformedEntityName(java.lang.String) - Method in AstUtils
-
- Parameters:
name
- Adds the name of a transformed entity
- addTypeConverter(org.springframework.core.convert.converter.Converter) - Method in AbstractMappingContext
-
- addTypeConverter(org.springframework.core.convert.converter.Converter) - Method in MappingContext
-
Add a converter used to convert property values to and from the datastore
- AFTER_DELETE_EVENT - Field in AbstractPersistenceEvent
-
- AFTER_INSERT_EVENT - Field in AbstractPersistenceEvent
-
- AFTER_LOAD_EVENT - Field in AbstractPersistenceEvent
-
- AFTER_UPDATE_EVENT - Field in AbstractPersistenceEvent
-
- afterCommit() - Method in SpringSessionSynchronization
-
- afterCompletion(int) - Method in SpringSessionSynchronization
-
- ALL_DATA_SOURCES - Field in Entity
-
- allEq(Map<String,Object>) - Method in Criteria
-
Apply an "equals" constraint to each property in the key set of a Map
- allEq(Map<String,Object>) - Method in Query
-
Shortcut to restrict the query to multiple given property values
- allowArbitraryCustomTypes() - Method in MappingFactory
-
- AllTenantsResolver - Interface in org.grails.datastore.mapping.multitenancy
For discriminator based multi-tenancy the tenant resolver has to be able to resolve all tenant ids in order to be able to iterate of the the available tenants
- and(groovy.lang.Closure) - Method in Criteria
-
Creates a logical conjunction
- and(org.grails.datastore.mapping.query.Query.Criterion, org.grails.datastore.mapping.query.Query.Criterion) - Method in Query
-
Creates a conjunction using two specified criterion
- and(org.grails.datastore.mapping.query.Query.Criterion, org.grails.datastore.mapping.query.Query.Criterion) - Method in Restrictions
-
- appendCriteriaForOperator(java.lang.StringBuilder, java.lang.String, java.lang.String, int, java.lang.String, boolean) - Method in JpaQueryBuilder
-
- appendOrder(java.lang.StringBuilder, java.lang.String) - Method in JpaQueryBuilder
-
- applyOrder(java.util.List, org.grails.datastore.mapping.query.Query.Order) - Method in ManualEntityOrdering
-
- areAssociationsDirty(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object) - Method in DirtyCheckingSupport
-
Checks whether associations are dirty
- areCollectionsEqual(java.lang.Object, java.lang.Object) - Method in NativeEntryEntityPersister
-
- areEmbeddedDirty(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object) - Method in DirtyCheckingSupport
-
Checks whether embedded associations are dirty
- areEqual(java.lang.Object, java.lang.Object, java.lang.String) - Method in NativeEntryEntityPersister
-
- asc(java.lang.String) - Method in Query.Order
-
Creates a new order for the given property in ascending order
- ASC - Enum Constant in Query.Order.Direction
-
- ASSIGNED - Enum Constant in ValueGenerator
-
Generated through assignment
- ASSIGNMENT_OPERATOR - Field in AstUtils
-
- Association - Class in org.grails.datastore.mapping.model.types
Models an association between one class and another
- Association(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.lang.String, java.lang.Class) - Constructor in Association
-
- AssociationCriteria - Interface in org.grails.datastore.mapping.query.api
Interface for criteria related to an association
- AssociationIndexer - Interface in org.grails.datastore.mapping.engine
Responsible for creating indices for associations used in queries.
- associationKey - Field in AbstractPersistentCollection
-
- associationKey - Field in AssociationQueryProxyHandler
-
- AssociationQuery - Class in org.grails.datastore.mapping.query
Used to capture the metadata for a query on an associated object.
- AssociationQuery(org.grails.datastore.mapping.core.Session, org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.types.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
- AssociationQueryProxyHandler(org.grails.datastore.mapping.core.Session, org.grails.datastore.mapping.engine.AssociationQueryExecutor, java.io.Serializable) - Constructor in AssociationQueryProxyHandler
-
- associations - Field in AbstractPersistentEntity
-
- associationtoString(java.lang.String, org.grails.datastore.mapping.model.types.Association) - Method in MappingFactory
-
- AstAnnotationUtils - Class in org.grails.datastore.mapping.reflect
Utility methods for dealing with annotations in AST transforms
- AstAnnotationUtils() - Constructor in AstAnnotationUtils
-
- AstGenericsUtils - Class in org.grails.datastore.mapping.reflect
Generics utilities
- AstGenericsUtils() - Constructor in AstGenericsUtils
-
- AstUtils - Class in org.grails.datastore.mapping.reflect
Utility methods for dealing with Groovy ASTs
- AstUtils.1 - Class in org.grails.datastore.mapping.reflect
- AstUtils.1() - Constructor in AstUtils.1
-
- AstUtils() - Constructor in AstUtils
-
- attach(java.lang.Object) - Method in AbstractSession
-
- attach(java.lang.Object) - Method in Session
-
Attaches an object the current session
- attr(java.lang.String) - Method in Attribute
-
- Attribute - Class in org.grails.datastore.mapping.document.config
Configures how a Java property maps to a Document attribute
- Attribute() - Constructor in Attribute
-
- attributes - Field in AbstractAttributeStoringSession
-
- AUTO - Enum Constant in ValueGenerator
-
The default generated
- autoFlush - Property in ConnectionSourceSettings
-
Whether to auto flush
- autoTimestamp - Property in Entity
-
- Returns:
- Whether automatic time stamps should be applied to 'lastUpdate' and 'dateCreated' properties
- autowire - Property in ConnectionSourceSettings
-
Whether to autowire entities via Spring if used
- autowire - Property in Entity
-
- Returns:
- Whether the entity should be autowired
- avg(java.lang.String) - Method in ProjectionList
-
Computes the average value of a property
- avg(java.lang.String) - Method in Projections
-
Computes the average value of a property
- avg(java.lang.String) - Method in Query.ProjectionList
-
Computes the average value of a property
- AvgProjection(java.lang.String) - Constructor in Query.AvgProjection
-
- cache(boolean) - Method in BuildableCriteria
-
Whether to cache the query
- cache(boolean) - Method in Criteria
-
- cache(boolean) - Method in Query
-
Specifies whether the query results should be cached (if supported by the underlying datastore)
- cacheAdapterRepository - Field in AbstractDatastore
-
- cacheAdapterRepository - Field in AbstractSession
-
- cacheAdapterRepository - Field in ThirdPartyCacheEntityPersister
-
- cacheCollection(org.grails.datastore.mapping.model.PersistentEntity, java.io.Serializable, java.util.Collection, java.lang.String) - Method in AbstractSession
-
- cacheCollection(org.grails.datastore.mapping.model.PersistentEntity, java.io.Serializable, java.util.Collection, java.lang.String) - Method in SessionImplementor
-
Caches a collection
- cacheEmbeddedEntry(org.grails.datastore.mapping.model.PersistentEntity, java.io.Serializable, T) - Method in NativeEntryEntityPersister
-
- cacheEntry(java.io.Serializable, java.lang.Object, Map<Serializable,Object>, boolean) - Method in AbstractSession
-
- cacheEntry(java.io.Serializable, T) - Method in HashMapTPCacheAdapter
-
- cacheEntry(org.grails.datastore.mapping.model.PersistentEntity, java.io.Serializable, T) - Method in SessionImplementor
-
Caches a native entry
- cacheEntry(java.io.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(java.lang.Throwable) - Constructor in CacheException
-
- cacheInstance(java.lang.Class, java.io.Serializable, java.lang.Object) - Method in AbstractSession
-
- cacheInstance(java.lang.Class, java.io.Serializable, java.lang.Object) - Method in SessionImplementor
-
Caches an instance
- cacheNativeEntry(org.grails.datastore.mapping.model.PersistentEntity, java.io.Serializable, T) - Method in NativeEntryEntityPersister
-
- cacheObject(java.io.Serializable, java.lang.Object) - Method in AbstractSession
-
- cancel() - Method in AbstractPersistenceEvent
-
- cancelDelete(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.engine.EntityAccess) - Method in EntityPersister
-
Fire the beforeDelete event on an entityAccess object and return true if the operation should be cancelled
- cancelInsert(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.engine.EntityAccess) - Method in EntityPersister
-
Fire the beforeInsert even on an entityAccess object and return true if the operation should be cancelled
- cancelLoad(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.engine.EntityAccess) - Method in EntityPersister
-
Fire the beforeDelete event on an entityAccess object and return true if the operation should be cancelled
- cancelUpdate(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.engine.EntityAccess) - Method in EntityPersister
-
Fire the beforeUpdate event on an entityAccess object and return true if the operation should be cancelled
- canConvert(org.springframework.core.convert.TypeDescriptor, org.springframework.core.convert.TypeDescriptor) - Method in DefaultConversionService
-
- capitalize(java.lang.String) - Method in NameUtils
-
Converts a property name to class name according to the JavaBean convention
- cascade - Property in Property
-
Cascading strategy for this property.
- cascadeAfterDelete(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.engine.EntityAccess, K, java.lang.Object) - Method in NativeEntryEntityPersister
-
Delete many-to-ones after owner delete.
- cascadeBeforeDelete(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.engine.EntityAccess, K, java.lang.Object) - Method in NativeEntryEntityPersister
-
Delete collections before owner delete.
- cascadeDeleteCollection(org.grails.datastore.mapping.engine.EntityAccess, org.grails.datastore.mapping.model.types.Association) - Method in NativeEntryEntityPersister
-
- cascades - Property in Property
-
For specifying the cascade type using javax.persistence.CascadeType
- cascadeValidate - Property in Property
-
Cascade validation for associations that are not owned by the parent entity.
- CascadeValidateType - Enum in org.grails.datastore.mapping.validation
Defines a set of cascade validation options that are propagated to the associated entity.
- childType - Field in AbstractPersistentCollection
-
- ClassMapping - Interface in org.grails.datastore.mapping.model
A class mapping is a mapping between a class and some external
form such as a table, column family, or document (depending on the underlying data store).
- classMapping - Field in NativeEntryEntityPersister
-
- ClassPropertyFetcher - Class in org.grails.datastore.mapping.reflect
Reads the properties of a class in an optimized manner avoiding exceptions.
- ClassUtils - Class in org.grails.datastore.mapping.reflect
Helper methods for dealing with classes and reflection
- clear() - Method in AbstractPersistentCollection
-
- clear(java.lang.Object) - Method in AbstractSession
-
- clear() - Method in DirtyCheckingCollection
-
- clear() - Method in DirtyCheckingMap
-
- clear() - Method in PropertyResolverMap
-
- clear(java.lang.Object) - Method in Session
-
Clear a specific object
- clearCache() - Method in ClassPropertyFetcher
-
- deprecated:
- Does nothing, no longer needed
- clearPendingOperations() - Method in AbstractSession
-
- clearReflectors() - Method in FieldEntityAccess
-
- clearSessionProperty(java.lang.String) - Method in AbstractAttributeStoringSession
-
Clear a property in a session.
- clearSessionProperty(java.lang.String) - Method in Session
-
Clear a property in a session.
- clone() - Method in Property
-
- clone() - Method in Query
-
- cloneAnnotation(org.codehaus.groovy.ast.AnnotationNode) - Method in AstUtils
-
- cloneGlobalConstraint() - Method in Entity
-
- close() - Method in AbstractConnectionSources
-
- close() - Method in DefaultConnectionSource
-
- closed - Field in DefaultConnectionSource
-
- closeSession(org.grails.datastore.mapping.core.Session) - Method in DatastoreUtils
-
Perform actual closing of the Session,
catching and logging any cleanup exceptions thrown.
- closeSessionOrRegisterDeferredClose(org.grails.datastore.mapping.core.Session, org.grails.datastore.mapping.core.Datastore) - Method in DatastoreUtils
-
Close the given Session or register it for deferred close.
- ClosureToMapPopulator - Class in org.grails.datastore.mapping.reflect
A simple class that takes method invocations and property setters and populates
the arguments of these into the supplied map ignoring null values.
- ClosureToMapPopulator() - Constructor in ClosureToMapPopulator
-
- Collection - Class in org.grails.datastore.mapping.document.config
Configures how an entity is mapped onto a Document collection
- collection - Field in AbstractPersistentCollection
-
- collection - Property in Collection
-
The name of the collection
- ColumnDatastore - Interface in org.grails.datastore.mapping.column
- Authors:
- Guillaume Laforge
- commit() - Method in SessionOnlyTransaction
-
- commit() - Method in Transaction
-
Commit the transaction.
- comparator() - Method in PersistentSortedSet
-
- compare(java.lang.Object, java.lang.Object) - Method in ManualEntityOrdering
-
- compare(T, T) - Method in OrderedComparator
-
- compareTo(org.grails.datastore.mapping.core.grailsversion.GrailsVersion) - Method in GrailsVersion
-
- compareTo(org.grails.datastore.mapping.core.grailsversion.Snapshot) - Method in Snapshot
-
- COMPILE_STATIC_TYPE - Field in AstUtils
-
- configuration - Field in AbstractConnectionSources
-
- CONFIGURATION_PREFIX - Field in AbstractMappingContext
-
- ConfigurationBuilder - Class in org.grails.datastore.mapping.config
A generic configuration builder that implementers can implement to construct the configuration from the source org.springframework.core.env.PropertyResolver
- ConfigurationBuilder(org.springframework.core.env.PropertyResolver, java.lang.String, java.lang.Object, java.lang.String) - Constructor in ConfigurationBuilder
-
- Parameters:
propertyResolver
- The property resolver
- ConfigurationException - Class in org.grails.datastore.mapping.core.exceptions
An exception thrown if a configuration error occurs
- ConfigurationException(java.lang.String, java.lang.Throwable) - Constructor in ConfigurationException
-
- configurationPrefix - Property in ConfigurationBuilder
-
- ConfigurationUtils - Class in org.grails.datastore.mapping.config
Utility methods for configuration
- configure(org.springframework.core.env.PropertyResolver) - Method in AbstractMappingContext
-
- configure(E) - Method in MappingDefinition
-
Configures an existing mapping
- configureExisting(T, groovy.lang.Closure) - Method in Entity
-
Configures an existing Mapping instance
- configureExisting(T, java.util.Map) - Method in Property
-
Configures an existing PropertyConfig instance
- configureOwningSide(org.grails.datastore.mapping.model.types.Association) - Method in GormMappingConfigurationStrategy
-
- ConfigUtils - Class in org.grails.datastore.mapping.config.utils
- ConfigUtils() - Constructor in ConfigUtils
-
- conjunction() - Method in Query
-
Creates a conjunction (AND) query
- Conjunction(List<Criterion>) - Constructor in Query.Conjunction
-
- connect(org.springframework.core.env.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(java.lang.String) - Method in Entity
-
Sets the datastore to use
- connectionDetails - Field in AbstractDatastore
-
- ConnectionNotFoundException - Class in org.grails.datastore.mapping.core
Thrown when a session cannot be located.
- ConnectionNotFoundException(java.lang.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
- 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
- connectionSourcesClass - Property in ConnectionSourceSettings
-
The class used to create
- 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.CustomSettings() - Constructor in ConnectionSourceSettings.CustomSettings
-
- ConnectionSourceSettings.DefaultSettings - Class in org.grails.datastore.mapping.core.connections
Represents the default settings
- ConnectionSourceSettings.DefaultSettings() - Constructor in ConnectionSourceSettings.DefaultSettings
-
- ConnectionSourceSettings() - Constructor in ConnectionSourceSettings
-
- ConnectionSourceSettingsBuilder - Class in org.grails.datastore.mapping.core.connections
Builder for the default settings
- ConnectionSourceSettingsBuilder(org.springframework.core.env.PropertyResolver, java.lang.String) - Constructor in ConnectionSourceSettingsBuilder
-
- ConnectionSourcesInitializer - Class in org.grails.datastore.mapping.core.connections
- ConnectionSourcesInitializer() - Constructor in ConnectionSourcesInitializer
-
- ConnectionSourcesListener - Interface in org.grails.datastore.mapping.core.connections
A listener for connection sources
- ConnectionSourcesProvider - Interface in org.grails.datastore.mapping.core.connections
- ConnectionSourcesSupport - Class in org.grails.datastore.mapping.core.connections
- connectStateless() - Method in AbstractDatastore
-
- connectStateless() - Method in StatelessDatastore
-
Connect and return a stateless session
- constraints - Property in ConnectionSourceSettings.DefaultSettings
-
The default constraints
- contains(java.lang.Object) - Method in AbstractPersistentCollection
-
- contains(java.lang.Object) - Method in AbstractSession
-
- contains(java.lang.Object) - Method in Session
-
Whether the object is contained within the first level cache
- containsAll(java.util.Collection) - Method in AbstractPersistentCollection
-
- containsKey(java.lang.Object) - Method in PropertyResolverMap
-
- containsSession(org.grails.datastore.mapping.core.Session) - Method in SessionHolder
-
- containsValue(java.lang.Object) - Method in PropertyResolverMap
-
- context - Field in AbstractClassMapping
-
- context - Field in AbstractPersistentEntity
-
- context - Field in AbstractPersistentProperty
-
- conversionService - Field in AbstractMappingContext
-
- convert(java.lang.CharSequence) - Method in BasicTypeConverterRegistrar
-
- convert(byte[]) - Method in ByteArrayToStringConverter
-
- convert(java.lang.String) - Method in DatastoreUtils
-
- convert(java.lang.Object, org.springframework.core.convert.TypeDescriptor, org.springframework.core.convert.TypeDescriptor) - Method in DefaultConversionService
-
- convert(java.lang.Double) - Method in DoubleToFloatConverter
-
- convert(int[]) - Method in IntArrayToIntegerArrayConverter
-
- convert(java.lang.Integer) - Method in IntegerToByteConverter
-
- convert(java.lang.Integer) - Method in IntegerToShortConverter
-
- convert(long[]) - Method in LongArrayToLongArrayConverter
-
- convert(java.lang.String) - Method in StringToBigDecimalConverter
-
- convert(java.lang.String) - Method in StringToBigIntegerConverter
-
- convert(java.lang.String) - Method in StringToByteArrayConverter
-
- convert(java.lang.String) - Method in StringToCurrencyConverter
-
- convert(java.lang.String) - Method in StringToLocaleConverter
-
- convert(java.lang.String) - Method in StringToShortConverter
-
- convert(java.lang.String) - Method in StringToTimeZoneConverter
-
- convert(java.lang.String) - Method in StringToURLConverter
-
- convertBasicEntryValue(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.types.Basic, java.lang.Object) - Method in NativeEntryEntityPersister
-
Convert a Basic (collection-style) property native entry value taken from an entity into the target property
type.
- convertIdentityIfNecessasry(org.grails.datastore.mapping.model.PersistentProperty, java.io.Serializable) - Method in AbstractSession
-
- convertIdIfNecessary(org.grails.datastore.mapping.model.PersistentEntity, java.io.Serializable) - Method in NativeEntryEntityPersister
-
- convertToNativeKey(java.io.Serializable) - Method in NativeEntryEntityPersister
-
Subclasses should override to provide any conversion necessary to convert to a nativeKey
- copyAnnotations(org.codehaus.groovy.ast.AnnotatedNode, org.codehaus.groovy.ast.AnnotatedNode, Set<String>, Set<String>) - Method in AstUtils
-
- copyParameters(Map<String, ClassNode>, org.codehaus.groovy.ast.Parameter, List<String>) - Method in AstUtils
-
- COUNT_PROJECTION - Field in Projections
-
- count() - Method in ProjectionList
-
Count the number of records returned
- count() - Method in Projections
-
Projection that returns the number of records from the query
instead of the results themselves
- count() - Method in Query.ProjectionList
-
- countDistinct(java.util.Collection, java.lang.String) - Method in ManualProjections
-
Counts the number of distinct values
- countDistinct(java.lang.String) - Method in ProjectionList
-
Count the number of records returned
- countDistinct(java.lang.String) - Method in Projections
-
Projection that signifies to return only distinct results
- countDistinct(java.lang.String) - Method in Query.ProjectionList
-
- CountDistinctProjection(java.lang.String) - Constructor in Query.CountDistinctProjection
-
- create(java.lang.String, org.springframework.core.env.PropertyResolver, F) - Method in AbstractConnectionSourceFactory
-
- create(java.lang.String, org.springframework.core.env.PropertyResolver, F) - Method in ConnectionSourceFactory
-
- create(ConnectionSourceFactory<T, S>, org.springframework.core.env.PropertyResolver) - Method in ConnectionSourcesInitializer
-
- create(java.lang.String, S) - Method in SingletonConnectionSources.NullConnectionFactory
-
- createBasicCollection(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in MappingFactory
-
- createBuilder() - Method in ConfigurationBuilder
-
Creates the native builder
- createBuilder() - Method in ConnectionSourceSettingsBuilder
-
- createCollection() - Method in PersistentSet
-
- createConcreteCollection(java.lang.Class) - Method in MappingUtils
-
Creates a concrete collection for the supplied interface
- createConfigurationBuilder(org.grails.datastore.mapping.model.PersistentEntity, R) - Method in AbstractGormMappingFactory
-
- createCustom(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in MappingFactory
-
Creates a custom prpoerty type
- createDefaultIdentityMapping(org.grails.datastore.mapping.model.ClassMapping, T) - Method in MappingFactory
-
- createDocumentMappingFactory(groovy.lang.Closure) - Method in DocumentMappingContext
-
- createEmbedded(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in MappingFactory
-
Creates an
Embedded type used to model an embedded association (composition)
- createEmbeddedCacheEntryKey(java.lang.Object) - Method in NativeEntryEntityPersister
-
- createEmbeddedCollection(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in MappingFactory
-
Creates an
EmbeddedCollection type used to model an embedded collection association (composition).
- createEmbeddedEntity(java.lang.Class) - Method in AbstractMappingContext
-
- createEmbeddedEntity(java.lang.Class) - Method in MappingContext
-
- createEntityAccess(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object) - Method in AbstractMappingContext
-
- createEntityAccess(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object) - Method in AbstractSession
-
- createEntityAccess(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object) - Method in EntityPersister
-
- createEntityAccess(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object) - Method in MappingContext
-
Creates an
EntityAccess instance for the given entity and instance of said entity
- createEntityAccess(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object, T) - Method in NativeEntryEntityPersister
-
- createEntityAccess(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object) - Method in SessionImplementor
-
- createIdentity(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in MappingFactory
-
Creates an identifier property
- createIdentityMapping(org.grails.datastore.mapping.model.ClassMapping) - Method in AbstractGormMappingFactory
-
- createIdentityMapping(org.grails.datastore.mapping.model.ClassMapping) - Method in MappingFactory
-
- createManyToMany(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in MappingFactory
-
Creates a
ManyToMany type used to model a many-to-many association between entities
- createManyToOne(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in MappingFactory
-
Creates a many-to-one association type used for a mapping a many-to-one association between entities
- createMappedForm(org.grails.datastore.mapping.model.PersistentProperty) - Method in AbstractGormMappingFactory
-
- createMappedForm(org.grails.datastore.mapping.model.PersistentProperty) - Method in GormKeyValueMappingFactory
-
- createMappedForm(org.grails.datastore.mapping.model.PersistentProperty) - Method in KeyValueMappingFactory
-
- createMappedForm(org.grails.datastore.mapping.model.PersistentProperty) - Method in MappingFactory
-
Creates the mapped form of a PersistentProperty instance
- createMethodHandler(org.grails.datastore.mapping.core.Session, java.lang.Class, java.lang.Class, java.io.Serializable) - Method in JavassistProxyFactory
-
- createNativeObjectForEmbedded(org.grails.datastore.mapping.model.types.Association, java.lang.Object) - Method in NativeEntryEntityPersister
-
- createNewEntry(java.lang.String, java.lang.Object) - Method in NativeEntryEntityPersister
-
Creates a new entry for the given family.
- createObjectFromEmbeddedNativeEntry(org.grails.datastore.mapping.model.PersistentEntity, T) - Method in NativeEntryEntityPersister
-
- createObjectFromNativeEntry(org.grails.datastore.mapping.model.PersistentEntity, java.io.Serializable, T) - Method in NativeEntryEntityPersister
-
- createOneToMany(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in MappingFactory
-
Creates a
OneToMany type used to model a one-to-many association between entities
- createOneToOne(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in MappingFactory
-
Creates a one-to-one association type used for mapping a one-to-one association between entities
- createPersistentEntity(java.lang.Class, boolean) - Method in AbstractMappingContext
-
- createPersistentEntity(java.lang.Class, boolean) - Method in DocumentMappingContext
-
- createPersistentEntity(java.lang.Class, boolean) - Method in KeyValueMappingContext
-
- createPersister(java.lang.Class, org.grails.datastore.mapping.model.MappingContext) - Method in AbstractSession
-
- createPropertyDescriptor(java.lang.Class, groovy.lang.MetaProperty) - Method in ClassPropertyFetcher
-
Creates a PropertyDescriptor from a MetaBeanProperty
- createPropertyDescriptor(java.lang.Class, groovy.lang.MetaProperty) - Method in MappingFactory
-
Creates a PropertyDescriptor from a MetaBeanProperty
- createPropertyMapping(PersistentProperty<KeyValue>, org.grails.datastore.mapping.model.PersistentEntity) - Method in GormKeyValueMappingFactory
-
- createPropertyMapping(PersistentProperty<T>, org.grails.datastore.mapping.model.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(org.grails.datastore.mapping.core.Session, java.lang.Class, java.lang.Class, java.io.Serializable) - Method in JavassistProxyFactory
-
- createProxy(org.grails.datastore.mapping.core.Session, AssociationQueryExecutor<K,T>, K) - Method in JavassistProxyFactory
-
- createProxy(org.grails.datastore.mapping.core.Session, AssociationQueryExecutor<K,T>, K) - Method in ProxyFactory
-
Creates a proxy
- createQuery(java.lang.Class) - Method in AbstractSession
-
- createQuery() - Method in Persister
-
Creates a query for the entity
- createQuery(java.lang.String) - Method in Query
-
Creates an association query
- createQuery(java.lang.Class, java.lang.String) - Method in QueryAliasAwareSession
-
Creates a query instance for the give type
- createQuery(java.lang.Class) - Method in QueryCreator
-
Creates a query instance for the give type
- createQuery(java.lang.Class) - Method in Session
-
Creates a query instance for the give type
- createRuntime(java.lang.String, org.springframework.core.env.PropertyResolver, S) - Method in AbstractConnectionSourceFactory
-
- createRuntime(java.lang.String, org.springframework.core.env.PropertyResolver, S) - Method in ConnectionSourceFactory
-
Creates a connection at runtime.
- createSession(org.springframework.core.env.PropertyResolver) - Method in AbstractDatastore
-
Creates the native session
- createSimple(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in MappingFactory
-
Creates a simple property type used for mapping basic types such as String, long, integer etc.
- createStatelessSession(org.springframework.core.env.PropertyResolver) - Method in AbstractDatastore
-
Creates the native stateless session
- createTenantId(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in MappingFactory
-
Creates the tenant identifier property
- Criteria - Interface in org.grails.datastore.mapping.query.api
Interface for the implementations that construct of criteria queries.
- criteria - Field in Query
-
- currentlyInitializing() - Method in AbstractPersistentCollection
-
- currentTransaction(org.grails.datastore.mapping.core.Datastore) - Method in TransactionUtils
-
- Custom - Class in org.grails.datastore.mapping.model.types
Represents a custom type ie. a type whose database read/write semantics are specified by the user.
- custom - Property in ConnectionSourceSettings
-
Custom settings
- Custom(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.lang.String, Class<?>, CustomTypeMarshaller<?,?,?>) - Constructor in Custom
-
- CUSTOM - Enum Constant in ValueGenerator
-
Custom value generation strategy
- 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(org.springframework.transaction.interceptor.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.
- DATABASE - Field in MultiTenancySettings.MultiTenancyMode
-
A single database per tenant
- datasource(java.lang.String) - Method in Entity
-
Sets the datastore to use
- datasources - Property in Entity
-
Get the datasource names that this domain class works with.
- Datastore - Interface in org.grails.datastore.mapping.core
The
Datastore
interface is the basic common denominator all NoSQL databases should support:
- Storing data
- Retrieving one or more elements at a time, identified by their keys
- Deleting one or more elements
- datastore - Field in AbstractPersistenceEventListener
-
- datastore - Property in DefaultServiceRegistry
-
The datastore this service relates to
- datastore - Property in Service
-
The datastore that this service is related to
- 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(java.lang.String, java.lang.Throwable) - Constructor in DatastoreConfigurationException
-
- DatastoreEnvironment - Class in org.grails.datastore.mapping.config
An environment for GORM
- DatastoreEnvironment() - Constructor in DatastoreEnvironment
-
- DatastoreException - Class in org.grails.datastore.mapping.core
General exception for errors related to the configuration
of the Datastore
- DatastoreException(java.lang.String, java.lang.Throwable) - Constructor in DatastoreException
-
- DatastoreInitializedEvent - Class in org.grails.datastore.mapping.engine.event
Fired when the datastore is initialised
- DatastoreInitializedEvent(java.lang.Object) - Constructor in DatastoreInitializedEvent
-
- DatastoreServiceMethodInvokingFactoryBean - Class in org.grails.datastore.mapping.config
Variant of {#link MethodInvokingFactoryBean} which returns the correct data service type instead of java.lang.Object
so the Autowire with type works correctly.
- 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.
- decapitalize(java.lang.String) - Method in NameUtils
-
Converts class name to property name using JavaBean decapitalization
- decapitalizeFirstChar(java.lang.String) - Method in NameUtils
-
Transforms the first character of a string into a lowercase letter
- DEFAULT - Enum Constant in CascadeValidateType
-
By default, cascade for any owned association or with a JPA cascade of PERSIST or MERGE *
- DEFAULT_CONNECTION_SOURCE_NAMES - Field in ConnectionSourcesSupport
-
- DEFAULT_DATA_SOURCE - Field in Entity
-
- DEFAULT_TIMEOUT - Field in LockableEntityPersister
-
- DefaultConnectionSource - Class in org.grails.datastore.mapping.core.connections
- defaultConnectionSource - Field in AbstractConnectionSources
-
- DefaultConnectionSource(java.lang.String, T, S) - Constructor in DefaultConnectionSource
-
- defaultConstraints - Field in AbstractGormMappingFactory
-
- DefaultConversionService - Class in org.grails.datastore.mapping.model.types.conversion
Default conversion service th
- DefaultConversionService() - Constructor in DefaultConversionService
-
- defaultDatabaseName - Field in DocumentMappingContext
-
- DefaultMappingConfigurationBuilder - Class in org.grails.datastore.mapping.config.groovy
- DefaultMappingConfigurationBuilder(org.grails.datastore.mapping.config.Entity, java.lang.Class) - Constructor in DefaultMappingConfigurationBuilder
-
- defaults - Property in ConnectionSourceSettings
-
- DefaultServiceRegistry - Class in org.grails.datastore.mapping.services
- DefaultServiceRegistry(org.grails.datastore.mapping.core.Datastore, boolean) - Constructor in DefaultServiceRegistry
-
- defaultSort - Property in Entity
-
- Returns:
- The default sort order definition, could be a string or a map
- deindex(java.lang.Object, K) - Method in PropertyValueIndexer
-
Removes the index for the given value and key
- delete(java.lang.Iterable) - Method in AbstractSession
-
- DELETE_CLAUSE - Field in JpaQueryBuilder
-
- delete(java.lang.Object) - Method in EntityPersister
-
- delete(java.lang.Object) - Method in Persister
-
Deletes a single object
- delete(java.lang.Object) - Method in Session
-
Deletes a single object
- deleteAll(org.grails.datastore.mapping.query.api.QueryableCriteria) - Method in AbstractSession
-
This default implementation of the deleteAll method is unlikely to be optimal as it iterates and deletes each object.
- deleteAll(org.grails.datastore.mapping.query.api.QueryableCriteria) - Method in Session
-
Deletes all objects matching the given criteria
- deleteEntities(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Iterable) - Method in EntityPersister
-
- deleteEntities(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Iterable) - Method in NativeEntryEntityPersister
-
- deleteEntity(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object) - Method in EntityPersister
-
- deleteEntity(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object) - Method in NativeEntryEntityPersister
-
- deleteEntries(java.lang.String, List<K>) - Method in NativeEntryEntityPersister
-
Deletes one or many entries for the given list of Keys
- deleteEntry(java.lang.String, K, java.lang.Object) - Method in NativeEntryEntityPersister
-
Deletes a single entry
- derived - Property in Property
-
- Returns:
- Whether the property is derived or not
- desc(java.lang.String) - Method in Query.Order
-
Creates a new order for the given property in descending order
- DESC - Enum Constant in Query.Order.Direction
-
- destroy() - Method in AbstractDatastore
-
- dirty - Field in AbstractPersistentCollection
-
- DIRTY - Enum Constant in CascadeValidateType
-
In addition to the default cascade requirement, only cascade to entities that are DirtyCheckable and hasChanged *
- DIRTY_CLASS_MARKER - Field in DirtyCheckingSupport
-
Used internally as a marker.
- 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
- DirtyCheckingCollection - Class in org.grails.datastore.mapping.dirty.checking
Collection capable of marking the parent entity as dirty when it is modified
- DirtyCheckingCollection(java.util.Collection, org.grails.datastore.mapping.dirty.checking.DirtyCheckable, java.lang.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(java.util.List, org.grails.datastore.mapping.dirty.checking.DirtyCheckable, java.lang.String) - Constructor in DirtyCheckingList
-
- DirtyCheckingMap - Class in org.grails.datastore.mapping.dirty.checking
A map that can be dirty checked
- DirtyCheckingMap(java.util.Map, org.grails.datastore.mapping.dirty.checking.DirtyCheckable, java.lang.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(java.util.Set, org.grails.datastore.mapping.dirty.checking.DirtyCheckable, java.lang.String) - Constructor in DirtyCheckingSet
-
- DirtyCheckingSortedSet - Class in org.grails.datastore.mapping.dirty.checking
Dirty checks sorted sets
- DirtyCheckingSortedSet(java.util.SortedSet, org.grails.datastore.mapping.dirty.checking.DirtyCheckable, java.lang.String) - Constructor in DirtyCheckingSortedSet
-
- DirtyCheckingSupport - Class in org.grails.datastore.mapping.dirty.checking
Support methods for dirty checking
- DirtyCheckingSupport() - Constructor in DirtyCheckingSupport
-
- disconnect() - Method in AbstractAttributeStoringSession
-
Performs clear up.
- disconnect() - Method in Session
-
Disconnects from the datastore.
- discriminatePersistentEntity(org.grails.datastore.mapping.model.PersistentEntity, T) - Method in NativeEntryEntityPersister
-
Subclasses should override to customize how entities in hierarchies are discriminated
- DISCRIMINATOR - Field in MultiTenancySettings.MultiTenancyMode
-
A shared database amongst multiple tenants using a discriminator column
- disjunction() - Method in Query
-
Creates a disjunction (OR) query
- Disjunction(List<Criterion>) - Constructor in Query.Disjunction
-
- distinct(java.util.Collection, java.lang.String) - Method in ManualProjections
-
- distinct(java.lang.String) - Method in ProjectionList
-
Projection to return only distinct properties
- distinct(java.lang.String) - Method in Projections
-
Projection that signifies to return only distinct results
- distinct(java.lang.String) - Method in Query.ProjectionList
-
- DistinctPropertyProjection(java.lang.String) - Constructor in Query.DistinctPropertyProjection
-
- doBegin(java.lang.Object, org.springframework.transaction.TransactionDefinition) - Method in DatastoreTransactionManager
-
- doCleanupAfterCompletion(java.lang.Object) - Method in DatastoreTransactionManager
-
- doCommit(org.springframework.transaction.support.DefaultTransactionStatus) - Method in DatastoreTransactionManager
-
- DocumentCollectionMapping(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext) - Constructor in DocumentPersistentEntity.DocumentCollectionMapping
-
- DocumentDatastore - Interface in org.grails.datastore.mapping.document
- Authors:
- Guillaume Laforge
- DocumentMappingContext - Class in org.grails.datastore.mapping.document.config
- DocumentMappingContext(java.lang.String, groovy.lang.Closure) - Constructor in DocumentMappingContext
-
- DocumentPersistentEntity - Class in org.grails.datastore.mapping.document.config
- DocumentPersistentEntity.DocumentCollectionMapping - Class in org.grails.datastore.mapping.document.config
- DocumentPersistentEntity(java.lang.Class, org.grails.datastore.mapping.model.MappingContext) - Constructor in DocumentPersistentEntity
-
- doesCascade(javax.persistence.CascadeType) - Method in Association
-
Returns true if this association cascades for the given cascade operation
- doesCascadeValidate(java.lang.Object) - Method in Association
-
Returns true if this association should cascade validation to the given entity.
- doesNotHoldNonDefaultSession() - Method in SessionHolder
-
- doesRequirePropertyIndexing() - Method in NativeEntryEntityPersister
-
Subclasses should override to optimize away manual property indexing if it is not required
- doesReturnKeys() - Method in AbstractPersistentCollection
-
- doesReturnKeys() - Method in AssociationQueryExecutor
-
- Returns:
- Whether the query returns the keys for the entities or the enities themselves
- doGetSession(org.grails.datastore.mapping.core.Datastore, boolean) - Method in DatastoreUtils
-
Get a Datastore Session for the given Datastore.
- doGetTransaction() - Method in DatastoreTransactionManager
-
- doInSession(org.grails.datastore.mapping.core.Session) - Method in AbstractDatastore
-
- doInSession(org.grails.datastore.mapping.core.Session) - Method in SessionCallback
-
- doInSession(org.grails.datastore.mapping.core.Session) - Method in VoidSessionCallback
-
- DOLLAR_SEPARATOR - Field in NameUtils
-
- DOMAIN_PATH_PATTERN - Field in AstUtils
-
- DOMAIN_TYPE - Field in AstUtils
-
- doManualDirtyCheck(java.lang.Object, java.lang.Object) - Method in NativeEntryEntityPersister
-
- doResume(java.lang.Object, java.lang.Object) - Method in DatastoreTransactionManager
-
- doRollback(org.springframework.transaction.support.DefaultTransactionStatus) - Method in DatastoreTransactionManager
-
- doSetRollbackOnly(org.springframework.transaction.support.DefaultTransactionStatus) - Method in DatastoreTransactionManager
-
- doSuspend(java.lang.Object) - Method in DatastoreTransactionManager
-
- DoubleToFloatConverter - Class in org.grails.datastore.mapping.model.types.conversion
- Authors:
- Stefan Armbruster
- DoubleToFloatConverter() - Constructor in DoubleToFloatConverter
-
- doWithSession(org.grails.datastore.mapping.core.Datastore, groovy.lang.Closure) - Method in DatastoreUtils
-
Execute the closure in the current session if it exists, or create a new one and close it otherwise.
- ge(java.lang.String, java.lang.Object) - Method in Criteria
-
Used to restrict a value to be greater than or equal to the given value
- ge(java.lang.String, java.lang.Object) - Method in Query
-
Used to restrict a value to be greater than or equal to the given value
- geAll(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Method in Criteria
-
Creates a subquery criterion that ensures the given property is greater than all the given returned values
- GENERATED - Enum Constant in ValueGenerator
-
Generated by the datastore implementation
- generateIdentifier(org.grails.datastore.mapping.model.PersistentEntity, T) - Method in NativeEntryEntityPersister
-
Subclasses should override to provide id generation.
- generator - Property in Property
-
Set the id generator name or class.
- geProperty(java.lang.String, java.lang.String) - Method in Criteria
-
Constrains a property to be greater than or equal to a specified other property
- geProperty(java.lang.String, java.lang.String) - Method in Restrictions
-
Constraints a property to be greater than or equal to a specified other property
- geSome(java.lang.String, Closure<?>) - Method in Criteria
-
Creates a subquery criterion that ensures the given property is greater than or equal to some of the given values
- get(groovy.lang.Closure) - Method in BuildableCriteria
-
Defines and executes a get query ( a single result) in a single call.
- GET_ID_METHOD - Field in EntityProxyMethodHandler
-
- GET_META_CLASS - Field in GroovyObjectMethodHandler
-
- get(int) - Method in PersistentList
-
- GET_PROPERTY - Field in GroovyObjectMethodHandler
-
- get(java.lang.Object) - Method in PropertyResolverMap
-
- GET_PROXY_KEY_METHOD - Field in EntityProxyMethodHandler
-
- GET_TARGET_METHOD - Field in EntityProxyMethodHandler
-
- getAlias() - Method in QueryableCriteria
-
- Returns:
- The alias to be used for the query, null if none
- getAllAssociationMap(org.grails.datastore.mapping.reflect.ClassPropertyFetcher) - Method in GormMappingConfigurationStrategy
-
Retrieves the association map
- getAllConnectionSources() - Method in ConnectionSources
-
- getAllConnectionSources() - Method in InMemoryConnectionSources
-
- getAllConnectionSources() - Method in SingletonConnectionSources
-
- getAllConnectionSources() - Method in StaticConnectionSources
-
- getApplicationContext() - Method in AbstractDatastore
-
- deprecated:
- Deprecated, will be removed in a future version of GORM
- getApplicationContext() - Method in Datastore
-
Get the application context.
- getApplicationEventPublisher() - Method in AbstractDatastore
-
- getApplicationEventPublisher() - Method in Datastore
-
Get the application event publisher.
- getAssociatedEntity() - Method in Association
-
- Returns:
- The entity associated with the this association
- getAssociatedEntity() - Method in Basic
-
- getAssociation() - Method in AssociationCriteria
-
- getAssociation() - Method in AssociationQuery
-
The association being queried
- getAssociationIndexer(T, org.grails.datastore.mapping.model.types.Association) - Method in NativeEntryEntityPersister
-
Obtains an indexer for the given association
- getAssociationMap(org.grails.datastore.mapping.reflect.ClassPropertyFetcher) - Method in GormMappingConfigurationStrategy
-
Retrieves the association map
- getAssociations() - Method in AbstractPersistentEntity
-
- getAssociations() - Method in PersistentEntity
-
A list of the associations for this entity.
- getAt(java.lang.String) - Method in ValidationErrors
-
- getAttribute(java.lang.Object, java.lang.String) - Method in AbstractAttributeStoringSession
-
- getAttribute(java.lang.Object, java.lang.String) - Method in Session
-
Obtains an attribute for the given entity
- getBaseConfiguration() - Method in AbstractConnectionSources
-
- getBaseConfiguration() - Method in ConnectionSources
-
- Returns:
- Obtains the base configuration
- getBooleanFromMap(java.lang.String, Map<?,?>) - Method in ClassUtils
-
Retrieves a boolean value from a Map for the given key
- getCachedCollection(org.grails.datastore.mapping.model.PersistentEntity, java.io.Serializable, java.lang.String) - Method in AbstractSession
-
- getCachedCollection(org.grails.datastore.mapping.model.PersistentEntity, java.io.Serializable, java.lang.String) - Method in SessionImplementor
-
Obtains a cached collection
- getCachedEntry(org.grails.datastore.mapping.model.PersistentEntity, java.io.Serializable, boolean) - Method in AbstractSession
-
- getCachedEntry(java.io.Serializable) - Method in HashMapTPCacheAdapter
-
- getCachedEntry(org.grails.datastore.mapping.model.PersistentEntity, java.io.Serializable, boolean) - Method in SessionImplementor
-
Obtains a cached entry
- getCachedEntry(java.io.Serializable) - Method in TPCacheAdapter
-
Returns the stored value for the specified key.
- getCachedInstance(java.lang.Class, java.io.Serializable) - Method in AbstractSession
-
- getCachedInstance(java.lang.Class, java.io.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(org.grails.datastore.mapping.model.PersistentEntity) - Method in AbstractMappingContext
-
- getChildEntities(org.grails.datastore.mapping.model.PersistentEntity) - Method in MappingContext
-
Obtains all of the children for the given root
- getChildEntityByDiscriminator(org.grails.datastore.mapping.model.PersistentEntity, java.lang.String) - Method in AbstractMappingContext
-
- getChildEntityByDiscriminator(org.grails.datastore.mapping.model.PersistentEntity, java.lang.String) - Method in MappingContext
-
Obtains a child of the given root entity using the given discriminator
- getClassMapping() - Method in AbstractKeyValueEntityPersister
-
- getClassMapping() - Method in JpaMappingConfigurationStrategy
-
- getClassMapping() - Method in MappingFactory
-
- getClassMapping() - Method in NativeEntryEntityPersister
-
- getClassMapping() - Method in PropertyMapping
-
Retrieves the ClassMapping instance of the owning class
- getClassName(java.lang.Class) - Method in NameUtils
-
Get the class name, taking into account proxies
- getComponentType() - Method in Basic
-
- getCompositeIdentity() - Method in AbstractPersistentEntity
-
- getCompositeIdentity(java.lang.Class, org.grails.datastore.mapping.model.MappingContext) - Method in GormMappingConfigurationStrategy
-
- getCompositeIdentity(java.lang.Class, org.grails.datastore.mapping.model.MappingContext) - Method in MappingConfigurationStrategy
-
Obtains the identity of a persistent entity
- getCompositeIdentity() - Method in PersistentEntity
-
The composite id
- getConnection() - Method in CustomizableRollbackTransactionAttribute
-
- Returns:
- The connection being used
- getConnectionSource(java.lang.String) - Method in ConnectionSources
-
- getConnectionSource(java.lang.String) - Method in InMemoryConnectionSources
-
- getConnectionSource(java.lang.String) - Method in SingletonConnectionSources
-
- getConnectionSource(java.lang.String) - Method in StaticConnectionSources
-
- getConnectionSourceNames(ConnectionSourceFactory<T, S>, org.springframework.core.env.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(org.grails.datastore.mapping.model.PersistentEntity) - Method in ConnectionSourcesSupport
-
- getConnectionSourceNames(ConnectionSourceFactory<T, S>, org.springframework.core.env.PropertyResolver) - Method in SingletonConnectionSources
-
- getConnectionSourceNames(ConnectionSourceFactory<T, S>, org.springframework.core.env.PropertyResolver) - Method in StaticConnectionSources
-
- getConnectionSources() - Method in ConnectionSourcesProvider
-
- getConnectionSourcesConfigurationKey() - Method in ConnectionSourceFactory
-
- Returns:
- Obtain the prefix used to obtain the default configuration.
- getConnectionSourcesConfigurationKey() - Method in SingletonConnectionSources.NullConnectionFactory
-
- getConversionService() - Method in AbstractMappingContext
-
- getConversionService() - Method in MappingContext
-
Obtains the ConversionService instance to use for type conversion
- getConverterRegistry() - Method in AbstractMappingContext
-
- getConverterRegistry() - Method in MappingContext
-
Obtains the converter registry
- getCreator() - Method in SessionHolder
-
- getCriteria() - Method in AssociationCriteria
-
- getCriteria() - Method in Query
-
- Returns:
- The criteria defined by this query
- getCriteria() - Method in Query.Junction
-
- getCriteria() - Method in QueryableCriteria
-
- Returns:
- A list of all criteria
- getCurrent() - Method in GrailsVersion
-
- Returns:
- Obtains the current Grails version
- getCurrentSession() - Method in AbstractDatastore
-
- getCurrentSession() - Method in Datastore
-
Obtains the current session (if any)
- getCurrentVersion(org.grails.datastore.mapping.engine.EntityAccess) - Method in EntityPersister
-
- getCustomTypeMarshaller() - Method in Basic
-
- Returns:
- The type converter for this custom type
- getCustomTypeMarshaller() - Method in Custom
-
- Returns:
- The type converter for this custom type
- getDatastore() - Method in AbstractSession
-
- getDatastore() - Method in DatastoreTransactionManager
-
- getDatastore() - Method in Session
-
The Datastore that created this Session
- getDatastoreForConnection(java.lang.String) - Method in MultipleConnectionSourceCapableDatastore
-
- getDatastoreForTenantId(java.io.Serializable) - Method in MultiTenantCapableDatastore
-
Obtains the datastore for the given tenant id.
- getDecapitalizedName() - Method in AbstractPersistentEntity
-
- getDecapitalizedName() - Method in PersistentEntity
-
- Returns:
- Returns the name of the class decapitalized form
- getDeclaredField(java.lang.String) - Method in ClassPropertyFetcher
-
- getDeclaredField(java.lang.Class, java.lang.String) - Method in MappingUtils
-
Get a declared field, searching super classes for the field if it is not found in the class.
- getDefault() - Method in ConnectionSourceSettings
-
- getDefaultConnectionSource() - Method in AbstractConnectionSources
-
- getDefaultConnectionSource() - Method in ConnectionSources
-
- getDefaultConnectionSourceName(org.grails.datastore.mapping.model.PersistentEntity) - Method in ConnectionSourcesSupport
-
If a domain class uses more than one datasource, we need to know which one to use
when calling a method without a namespace qualifier.
- getDefaultDatabaseName() - Method in DocumentMappingContext
-
- getDefaultIdentityMapping(org.grails.datastore.mapping.model.ClassMapping) - Method in GormMappingConfigurationStrategy
-
- getDefaultIdentityMapping(org.grails.datastore.mapping.model.ClassMapping) - Method in MappingConfigurationStrategy
-
Obtains the default manner in which identifiers are mapped.
- getDefaultMapping() - Method in DocumentMappingContext
-
- getDirectChildEntities(org.grails.datastore.mapping.model.PersistentEntity) - Method in AbstractMappingContext
-
- getDirectChildEntities(org.grails.datastore.mapping.model.PersistentEntity) - Method in MappingContext
-
Obtains only the direct children (1 level down) for the given root entity
- getDirection() - Method in Query.Order
-
- Returns:
- The direction order by
- getDirtyCheckingState(java.lang.Object) - Method in EntityReflector
-
- Returns:
- Obtains the dirty checking state for the given entity
- getDiscriminator() - Method in AbstractPersistentEntity
-
- getDiscriminator() - Method in PersistentEntity
-
The discriminator used when persisting subclasses of an inheritance hierarchy
- getEmbedded() - Method in AbstractPersistentEntity
-
- getEmbedded(T, java.lang.String) - Method in NativeEntryEntityPersister
-
Implementors should override to provide support for embedded objects.
- getEmbedded() - Method in PersistentEntity
-
A list of embedded associations for this entity.
- getEntity() - Method in AbstractClassMapping
-
- getEntity() - Method in AbstractPersistenceEvent
-
- getEntity() - Method in BeanEntityAccess
-
- getEntity() - Method in ClassMapping
-
Obtains the PersistentEntity for this class mapping
- getEntity() - Method in EntityAccess
-
- Returns:
- The entity being persisted
- getEntity() - Method in FieldEntityAccess
-
- getEntity() - Method in ManualEntityOrdering
-
- getEntity() - Method in PendingOperation
-
- getEntity() - Method in PendingOperationAdapter
-
- getEntity() - Method in Query
-
- Returns:
- The PersistentEntity being query
- getEntityAccess() - Method in AbstractPersistenceEvent
-
- getEntityAccess() - Method in PendingInsert
-
- Returns:
- The EntityAccess object for the entity to be inserted
- getEntityAccess() - Method in PendingInsertAdapter
-
- getEntityAccess() - Method in PendingUpdate
-
- Returns:
- 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(org.grails.datastore.mapping.model.PersistentEntity) - Method in AbstractMappingContext
-
- getEntityReflector(org.grails.datastore.mapping.model.PersistentEntity) - Method in MappingContext
-
- getEntityValidator(org.grails.datastore.mapping.model.PersistentEntity) - Method in AbstractMappingContext
-
Retrieves a validator for an entity
- getEntityValidator(org.grails.datastore.mapping.model.PersistentEntity) - Method in MappingContext
-
Obtains a validator for the given entity
- getEntryValue(T, java.lang.String) - Method in NativeEntryEntityPersister
-
Reads a value for the given key from the native entry
- getEnumType() - Method in Property
-
- Returns:
- The type of the enum, either ordinal or string
- getEnumTypeObject() - Method in Property
-
- Returns:
- The type of the enum, either ordinal or string
- getErrors() - Method in ValidationException
-
- Returns:
- The errors object
- getEventType() - Method in AbstractPersistenceEvent
-
- getEventType() - Method in AbstractQueryEvent
-
- Returns:
- The type of event.
- getEventType() - Method in PostDeleteEvent
-
- getEventType() - Method in PostInsertEvent
-
- getEventType() - Method in PostLoadEvent
-
- getEventType() - Method in PostQueryEvent
-
- Returns:
- The type of event.
- getEventType() - Method in PostUpdateEvent
-
- getEventType() - Method in PreDeleteEvent
-
- getEventType() - Method in PreInsertEvent
-
- getEventType() - Method in PreLoadEvent
-
- getEventType() - Method in PreQueryEvent
-
- Returns:
- The type of event.
- getEventType() - Method in PreUpdateEvent
-
- getEventType() - Method in SaveOrUpdateEvent
-
- getEventType() - Method in ValidationEvent
-
- getExpandoMetaClass(Class<?>) - Method in MetaClassUtils
-
- getFactory() - Method in AbstractConnectionSources
-
- getFactory() - Method in ConnectionSources
-
- Returns:
- The factory used to create new connections
- getFallBackValue(java.lang.Object, java.lang.String) - Method in ConfigurationBuilder
-
- getFamily(org.grails.datastore.mapping.model.PersistentEntity, ClassMapping<Family>) - Method in AbstractKeyValueEntityPersister
-
- getFamily() - Method in KeyValueEntry
-
- getFetchStrategy() - Method in Association
-
- Returns:
- The fetch strategy for the association
- getFlushMode() - Method in AbstractSession
-
- getFlushMode() - Method in Session
-
Obtains the current FlushModeType
- getFrom() - Method in Query.Between
-
- getFromTPCache(org.grails.datastore.mapping.model.PersistentEntity, java.io.Serializable) - Method in ThirdPartyCacheEntityPersister
-
- getFunctionName() - Method in FunctionCallingCriterion
-
- getFurthestUnresolvedParent(org.codehaus.groovy.ast.ClassNode) - Method in AstUtils
-
- getGenerator() - Method in IdentityMapping
-
- Returns:
- The type of value generated used
- getGenerator() - Method in JpaMappingConfigurationStrategy
-
- getGenerator() - Method in MappingFactory
-
- getGenericType(java.lang.Class) - Method in MappingUtils
-
- getGenericTypeForMapProperty(java.lang.Class, java.lang.String, boolean) - Method in MappingUtils
-
- getGenericTypeForProperty(java.lang.Class, java.lang.String) - Method in MappingUtils
-
- getGetterName(java.lang.String) - Method in MappingUtils
-
Calculate the name for a getter method to retrieve the specified property
- getGetterName(java.lang.String, boolean) - Method in NameUtils
-
Retrieves the name of a setter for the specified property name
- getIdentifier() - Method in AbstractClassMapping
-
- getIdentifier() - Method in BeanEntityAccess
-
- getIdentifier() - Method in ClassMapping
-
Returns details of the identifier used for this class
- getIdentifier() - Method in DocumentPersistentEntity.DocumentCollectionMapping
-
- getIdentifier() - Method in EntityAccess
-
- Returns:
- Obtains the value of the entity identifier
- getIdentifier(java.lang.Object) - Method in EntityReflector
-
- Returns:
- Obtain the identifier
- getIdentifier() - Method in FieldEntityAccess
-
- getIdentifier(java.lang.Object) - Method in JavassistProxyFactory
-
- getIdentifier(java.lang.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
-
- Returns:
- The name of the identifier property
- getIdentifierName() - Method in EntityReflector
-
- Returns:
- The name of the identifier
- getIdentifierName() - Method in FieldEntityAccess
-
- getIdentifierName() - Method in IdentityMapping
-
The identifier property name(s).
- getIdentifierName() - Method in JpaMappingConfigurationStrategy
-
- getIdentifierName() - Method in MappingFactory
-
- getIdentifierName(org.grails.datastore.mapping.model.ClassMapping) - Method in NativeEntryEntityPersister
-
Obtains the identifier name to use.
- getIdentity() - Method in AbstractPersistentEntity
-
- getIdentity(java.lang.Class, org.grails.datastore.mapping.model.MappingContext) - Method in GormMappingConfigurationStrategy
-
- getIdentity(java.lang.Class, org.grails.datastore.mapping.model.MappingContext) - Method in MappingConfigurationStrategy
-
Obtains the identity of a persistent entity
- getIdentity() - Method in PersistentEntity
-
Returns the identity of the instance
- getIdentityMappedForm(org.grails.datastore.mapping.model.ClassMapping, T) - Method in AbstractGormMappingFactory
-
- getIdentityMappedForm(org.grails.datastore.mapping.model.ClassMapping, org.grails.datastore.mapping.keyvalue.mapping.config.KeyValue) - Method in GormKeyValueMappingFactory
-
- getIdentityMapping(org.grails.datastore.mapping.model.ClassMapping) - Method in GormMappingConfigurationStrategy
-
Obtains the identity mapping for the specified class mapping
- getIdentityMapping(org.grails.datastore.mapping.model.ClassMapping) - Method in JpaMappingConfigurationStrategy
-
- getIdentityMapping(org.grails.datastore.mapping.model.ClassMapping) - Method in MappingConfigurationStrategy
-
Obtains the identity mapping for the specified class mapping
- getIndexedEntity() - Method in AbstractPersistentCollection
-
- getIndexedEntity() - Method in AssociationQueryExecutor
-
- Returns:
- The entity to be queried
- getIndexName(java.lang.Object) - Method in PropertyValueIndexer
-
- Parameters:
value
- The indexed value
- getInstancePropertyValue(java.lang.Object, java.lang.String) - Method in ClassPropertyFetcher
-
- getInversePropertyName() - Method in ManyToMany
-
- getInverseSide() - Method in Association
-
- Returns:
- The inverse side or null if the association is not bidirectional
- getInverseSide() - Method in Basic
-
- getJavaClass() - Method in AbstractPersistentEntity
-
- getJavaClass() - Method in ClassPropertyFetcher
-
- Returns:
- The Java that this ClassPropertyFetcher was constructor for
- getJavaClass() - Method in PersistentEntity
-
- Returns:
- The underlying Java class for this entity
- getKey() - Method in KeyValue
-
- getKey() - Method in OptimisticLockingException
-
- getKeyspace(ClassMapping<Family>, java.lang.String) - Method in AbstractKeyValueEntityPersister
-
- getKeyspace() - Method in KeyValueMappingContext
-
- getKnownEntityNames() - Method in AstUtils
-
- Returns:
- The names of the transformed entities for this context
- getLazy() - Method in Property
-
- getLogger(java.lang.Class) - Method in SoftServiceLoader
-
Special case getLogger
method that should be used by classes that are used in the annotation processor.
- getManyToManyKeys(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object, java.io.Serializable, T, org.grails.datastore.mapping.model.types.ManyToMany) - Method in NativeEntryEntityPersister
-
- getMappedForm() - Method in AbstractClassMapping
-
- getMappedForm() - Method in AbstractPersistentEntity
-
- 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 JpaMappingConfigurationStrategy
-
- getMappedForm() - Method in KeyValuePersistentEntity.KeyValueClassMapping
-
- getMappedForm() - Method in MappingFactory
-
- 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 MappingFactory
-
- 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 AbstractSession
-
- getMappingContext() - Method in Datastore
-
Obtains the MappingContext object
- getMappingContext() - Method in EntityPersister
-
- Returns:
- The MappingContext instance
- getMappingContext() - Method in PersistentEntity
-
Obtains the MappingContext where this PersistentEntity is defined
- getMappingContext() - Method in Session
-
Obtains the MappingContext instance
- getMappingFactory() - Method in AbstractMappingContext
-
- getMappingFactory() - Method in DocumentMappingContext
-
- getMappingFactory() - Method in KeyValueMappingContext
-
- getMappingFactory() - Method in MappingContext
-
Obtains the MappingFactory instance
- getMappingStrategy() - Method in AbstractPersistentEntity
-
- getMappingSyntaxStrategy() - Method in DocumentMappingContext
-
- getMappingSyntaxStrategy() - Method in KeyValueMappingContext
-
- getMappingSyntaxStrategy() - Method in MappingContext
-
Returns the syntax reader used to interpret the entity
mapping syntax
- getMessage() - Method in ValidationException
-
- getMessageSource() - Method in BeanFactoryValidatorRegistry
-
- getMessageSource() - Method in ValidatorRegistry
-
- Returns:
- The message source used by this registry
- getMetaProperties() - Method in ClassPropertyFetcher
-
- Returns:
- The meta properties of this class
- getMilestoneVersion() - Method in Snapshot
-
- getMultiTenancyMode() - Method in AbstractMappingContext
-
- getMultiTenancyMode() - Method in MappingContext
-
- Returns:
- The multi tenancy mode
- getMultiTenancyMode() - Method in MultiTenantCapableDatastore
-
- Returns:
- The multi tenancy mode
- getName() - Method in AbstractPersistentEntity
-
- getName() - Method in AbstractPersistentProperty
-
- getName() - Method in ConnectionSource
-
- Returns:
- The name of the connection source
- getName() - Method in DefaultConnectionSource
-
- getName() - Method in PersistentEntity
-
The entity name including any package prefix
- getName() - Method in PersistentProperty
-
The name of the property
- getName() - Method in Property
-
- Returns:
- The name of the property this property mapping relates to
- getName() - Method in Query.In
-
- getName() - Method in Query.NotIn
-
- getName() - Method in ServiceDefinition
-
- Returns:
- The full class name of the service
- getNativeEntry() - Method in PendingOperation
-
- Returns:
- The native entry to persist
- getNativeEntry() - Method in PendingOperationAdapter
-
- getNativeEvent() - Method in AbstractPersistenceEvent
-
- getNativeInterface() - Method in Session
-
- Returns:
- The native interface to the datastore
- getNativeKey() - Method in PendingOperation
-
- Returns:
- The native key to insert
- getNativeKey() - Method in PendingOperationAdapter
-
- getNativePropertyKey(org.grails.datastore.mapping.model.PersistentProperty) - Method in AbstractKeyValueEntityPersister
-
- getNativePropertyKey(org.grails.datastore.mapping.model.PersistentProperty) - Method in NativeEntryEntityPersister
-
- getNativeTransaction() - Method in SessionOnlyTransaction
-
- getNativeTransaction() - Method in Transaction
-
- Returns:
- the native transaction object.
- getObject() - Method in PendingDeleteAdapter
-
- getObject() - Method in PendingInsertAdapter
-
- getObject() - Method in PendingOperation
-
- Returns:
- The target object of the pending operation
- getObject() - Method in PendingOperationAdapter
-
- getObject() - Method in PendingUpdateAdapter
-
- getObjectIdentifier(java.lang.Object) - Method in AbstractSession
-
- getObjectIdentifier(java.lang.Object) - Method in EntityPersister
-
Obtains an objects identifer
- getObjectIdentifier(java.lang.Object) - Method in Persister
-
Get the identifier for the given object, if it has one.
- getObjectIdentifier(java.lang.Object) - Method in Session
-
Obtains the identifier for the instance
- getObjectType() - Method in DatastoreServiceMethodInvokingFactoryBean
-
- getOrCreateAssociatedEntity(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.lang.Class) - Method in GormMappingConfigurationStrategy
-
Tries to obtain or create an associated entity.
- getOrCreateEmbeddedEntity(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.lang.Class) - Method in GormMappingConfigurationStrategy
-
Tries to obtain or create an embedded entity.
- getOrder() - Method in AbstractPersistenceEventListener
-
- getOrder() - Method in Ordered
-
The order of this object
- getOrder(java.lang.Object) - Method in OrderedComparator
-
Determine the order value for the given object.
- getOrderBy() - Method in Query
-
Gets the Order entries for this query
- getOriginalSize() - Method in AbstractPersistentCollection
-
- getOriginalSize() - Method in DirtyCheckableCollection
-
- Returns:
- The previous size of the collection prior to any changes
- getOriginalValue(java.lang.String) - Method in DirtyCheckable
-
Returns the original value of the property prior to when
trackChanges() was called
- getOrInitializePropertyConfig(java.lang.String) - Method in Entity
-
- getOrIntializeReflector(org.grails.datastore.mapping.model.PersistentEntity) - Method in FieldEntityAccess
-
- getOtherProperty() - Method in Query.PropertyComparisonCriterion
-
- getOwner() - Method in AbstractPersistentProperty
-
- getOwner() - Method in PersistentProperty
-
Obtains the owner of this persistent property
- getOwningEntities(java.lang.Class, org.grails.datastore.mapping.model.MappingContext) - Method in GormMappingConfigurationStrategy
-
- getOwningEntities(java.lang.Class, org.grails.datastore.mapping.model.MappingContext) - Method in MappingConfigurationStrategy
-
Returns a set of entities that "own" the given entity.
- getParameters() - Method in JpaQueryInfo
-
- getParentEntity() - Method in AbstractPersistentEntity
-
- getParentEntity() - Method in KeyValuePersistentEntity
-
- getParentEntity() - Method in PersistentEntity
-
Returns the parent entity of this entity
- getPattern() - Method in Query.Like
-
- getPattern() - Method in Query.RLike
-
- getPendingDeletes() - Method in AbstractSession
-
- getPendingDeletes() - Method in SessionImplementor
-
- Returns:
- The pending deletes
- getPendingInserts() - Method in AbstractSession
-
- getPendingInserts() - Method in SessionImplementor
-
- Returns:
- The pending insert operations
- getPendingUpdates() - Method in AbstractSession
-
- getPendingUpdates() - Method in SessionImplementor
-
- Returns:
- The pending updates
- getPersistentEntities() - Method in AbstractMappingContext
-
- getPersistentEntities() - Method in MappingContext
-
Obtains a list of PersistentEntity instances
- getPersistentEntity(java.lang.String) - Method in AbstractMappingContext
-
- getPersistentEntity() - Method in BeanEntityAccess
-
- getPersistentEntity() - Method in EntityAccess
-
- getPersistentEntity() - Method in EntityPersister
-
- Returns:
- The PersistentEntity instance
- getPersistentEntity() - Method in FieldEntityAccess
-
- getPersistentEntity(java.lang.String) - Method in MappingContext
-
Obtains a PersistentEntity by name
- getPersistentEntity() - Method in OptimisticLockingException
-
- getPersistentEntity() - Method in QueryableCriteria
-
- Returns:
- The target entity
- getPersistentProperties() - Method in AbstractPersistentEntity
-
- getPersistentProperties(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, org.grails.datastore.mapping.model.ClassMapping) - Method in GormMappingConfigurationStrategy
-
- getPersistentProperties(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, org.grails.datastore.mapping.model.ClassMapping, boolean) - Method in JpaMappingConfigurationStrategy
-
- getPersistentProperties(java.lang.Class, org.grails.datastore.mapping.model.MappingContext, org.grails.datastore.mapping.model.ClassMapping) - Method in MappingConfigurationStrategy
-
Obtains a List of PersistentProperty instances for the given Mapped class
- getPersistentProperties() - Method in PersistentEntity
-
A list of properties to be persisted
- getPersistentPropertyNames() - Method in AbstractPersistentEntity
-
- getPersistentPropertyNames() - Method in PersistentEntity
-
A list of property names that a persistent
- getPersister(java.lang.Object) - Method in AbstractSession
-
- getPersister(java.lang.Object) - Method in Session
-
The persister for the given object
- getPersitentEntity() - Method in EntityReflector
-
The entity
- getPreOperations() - Method in PendingOperation
-
Operations to be executed directly prior to this operation
- getPreOperations() - Method in PendingOperationAdapter
-
- getProjectionList() - Method in Query.ProjectionList
-
- getProjections() - Method in QueryableCriteria
-
- getProperties() - Method in DefaultMappingConfigurationBuilder
-
- getProperties() - Method in MappingConfigurationBuilder
-
- Returns:
- The build property definitions
- getPropertiesAssignableFromType(java.lang.Class) - Method in ClassPropertyFetcher
-
- getPropertiesAssignableToType(java.lang.Class) - Method in ClassPropertyFetcher
-
- getPropertiesOfType(java.lang.Class) - Method in ClassPropertyFetcher
-
- getPropertiesOfType(Class<?>, Class<?>) - Method in ReflectionUtils
-
Retrieves all the properties of the given class for the given type
- getProperty(java.lang.String) - Method in BeanEntityAccess
-
- getProperty(java.lang.String) - Method in EntityAccess
-
Obtains a property value
- getProperty(java.lang.Object, java.lang.String) - Method in EntityReflector
-
Get a property for the specified index
- getProperty(java.lang.String) - Method in FieldEntityAccess
-
- getProperty(java.lang.Object, java.lang.String) - Method in GroovyObjectMethodHandler
-
- getProperty(java.lang.String) - Method in ModificationTrackingEntityAccess
-
- getProperty() - Method in Query.Between
-
- getProperty() - Method in Query.Order
-
- Returns:
- The property name to order by
- getProperty() - Method in Query.PropertyNameCriterion
-
- getPropertyAfterResolving(java.lang.Object, java.lang.String) - Method in GroovyObjectMethodHandler
-
- getPropertyBeforeResolving(java.lang.Object, java.lang.String) - Method in EntityProxyMethodHandler
-
- getPropertyBeforeResolving(java.lang.Object, java.lang.String) - Method in GroovyObjectMethodHandler
-
- getPropertyByName(java.lang.String) - Method in AbstractPersistentEntity
-
- getPropertyByName(java.lang.String) - Method in KeyValuePersistentEntity
-
- getPropertyByName(java.lang.String) - Method in PersistentEntity
-
Obtains a PersistentProperty instance by name
- getPropertyConfig(java.lang.String) - Method in Entity
-
Get a property config
- getPropertyConfigs() - Method in Entity
-
- Returns:
- The property configurations
- getPropertyCriterion() - Method in FunctionCallingCriterion
-
- getPropertyDescriptor(java.lang.String) - Method in ClassPropertyFetcher
-
- getPropertyDescriptors() - Method in ClassPropertyFetcher
-
- deprecated:
- Use getMetaProperties instead
- getPropertyFromHierarchy(org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in AstUtils
-
Obtains a property from the class hierarchy
- getPropertyIndexer(org.grails.datastore.mapping.model.PersistentProperty) - Method in NativeEntryEntityPersister
-
Obtains an indexer for a particular property
- getPropertyKey(org.grails.datastore.mapping.model.PersistentProperty) - Method in NativeEntryEntityPersister
-
- getPropertyMappedFormType() - Method in AbstractGormMappingFactory
-
- getPropertyMappedFormType() - Method in GormDocumentMappingFactory
-
- getPropertyMappedFormType() - Method in GormKeyValueMappingFactory
-
- getPropertyName() - Method in Query.PropertyProjection
-
- getPropertyNameForGetterOrSetter(java.lang.String) - Method in NameUtils
-
Returns the property name for a getter or setter
- getPropertyNames() - Method in EntityReflector
-
- Returns:
- The property names
- getPropertyReader(java.lang.String) - Method in EntityReflector
-
- Parameters:
name
- Obtains the property reader for the given property
- getPropertyType(org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in AstUtils
-
Returns the property type if it exists
- getPropertyType(java.lang.String) - Method in BeanEntityAccess
-
- getPropertyType(Class<?>, java.lang.String) - Method in ClassPropertyFetcher
-
- getPropertyType(java.lang.String) - Method in EntityAccess
-
Obtains a property type
- getPropertyType(java.lang.String) - Method in FieldEntityAccess
-
- getPropertyValue(java.lang.String) - Method in BeanEntityAccess
-
- getPropertyValue(java.lang.String, Class<T>) - Method in ClassPropertyFetcher
-
- getPropertyValue(java.lang.String) - Method in EntityAccess
-
Obtains a property value
- getPropertyValue(java.lang.String) - Method in FieldEntityAccess
-
- getPropertyWriter(java.lang.String) - Method in EntityReflector
-
- Parameters:
name
- Obtains the property writer for the given property
- getProxiedClass(java.lang.Object) - Method in JavassistProxyFactory
-
- getProxiedClass(java.lang.Object) - Method in ProxyHandler
-
Get the class being proxied
- getProxyClass(java.lang.Class) - Method in JavassistProxyFactory
-
- getProxyFactory() - Method in AbstractMappingContext
-
- getProxyFactory() - Method in EntityPersister
-
- getProxyFactory() - Method in MappingContext
-
Factory used for creating proxies
- getProxyHandler() - Method in AbstractMappingContext
-
- getProxyHandler() - Method in MappingContext
-
For handling proxies
- getProxyInstance(org.grails.datastore.mapping.core.Session, java.lang.Class, java.io.Serializable) - Method in JavassistProxyFactory
-
- getProxyInterfaces() - Method in JavassistProxyFactory
-
- getProxyKey(java.lang.Object) - Method in AssociationQueryProxyHandler
-
- getProxyKey() - Method in EntityProxy
-
- getProxyKey(java.lang.Object) - Method in EntityProxyMethodHandler
-
- getProxyKey(java.lang.Object) - Method in SessionEntityProxyMethodHandler
-
- getProxyTarget(java.lang.Object) - Method in EntityProxyMethodHandler
-
- getQuery() - Method in AbstractQueryEvent
-
Get the query from the event.
- getQuery() - Method in JpaQueryInfo
-
- getReader() - Method in AbstractPersistentProperty
-
- getReader() - Method in PersistentProperty
-
- Returns:
- The reader for this property
- getReference() - Method in ClassPropertyFetcher
-
- Deprecated:
- will be removed in a future version of GORM
- getReferencedPropertyName() - Method in Association
-
- Returns:
- Returns the name of the inverse property or null if this association is unidirectional
- getReflector() - Method in AbstractPersistentEntity
-
- getReflector(java.lang.String) - Method in FieldEntityAccess
-
- getReflector() - Method in PersistentEntity
-
- Returns:
- The reflector this entity
- getReleaseCandidateVersion() - Method in Snapshot
-
- getResults() - Method in PostQueryEvent
-
- Returns:
- The results of the query.
- getRootEntity() - Method in AbstractPersistentEntity
-
- getRootEntity() - Method in PersistentEntity
-
Obtains the root entity of an inheritance hierarchy
- getService(Class<T>) - Method in AbstractDatastore
-
- getService(Class<T>) - Method in DefaultServiceRegistry
-
- getService(Class<T>) - Method in ServiceRegistry
-
Obtain a service for the given interface
- getServices() - Method in AbstractDatastore
-
- getServices() - Method in DefaultServiceRegistry
-
- getServices() - Method in ServiceRegistry
-
- Returns:
- An iterable of the available services
- getSession(org.grails.datastore.mapping.core.Datastore, boolean) - Method in DatastoreUtils
-
Get a Datastore Session for the given Datastore.
- getSession() - Method in EntityPersister
-
- getSession() - Method in Query
-
- Returns:
- The session that created the query
- getSession() - Method in SessionCreationEvent
-
- Returns:
- The session that has just been created.
- getSession() - Method in SessionHolder
-
- getSessionHolder() - Method in TransactionObject
-
- getSessionProperty(java.lang.String) - Method in AbstractAttributeStoringSession
-
Get the value of a property of the session.
- getSessionProperty(java.lang.String) - Method in Session
-
Get the value of a property of the session.
- getSetterName(java.lang.String) - Method in MappingUtils
-
Retrieves the name of a setter for the specified property name
- getSetterName(java.lang.String) - Method in NameUtils
-
Retrieves the name of a setter for the specified property name
- getSettings() - Method in ConnectionSource
-
- getSettings() - Method in DefaultConnectionSource
-
- getSort() - Method in Entity
-
- getSource() - Method in ConnectionSource
-
- Returns:
- The underlying native connection source, for example a SQL javax.sql.DataSource
- getSource() - Method in DefaultConnectionSource
-
- getSourceUnit() - Method in AstUtils.1
-
- getStaticPropertyValue(java.lang.Class, java.lang.String, Class<T>) - Method in ClassPropertyFetcher
-
- getStaticPropertyValuesFromInheritanceHierarchy(java.lang.Class, java.lang.String, Class<T>) - Method in ClassPropertyFetcher
-
Get the list of property values for this static property from the whole inheritance hierarchy, starting
from the most derived version of the property ending with the base class.
- getSubquery() - Method in Query.Exists
-
- getSubquery() - Method in Query.In
-
- getSubquery() - Method in Query.NotExists
-
- getSubquery() - Method in Query.NotIn
-
- getTarget() - Method in EntityProxy
-
Obtains the target performing initialization if necessary
- getTargetClass() - Method in BuildableCriteria
-
- Returns:
- The class the criteria applies to
- getTargetKey(org.grails.datastore.mapping.model.PersistentProperty) - Method in MappingUtils
-
- getTargetType() - Method in AbstractMappingAwareCustomTypeMarshaller
-
- getTargetType() - Method in CustomTypeMarshaller
-
- Returns:
- The target Java type
- getTenantId() - Method in AbstractPersistentEntity
-
- getTenantId() - Method in PersistentEntity
-
- getTenantResolver() - Method in MultiTenancySettings
-
- Returns:
- The tenant resolver
- getTenantResolver() - Method in MultiTenantCapableDatastore
-
- Returns:
- Obtain the tenant resolver
- getter() - Method in EntityReflector.PropertyReader
-
- getThisMetaClass() - Method in GroovyObjectMethodHandler
-
- getTo() - Method in Query.Between
-
- getTPCacheAdapter(org.grails.datastore.mapping.model.PersistentEntity) - Method in TPCacheAdapterRepository
-
- getTPCacheAdapter(org.grails.datastore.mapping.model.PersistentEntity) - Method in TPCacheAdapterRepositoryImpl
-
- getTransaction() - Method in AbstractSession
-
- getTransaction() - Method in Session
-
Obtains the current transaction instance
- getTransaction() - Method in SessionHolder
-
- getTransaction() - Method in TransactionObject
-
- getTransaction(org.grails.datastore.mapping.core.Datastore) - Method in TransactionUtils
-
- getTransactionManager() - Method in TransactionCapableDatastore
-
- Returns:
- The transaction manager for this datastore
- getType() - Method in AbstractPersistentProperty
-
- getType() - Method in EntityPersister
-
- getType() - Method in PersistentProperty
-
The type of the property
- getType() - Method in Persister
-
The type this persister persists
- getType() - Method in ServiceDefinition
-
- Returns:
- The type of the service
- getUniquenessGroup() - Method in Property
-
- getValidatedFields() - Method in ValidationEvent
-
- getValidatedSession() - Method in SessionHolder
-
- getValidator(org.grails.datastore.mapping.model.PersistentEntity) - Method in BeanFactoryValidatorRegistry
-
- getValidator(org.grails.datastore.mapping.model.PersistentEntity) - Method in ValidatorRegistry
-
Looks up a validator for the given entity
- getValidatorRegistry() - Method in AbstractMappingContext
-
- getValidatorRegistry() - Method in MappingContext
-
- Returns:
- Gets the validation registry used by this MappingContext
- getValue() - Method in Query.PropertyCriterion
-
- getValue() - Method in Query.SubqueryCriterion
-
- getValues() - Method in Query.In
-
- getVersion() - Method in AbstractPersistentEntity
-
- getVersion() - Method in PersistentEntity
-
Returns the version property.
- getWriter() - Method in AbstractPersistentProperty
-
- getWriter() - Method in PersistentProperty
-
- Returns:
- The writer for this property
- GormDocumentMappingFactory - Class in org.grails.datastore.mapping.document.config
- GormKeyValueMappingFactory - Class in org.grails.datastore.mapping.keyvalue.mapping.config
- GormKeyValueMappingFactory(java.lang.String) - Constructor in GormKeyValueMappingFactory
-
- GormMappingConfigurationStrategy - Class in org.grails.datastore.mapping.model.config
- GormMappingConfigurationStrategy(org.grails.datastore.mapping.model.MappingFactory) - Constructor in GormMappingConfigurationStrategy
-
- GormProperties - Interface in org.grails.datastore.mapping.model.config
Reserved static property names used by GORM to evaluate GORM-style syntax.
- GRAILS_APP_DIR - Field in AstUtils
-
The name of the Grails application directory
- GrailsVersion - Class in org.grails.datastore.mapping.core.grailsversion
A class to represent a version of Grails for comparison
- GrailsVersion(java.lang.String) - Constructor in GrailsVersion
-
- GraphDatastore - Interface in org.grails.datastore.mapping.graph
Marker interface for a Datastore that is a Graph
- GreaterThan(java.lang.String, java.lang.Object) - Constructor in Query.GreaterThan
-
- GreaterThanAll(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Constructor in Query.GreaterThanAll
-
- GreaterThanEquals(java.lang.String, java.lang.Object) - Constructor in Query.GreaterThanEquals
-
- GreaterThanEqualsAll(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Constructor in Query.GreaterThanEqualsAll
-
- GreaterThanEqualsProperty(java.lang.String, java.lang.String) - Constructor in Query.GreaterThanEqualsProperty
-
- GreaterThanEqualsSome(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Constructor in Query.GreaterThanEqualsSome
-
- GreaterThanProperty(java.lang.String, java.lang.String) - Constructor in Query.GreaterThanProperty
-
- GreaterThanSome(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Constructor in Query.GreaterThanSome
-
- GROOVY_OBJECT_CLASS - Field in KeyValueMappingContext
-
- GROOVY_PROXY_FACTORY_NAME - Field in AbstractMappingContext
-
- GroovyObjectMethodHandler - Class in org.grails.datastore.mapping.proxy
Javassist MethodHandler for handling GroovyObject methods
- GroovyObjectMethodHandler(Class<?>) - Constructor in GroovyObjectMethodHandler
-
- groupProperty(java.lang.String) - Method in ProjectionList
-
Defines a group by projection for datastores that support it
- groupProperty(java.lang.String) - Method in Projections
-
Defines a group by projection for datastores that support it
- groupProperty(java.lang.String) - Method in Query.ProjectionList
-
- GroupPropertyProjection(java.lang.String) - Constructor in Query.GroupPropertyProjection
-
- gt(java.lang.String, java.lang.Object) - Method in Criteria
-
Used to restrict a value to be greater than or equal to the given value
- gt(java.lang.String, java.lang.Object) - Method in Query
-
Used to restrict a value to be greater than the given value
- gt(java.lang.String, java.lang.Object) - Method in Restrictions
-
Used to restrict a value to be greater than the given value
- gtAll(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Method in Criteria
-
Creates a subquery criterion that ensures the given property is greater than all the given returned values
- gte(java.lang.String, java.lang.Object) - Method in Criteria
-
Used to restrict a value to be greater than or equal to the given value
- gte(java.lang.String, java.lang.Object) - Method in Query
-
Used to restrict a value to be greater than or equal to the given value
- gte(java.lang.String, java.lang.Object) - Method in Restrictions
-
Used to restrict a value to be greater than or equal to the given value
- gtProperty(java.lang.String, java.lang.String) - Method in Criteria
-
Constrains a property to be greater than a specified other property
- gtProperty(java.lang.String, java.lang.String) - Method in Restrictions
-
Constraints a property to be greater than a specified other property
- gtSome(java.lang.String, Closure<?>) - Method in Criteria
-
Creates a subquery criterion that ensures the given property is greater than some of the given values
- GUID - Enum Constant in ValueGenerator
-
uses a database-generated GUID string on MS SQL Server and MySQL.
- id(groovy.lang.Closure) - Method in Entity
-
Define the identity config
- ID_PROJECTION - Field in Projections
-
- id() - Method in ProjectionList
-
A Projection that obtains the id of an object
- id() - Method in Projections
-
Projection used to obtain the id of an object
- id() - Method in Query.ProjectionList
-
- identifierType() - Method in EntityReflector
-
- Returns:
- The identity type
- Identity - Class in org.grails.datastore.mapping.model.types
Represents the identity of a persistent entity
- identity - Field in AbstractPersistentEntity
-
- Identity(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.lang.String, java.lang.Class) - Constructor in Identity
-
- IDENTITY_PROPERTY - Field in MappingFactory
-
- IDENTITY - Enum Constant in ValueGenerator
-
Using an identity column
- IdentityGenerationException - Class in org.grails.datastore.mapping.core
Thrown when an identity cannot be generated.
- IdentityGenerationException(java.lang.String) - Constructor in IdentityGenerationException
-
- IdentityMapping - Interface in org.grails.datastore.mapping.model
- idEq(java.lang.Object) - Method in Criteria
-
Creates an "equals" Criterion based on the specified property name and value
- idEq(java.lang.Object) - Method in Query
-
Restricts the results by the given properties value
- idEq(java.lang.Object) - Method in Restrictions
-
Restricts the property to be equal to the given value
- idEquals(java.lang.Object) - Method in Criteria
-
Creates a criterion that restricts the id to the given value
- IdEquals(java.lang.Object) - Constructor in Query.IdEquals
-
- ignoreCase() - Method in Query.Order
-
Whether to ignore the case for this order definition
- ilike(java.lang.String, java.lang.Object) - Method in Criteria
-
Creates an ilike Criterion based on the specified property name and value.
- ilike(java.lang.String, java.lang.String) - Method in Query
-
Restricts the results by the given properties value
- ILike(java.lang.String, java.lang.String) - Constructor in Query.ILike
-
- ilike(java.lang.String, java.lang.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(java.lang.String) - Constructor in IllegalMappingException
-
- implementsInterface(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in AstUtils
-
Whether the given class node implements the given interface node
- implementsOrInheritsZeroArgMethod(org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in AstUtils
-
- implementsZeroArgMethod(org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in AstUtils
-
Tests whether the ClasNode implements the specified method name.
- in(java.lang.String, java.lang.Object) - Method in Criteria
-
Creates an "in" Criterion based on the specified property name and list of values
- in(java.lang.String, java.util.List) - Method in Query
-
Restricts the results by the given property values
- In(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Constructor in Query.In
-
- in(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Method in Restrictions
-
Restricts the property to be in the list of given values
- includeIdentifiers() - Method in AbstractPersistentEntity
-
- INCREMENT - Enum Constant in ValueGenerator
-
A generator that uses an auto-increment column
- incrementEntityVersion(org.grails.datastore.mapping.engine.EntityAccess) - Method in EntityPersister
-
- incrementVersion(org.grails.datastore.mapping.engine.EntityAccess) - Method in EntityPersister
-
- index(T, K) - Method in AssociationIndexer
-
Index a single foreign key
- index - Property in Property
-
- Returns:
- Whether this property is index
- index(java.lang.Object, K) - Method in PropertyValueIndexer
-
Creates an index for the given value to the specified key
- indexer - Field in AbstractPersistentCollection
-
- indexOf(java.lang.Object) - Method in PersistentList
-
- inferNativeKey(java.lang.String, java.lang.Object) - Method in NativeEntryEntityPersister
-
Used to establish the native key to use from the identifier defined by the object
- inherited - Field in AbstractPersistentProperty
-
- initDeferredClose(org.grails.datastore.mapping.core.Datastore) - Method in DatastoreUtils
-
Initialize deferred close for the current thread and the given Datastore.
- Initializable - Interface in org.grails.datastore.mapping.model.lifecycle
Interface for object that requires explicit initialization
- initialize() - Method in AbstractMappingContext
-
- initialize() - Method in AbstractPersistentCollection
-
- initialize() - Method in AbstractPersistentEntity
-
- initialize() - Method in DefaultServiceRegistry
-
- initialize(org.grails.datastore.mapping.core.connections.ConnectionSourceSettings) - Method in DocumentMappingContext
-
- initialize() - Method in EmbeddedPersistentEntity
-
- initialize() - Method in EntityProxy
-
Initializes the proxy if it hasn't been initialized already
- initialize() - Method in Initializable
-
Call to initialize the object
- initialize(java.lang.Object) - Method in JavassistProxyFactory
-
- INITIALIZE_METHOD - Field in EntityProxyMethodHandler
-
- initialize() - Method in PersistentCollection
-
Initializes the collection if it hasn't already been initialized.
- initialize(java.lang.Object) - Method in ProxyHandler
-
Initialises the given object
- initializeConverters(org.grails.datastore.mapping.model.MappingContext) - Method in AbstractDatastore
-
- initialized - Field in AbstractPersistentCollection
-
- INITIALIZED_PROPERTY - Field in EntityProxyMethodHandler
-
- initializeDefaultMappingFactory(java.lang.String) - Method in KeyValueMappingContext
-
- initializeProxyTarget(java.lang.Object) - Method in EntityProxyMethodHandler
-
- initializeTarget(java.lang.Object) - Method in SessionEntityProxyMethodHandler
-
- initializing - Field in AbstractPersistentCollection
-
- initialValue() - Method in SoftThreadLocalMap
-
Creates an initial value of a Map.
- injectTrait(org.codehaus.groovy.ast.ClassNode, java.lang.Class) - Method in AstUtils
-
- inList(java.lang.String, java.lang.Object) - Method in Criteria
-
Creates an "in" Criterion based on the specified property name and list of values
- inList - Property in Property
-
- Returns:
- List of valid values
- InMemoryConnectionSources - Class in org.grails.datastore.mapping.core.connections
- InMemoryConnectionSources(ConnectionSource<T, S>, ConnectionSourceFactory<T, S>, org.springframework.core.env.PropertyResolver) - Constructor in InMemoryConnectionSources
-
- insert(java.lang.Object) - Method in AbstractSession
-
- insert(java.lang.Object) - Method in EntityPersister
-
- insert(java.lang.Object) - Method in Persister
-
Forces an insert of an object rather than trying to guess if it is an insert or an update
- insert(java.lang.Object) - Method in Session
-
Forces an insert
- instantiate(Class<T>) - Method in ReflectionUtils
-
Instantiates an object catching any relevant exceptions and rethrowing as a runtime exception
- InstantiationException - Class in org.grails.datastore.mapping.reflect
Runtime exception equivalent of java.lang.InstantiationException
- InstantiationException(java.lang.String, java.lang.Throwable) - Constructor in InstantiationException
-
- IntArrayToIntegerArrayConverter - Class in org.grails.datastore.mapping.model.types.conversion
- Authors:
- Stefan Armbruster
- IntArrayToIntegerArrayConverter() - Constructor in IntArrayToIntegerArrayConverter
-
- IntegerToByteConverter - Class in org.grails.datastore.mapping.model.types.conversion
- Authors:
- Stefan Armbruster
- IntegerToByteConverter() - Constructor in IntegerToByteConverter
-
- IntegerToShortConverter - Class in org.grails.datastore.mapping.model.types.conversion
- Authors:
- Stefan Armbruster
- IntegerToShortConverter() - Constructor in IntegerToShortConverter
-
- invoke(java.lang.Object, java.lang.reflect.Method, java.lang.reflect.Method, java.lang.Object) - Method in GroovyObjectMethodHandler
-
- INVOKE_IMPLEMENTATION - Field in GroovyObjectMethodHandler
-
- INVOKE_METHOD - Field in GroovyObjectMethodHandler
-
- invokeEntityProxyMethods(java.lang.Object, java.lang.String, java.lang.Object) - Method in EntityProxyMethodHandler
-
- invokeMethod(java.lang.String, java.lang.Object) - Method in ClosureToMapPopulator
-
- invokeMethod(java.lang.String, java.lang.Object) - Method in DefaultMappingConfigurationBuilder
-
- invokeMethodAfterResolving(java.lang.Object, java.lang.String, java.lang.Object) - Method in GroovyObjectMethodHandler
-
- invokeMethodBeforeResolving(java.lang.Object, java.lang.String, java.lang.Object) - Method in EntityProxyMethodHandler
-
- invokeMethodBeforeResolving(java.lang.Object, java.lang.String, java.lang.Object) - Method in GroovyObjectMethodHandler
-
- invokeThisMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in GroovyObjectMethodHandler
-
- invokeWithTargetException() - Method in DatastoreServiceMethodInvokingFactoryBean
-
- IS_INITIALIZED_METHOD - Field in EntityProxyMethodHandler
-
- IS_PROXY_METHOD - Field in EntityProxyMethodHandler
-
- isAbstract() - Method in AbstractPersistentEntity
-
- isAbstract(org.grails.datastore.mapping.model.PersistentEntity) - Method in GormMappingConfigurationStrategy
-
- isActive() - Method in SessionOnlyTransaction
-
- isActive() - Method in Transaction
-
Whether the transaction is active
- isAnnotatedSuperClass(org.grails.datastore.mapping.model.MappingConfigurationStrategy, java.lang.Class) - Method in AbstractPersistentEntity
-
- isAssignableFrom(Class<?>, Class<?>) - Method in ReflectionUtils
-
- isAssignableOrConvertibleFrom(Class<?>, Class<?>) - Method in ClassUtils
-
Returns true if the specified clazz parameter is either the same as, or is a superclass or superinterface
of, the specified type parameter.
- isAssignedId(org.grails.datastore.mapping.model.PersistentEntity) - Method in EntityPersister
-
- isAtLeast(java.lang.String, java.lang.String) - Method in GrailsVersion
-
Check whether the version is at least the given version
- isAtLeastMajorMinor(java.lang.String, int, int) - Method in GrailsVersion
-
Check whether the current version is at least the given major and minor version
- isBasic() - Method in Association
-
- Returns:
- Whether this association is embedded
- isBidirectional() - Method in Association
-
- Returns:
- True if the association is bidirectional
- isBuildSnapshot() - Method in Snapshot
-
- isCached(java.lang.Class, java.io.Serializable) - Method in AbstractSession
-
- isCached(java.lang.Class, java.io.Serializable) - Method in SessionImplementor
-
Whether an object with the specified key is contained within the first level cache.
- isCancelled() - Method in AbstractPersistenceEvent
-
- isCircular() - Method in Association
-
- Returns:
- Whether the association is circular
- isClassBelowPackage(Class<?>, java.util.List) - Method in ClassUtils
-
- isCollectionType(java.lang.Class) - Method in GormMappingConfigurationStrategy
-
- isConfigurational(java.lang.String) - Method in NameUtils
-
- isConnected() - Method in AbstractAttributeStoringSession
-
- isConnected() - Method in Session
-
- Returns:
true
if connected to the datastore
- isCustomType(Class<?>) - Method in MappingFactory
-
- isDirty() - Method in AbstractPersistentCollection
-
- isDirty(java.lang.Object) - Method in AbstractSession
-
- isDirty(java.lang.Object, java.lang.Object) - Method in NativeEntryEntityPersister
-
- isDirty() - Method in PersistentCollection
-
Check whether the collection has been modified.
- isDirty(java.lang.Object) - Method in Session
-
Check if the instance has been modified since loading.
- isDomainClass(org.codehaus.groovy.ast.ClassNode) - Method in AstUtils
-
- isEmbedded() - Method in Association
-
- Returns:
- Whether this association is embedded
- isEmbeddedEntry(java.lang.Object) - Method in NativeEntryEntityPersister
-
Tests whether a native entry is an embedded entry
- isEmpty() - Method in AbstractPersistentCollection
-
- isEmpty(java.lang.String) - Method in Criteria
-
Creates a criterion that asserts the given property is empty (such as a blank string)
- isEmpty() - Method in PropertyResolverMap
-
- isEmpty(java.lang.String) - Method in Query
-
Used to restrict a value to be empty (such as a blank string or an empty collection)
- IsEmpty(java.lang.String) - Constructor in Query.IsEmpty
-
- isEmpty() - Method in Query.Junction
-
- isEmpty() - Method in Query.ProjectionList
-
- isEmpty(java.lang.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(org.codehaus.groovy.ast.ClassNode) - Method in AstUtils
-
Is the class an enum
- isExcludedProperty(java.lang.String, org.grails.datastore.mapping.model.ClassMapping, java.util.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(org.codehaus.groovy.ast.MethodNode) - Method in AstUtils
-
- isGetter(java.lang.String, Class<?>) - Method in ReflectionUtils
-
Returns true if the name of the method specified and the number of arguments make it a javabean property
- isGroovyType(org.codehaus.groovy.ast.ClassNode) - Method in AstUtils
-
Whether the given type is a Groovy object
- isHandled(java.lang.reflect.Method) - Method in JavassistProxyFactory
-
- isIdentityName(java.lang.String) - Method in AbstractPersistentEntity
-
- isIdentityName(java.lang.String) - Method in PersistentEntity
-
True if the given property is the identifier
- isIgnoreCase() - Method in Query.Order
-
- isIndexed(org.grails.datastore.mapping.model.PersistentProperty) - Method in AbstractDatastore
-
- isInherited() - Method in AbstractPersistentProperty
-
- isInherited() - Method in PersistentProperty
-
- Returns:
- Whether this property is inherited
- isInheritRollbackOnly() - Method in CustomizableRollbackTransactionAttribute
-
- isInInheritanceHierarchy(org.grails.datastore.mapping.model.PersistentEntity) - Method in AbstractMappingContext
-
Returns true if the given entity is in an inheritance hierarchy
- isInInheritanceHierarchy(org.grails.datastore.mapping.model.PersistentEntity) - Method in MappingContext
-
Returns true if the given entity is in an inheritance hierarchy
- isInitialized() - Method in AbstractMappingContext
-
- isInitialized() - Method in AbstractPersistentCollection
-
- isInitialized() - Method in AbstractPersistentEntity
-
- isInitialized() - Method in DefaultServiceRegistry
-
- isInitialized() - Method in EntityProxy
-
Checks whether the proxy has been initialized
- isInitialized() - Method in Initializable
-
- isInitialized(java.lang.Object, java.lang.String) - Method in JavassistProxyFactory
-
- isInitialized() - Method in PersistentCollection
-
Check whether the collection has been loaded.
- isInitialized(java.lang.Object, java.lang.String) - Method in ProxyHandler
-
Checks whether the given association name of the given object is initialized
- isInstance(java.lang.Object) - Method in AbstractPersistentEntity
-
- isInstance(java.lang.Object) - Method in PersistentEntity
-
Tests whether the given instance is an instance of this persistent entity
- isIterableOrArrayOfDomainClasses(org.codehaus.groovy.ast.ClassNode) - Method in AstUtils
-
- isLazy() - Method in Property
-
- isLazy() - Method in ToMany
-
- Returns:
- Whether this association is lazy
- isList() - Method in Association
-
- Returns:
- Whether the association is a List
- isListenerExcluded(java.lang.String) - Method in AbstractPersistenceEvent
-
- isLocked(java.lang.Object) - Method in LockableEntityPersister
-
Return whether an object is locked or not
- isLocked(java.lang.Object) - Method in NativeEntryEntityPersister
-
Subclasses can override to provide locking semantics
- isMilestone() - Method in Snapshot
-
- isMultiTenant() - Method in AbstractPersistentEntity
-
- isMultiTenant(java.lang.Class) - Method in ClassUtils
-
Whether the class is multi tenant
- isMultiTenant(java.lang.Class) - Method in ConnectionSourcesSupport
-
- isMultiTenant() - Method in PersistentEntity
-
- Returns:
- Whether the entity is multi tenant
- isNewSession() - Method in TransactionObject
-
- isNewSessionHolder() - Method in TransactionObject
-
- isNotConfigurational(java.lang.String) - Method in NameUtils
-
- isNotEmpty(java.lang.String) - Method in Criteria
-
Creates a criterion that asserts the given property is not empty
- isNotEmpty(java.lang.String) - Method in Query
-
Used to restrict a value to be not empty (such as a blank string or an empty collection)
- IsNotEmpty(java.lang.String) - Constructor in Query.IsNotEmpty
-
- isNotEmpty(java.lang.String) - Method in Restrictions
-
Used to restrict a value to be not empty (such as a non-blank string)
- isNotNull(java.lang.String) - Method in Criteria
-
Creates a criterion that asserts the given property is not null
- isNotNull(java.lang.String) - Method in Query
-
Used to restrict a property to be not null
- IsNotNull(java.lang.String) - Constructor in Query.IsNotNull
-
- isNotNull(java.lang.String) - Method in Restrictions
-
Used to restrict a value to be null
- isNull(java.lang.String) - Method in Criteria
-
Creates a criterion that asserts the given property is null
- isNull(java.lang.String) - Method in Query
-
Used to restrict a property to be null
- IsNull(java.lang.String) - Constructor in Query.IsNull
-
- isNull(java.lang.String) - Method in Restrictions
-
Used to restrict a value to be null
- isNullable() - Method in AbstractPersistentProperty
-
- isNullable() - Method in OneToMany
-
- isNullable() - Method in PersistentProperty
-
Whether the property can be set to null
- isNumberType(org.codehaus.groovy.ast.ClassNode) - Method in AstUtils
-
Is the class a number
- isOnValue() - Method in FunctionCallingCriterion
-
Whether the function is called on the value or on the property
- isOrphanRemoval() - Method in Association
-
- Returns:
- Whether orphaned entities should be removed when cascading deletes to this association
- isOwningEntity(org.grails.datastore.mapping.model.PersistentEntity) - Method in AbstractPersistentEntity
-
- isOwningEntity(org.grails.datastore.mapping.model.PersistentEntity) - Method in PersistentEntity
-
Returns whether the specified entity asserts ownership over this
entity
- isOwningSide() - Method in Association
-
Returns whether this side owns the relationship.
- isOwningSide() - Method in Basic
-
- isOwningSide() - Method in Embedded
-
- isOwningSide() - Method in EmbeddedCollection
-
- isOwningSide() - Method in ToOne
-
- isPendingAlready(java.lang.Object) - Method in AbstractSession
-
- isPendingAlready(T) - Method in SessionImplementor
-
- Parameters:
obj
- Whether the given object is already pending
- isPersistentEntity(java.lang.Object) - Method in AbstractMappingContext
-
- isPersistentEntity(java.lang.Class) - Method in GormMappingConfigurationStrategy
-
Tests whether an class is a persistent entity
- isPersistentEntity(java.lang.Class) - Method in MappingConfigurationStrategy
-
Tests whether the given class is a persistent entity
- isPersistentEntity(java.lang.Object) - Method in MappingContext
-
Returns whether the specified value is a persistent entity
- isPresent(java.lang.String, java.lang.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
-
- Returns:
- is the service present
- isPropertyIndexed(org.grails.datastore.mapping.config.Property) - Method in NativeEntryEntityPersister
-
- isProxy(java.lang.Object) - Method in JavassistProxyFactory
-
- isProxy(java.lang.Object) - Method in ProxyHandler
-
Checks whether the specified instance is a proxy
- isProxyInitiated(java.lang.Object) - Method in AssociationQueryProxyHandler
-
- isProxyInitiated(java.lang.Object) - Method in EntityProxyMethodHandler
-
- isProxyInitiated(java.lang.Object) - Method in SessionEntityProxyMethodHandler
-
- isReadableProperty(java.lang.String) - Method in ClassPropertyFetcher
-
- isReleaseCandidate() - Method in Snapshot
-
- isRollbackOnly() - Method in TransactionObject
-
- isRoot() - Method in AbstractPersistentEntity
-
- isRoot() - Method in PersistentEntity
-
Whether this entity is a root entity
- isSchemaless() - Method in AbstractDatastore
-
- isSchemaless() - Method in AbstractSession
-
- isSchemaless() - Method in Datastore
-
Whether the datastore is schema-less.
- isSchemaless() - Method in QueryCreator
-
- Returns:
- Whether schemaless queries are allowed
- isSessionTransactional(org.grails.datastore.mapping.core.Session, org.grails.datastore.mapping.core.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(org.codehaus.groovy.ast.MethodNode) - Method in AstUtils
-
- isSetter(java.lang.String, java.lang.Class) - Method in ReflectionUtils
-
- isSharedConnection() - Method in MultiTenancySettings.MultiTenancyMode
-
- Returns:
- Whether a single shared connection is used
- isSimpleType(java.lang.String) - Method in MappingFactory
-
- isSnapshot() - Method in GrailsVersion
-
- isSpockTest(org.codehaus.groovy.ast.ClassNode) - Method in AstUtils
-
Whether the class is a Spock test
- isStateless(org.grails.datastore.mapping.model.PersistentEntity) - Method in AbstractSession
-
- isStateless(org.grails.datastore.mapping.model.PersistentEntity) - Method in SessionImplementor
-
- Returns:
- Whether the session is stateless
- isSubclassOf(org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in AstUtils
-
Returns true if the given class name is a parent class of the given class
- isSubclassOfOrImplementsInterface(org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in AstUtils
-
- isSynchronizedWithTransaction - Field in AbstractSession
-
- isTenantId(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in AbstractGormMappingFactory
-
- isTenantId(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in KeyValueMappingFactory
-
- isTenantId(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.beans.PropertyDescriptor) - Method in MappingFactory
-
Return whether the given property descriptor is the tenant id
- isTransactionPresent(org.grails.datastore.mapping.core.Datastore) - Method in TransactionUtils
-
- isUnique() - Method in Property
-
- Returns:
- Whether the property should be unique
- isUniqueWithinGroup() - Method in Property
-
- Returns:
- Whether the property is unique within a group
- isValidInterface(java.lang.Class) - Method in DefaultServiceRegistry
-
- isValidMappingStrategy(java.lang.Class, java.lang.Object) - Method in AbstractMappingContext
-
- isValidSource(org.grails.datastore.mapping.engine.event.AbstractPersistenceEvent) - Method in AbstractPersistenceEventListener
-
- isVersioned() - Method in AbstractPersistentEntity
-
- isVersioned() - Method in Entity
-
- Returns:
- Whether this entity is versioned
- isVersioned(org.grails.datastore.mapping.engine.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
-
- Returns:
- Whether the operation has been vetoed
- isVetoed() - Method in PendingOperationAdapter
-
- isVetoed() - Method in PendingUpdateAdapter
-
- iterator() - Method in AbstractConnectionSources
-
- iterator() - Method in AbstractPersistentCollection
-
- iterator() - Method in SoftServiceLoader
-
- iterator() - Method in StaticConnectionSources
-
- last() - Method in PersistentSortedSet
-
- lastIndexOf(java.lang.Object) - Method in PersistentList
-
- lazy - Property in Property
-
Whether to use lazy proxies for each association.
- le(java.lang.String, java.lang.Object) - Method in Criteria
-
Used to restrict a value to be less than or equal to the given value
- le(java.lang.String, java.lang.Object) - Method in Query
-
Used to restrict a value to be less than or equal to the given value
- leAll(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Method in Criteria
-
Creates a subquery criterion that ensures the given property is less than all the given returned values
- leProperty(java.lang.String, java.lang.String) - Method in Criteria
-
Constrains a property to be less than or equal to a specified other property
- leProperty(java.lang.String, java.lang.String) - Method in Restrictions
-
Constraints a property to be less than or equal to a specified other property
- leSome(java.lang.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
- LessThan(java.lang.String, java.lang.Object) - Constructor in Query.LessThan
-
- LessThanAll(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Constructor in Query.LessThanAll
-
- LessThanEquals(java.lang.String, java.lang.Object) - Constructor in Query.LessThanEquals
-
- LessThanEqualsAll(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Constructor in Query.LessThanEqualsAll
-
- LessThanEqualsProperty(java.lang.String, java.lang.String) - Constructor in Query.LessThanEqualsProperty
-
- LessThanEqualsSome(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Constructor in Query.LessThanEqualsSome
-
- LessThanProperty(java.lang.String, java.lang.String) - Constructor in Query.LessThanProperty
-
- LessThanSome(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Constructor in Query.LessThanSome
-
- like(java.lang.String, java.lang.Object) - Method in Criteria
-
Creates a like Criterion based on the specified property name and value
- like(java.lang.String, java.lang.String) - Method in Query
-
Restricts the results by the given properties value
- Like(java.lang.String, java.lang.String) - Constructor in Query.Like
-
- like(java.lang.String, java.lang.String) - Method in Restrictions
-
Restricts the property match the given String expressions.
- list(java.util.Map, groovy.lang.Closure) - Method in BuildableCriteria
-
Defines and executes a list query in a single call.
- list() - Method in Query
-
Executes the query returning zero or many results as a list.
- list() - Method in QueryableCriteria
-
List all results
- listDirtyPropertyNames() - Method in DirtyCheckable
-
- Returns:
- A list of the dirty property names
- listDistinct(groovy.lang.Closure) - Method in BuildableCriteria
-
Defines and executes a list distinct query in a single call.
- listeners - Field in AbstractConnectionSources
-
- listIterator(int) - Method in PersistentList
-
- load() - Method in ServiceDefinition
-
- load(Class<S>, java.lang.ClassLoader, Predicate<String>) - Method in SoftServiceLoader
-
- loadEmbeddedCollection(org.grails.datastore.mapping.model.types.EmbeddedCollection, org.grails.datastore.mapping.engine.EntityAccess, java.lang.Object, java.lang.String) - Method in NativeEntryEntityPersister
-
Implementors who want to the ability to read embedded collections should implement this method
- loadEmbeddedCollectionKeys(org.grails.datastore.mapping.model.types.Association, org.grails.datastore.mapping.engine.EntityAccess, T) - Method in NativeEntryEntityPersister
-
Implementors who want to support one-to-many associations embedded should implement this method
- loadInverseChildKeys(org.grails.datastore.mapping.core.Session, java.lang.Class, java.util.Collection) - Method in AbstractPersistentCollection
-
- loadServices() - Method in DefaultServiceRegistry
-
- lock(java.lang.Class, java.io.Serializable) - Method in AbstractSession
-
- lock(java.io.Serializable, int) - Method in LockableEntityPersister
-
Acquire a lock using the given identifier and timeout delay
- lock(java.io.Serializable, int) - Method in NativeEntryEntityPersister
-
- lock(javax.persistence.LockModeType) - Method in Query
-
Specifies whether the query should obtain a pessimistic lock
- lock(Class<T>, java.io.Serializable) - Method in Session
-
Retrieves an individual object, using a write lock to prevent loss of updates
- LockableEntityPersister - Class in org.grails.datastore.mapping.engine
Abstract base class for entity persisters that support locking.
- LockableEntityPersister(org.grails.datastore.mapping.model.MappingContext, org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.core.Session, org.springframework.context.ApplicationEventPublisher) - Constructor in LockableEntityPersister
-
- lockedObjects - Field in AbstractSession
-
- lockEntry(org.grails.datastore.mapping.model.PersistentEntity, java.lang.String, java.io.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
- Authors:
- Stefan Armbruster
- LongArrayToLongArrayConverter() - Constructor in LongArrayToLongArrayConverter
-
- LOWEST_PRECEDENCE - Field in OrderedComparator
-
Useful constant for the lowest precedence value.
- lt(java.lang.String, java.lang.Object) - Method in Criteria
-
Used to restrict a value to be less than or equal to the given value
- lt(java.lang.String, java.lang.Object) - Method in Query
-
Used to restrict a value to be less than the given value
- lt(java.lang.String, java.lang.Object) - Method in Restrictions
-
Used to restrict a value to be less than the given value
- ltAll(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Method in Criteria
-
Creates a subquery criterion that ensures the given property is less than all the given returned values
- lte(java.lang.String, java.lang.Object) - Method in Criteria
-
Used to restrict a value to be less than or equal to the given value
- lte(java.lang.String, java.lang.Object) - Method in Query
-
Used to restrict a value to be less than or equal to the given value
- lte(java.lang.String, java.lang.Object) - Method in Restrictions
-
Used to restrict a value to be less than or equal to the given value
- ltProperty(java.lang.String, java.lang.String) - Method in Criteria
-
Constrains a property to be less than a specified other property
- ltProperty(java.lang.String, java.lang.String) - Method in Restrictions
-
Constraints a property to be less than a specified other property
- ltSome(java.lang.String, Closure<?>) - Method in Criteria
-
Creates a subquery criterion that ensures the given property is less than some of the given values
- PARAMETER_NAME_PREFIX - Field in JpaQueryBuilder
-
- parent - Property in DirtyCheckingCollection
-
- parent - Property in DirtyCheckingMap
-
- patch - Property in GrailsVersion
-
The patch version
- patternToRegex(java.lang.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
- PendingDeleteAdapter(org.grails.datastore.mapping.model.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(org.grails.datastore.mapping.model.PersistentEntity, K, E, org.grails.datastore.mapping.engine.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
- PendingOperationAdapter(org.grails.datastore.mapping.model.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(org.grails.datastore.mapping.model.PersistentEntity, K, E, org.grails.datastore.mapping.engine.EntityAccess) - Constructor in PendingUpdateAdapter
-
- persist(java.lang.Iterable) - Method in AbstractSession
-
- persist(java.lang.Iterable) - Method in EntityPersister
-
- persist(java.lang.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(java.lang.Iterable) - Method in Session
-
Persists several objects returning their identifiers in the order specified by the Iterable
- PersistenceEventListener - Interface in org.grails.datastore.mapping.engine.event
- PersistentCollection - Interface in org.grails.datastore.mapping.collection
A lazy loaded collection.
- persistentEntities - Field in AbstractMappingContext
-
- persistentEntitiesByDiscriminator - Field in AbstractMappingContext
-
- persistentEntitiesByName - Field in AbstractMappingContext
-
- persistentEntitiesByParent - Field in AbstractMappingContext
-
- PersistentEntity - Interface in org.grails.datastore.mapping.model
Represents a persistent entity.
- persistentEntity - Field in BeanEntityAccess
-
- persistentEntityAdded(org.grails.datastore.mapping.model.PersistentEntity) - Method in MappingContext.Listener
-
Fired when a new entity is added
- persistEntities(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Iterable) - Method in EntityPersister
-
- persistEntities(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Iterable) - Method in NativeEntryEntityPersister
-
This is a rather simplistic and unoptimized implementation.
- persistEntity(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object) - Method in EntityPersister
-
Persist the given persistent entity
- persistEntity(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object) - Method in NativeEntryEntityPersister
-
- PersistentList - Class in org.grails.datastore.mapping.collection
A lazy loaded list.
- PersistentList(org.grails.datastore.mapping.model.types.Association, java.io.Serializable, org.grails.datastore.mapping.core.Session) - Constructor in PersistentList
-
- persistentProperties - Field in AbstractPersistentEntity
-
- PersistentProperty - Interface in org.grails.datastore.mapping.model
- persistentPropertyNames - Field in AbstractPersistentEntity
-
- PersistentSet - Class in org.grails.datastore.mapping.collection
A lazy loaded set.
- PersistentSet(java.io.Serializable, org.grails.datastore.mapping.core.Session, org.grails.datastore.mapping.engine.AssociationQueryExecutor) - Constructor in PersistentSet
-
- PersistentSortedSet - Class in org.grails.datastore.mapping.collection
A lazy loaded sorted set.
- PersistentSortedSet(java.io.Serializable, org.grails.datastore.mapping.core.Session, org.grails.datastore.mapping.engine.AssociationQueryExecutor) - Constructor in PersistentSortedSet
-
- Persister - Interface in org.grails.datastore.mapping.engine
A Persister is responsible for persisting and retrieving an object.
- persisters - Field in AbstractSession
-
- populate(groovy.lang.Closure) - Method in ClosureToMapPopulator
-
- PostDelete - Enum Constant in EventType
-
- PostDeleteEvent - Class in org.grails.datastore.mapping.engine.event
- PostDeleteEvent(java.lang.Object, org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.engine.EntityAccess) - Constructor in PostDeleteEvent
-
- PostExecution - Enum Constant in QueryEventType
-
- postFlush(boolean) - Method in AbstractSession
-
- postFlushOperations - Field in AbstractSession
-
- PostInsert - Enum Constant in EventType
-
- PostInsertEvent - Class in org.grails.datastore.mapping.engine.event
- PostInsertEvent(java.lang.Object, org.grails.datastore.mapping.model.PersistentEntity) - Constructor in PostInsertEvent
-
- PostLoad - Enum Constant in EventType
-
- PostLoadEvent - Class in org.grails.datastore.mapping.engine.event
- PostLoadEvent(java.lang.Object, org.grails.datastore.mapping.model.PersistentEntity) - Constructor in PostLoadEvent
-
- PostQueryEvent - Class in org.grails.datastore.mapping.query.event
Query fired after a query has run.
- PostQueryEvent(java.lang.Object, org.grails.datastore.mapping.query.Query, java.util.List) - Constructor in PostQueryEvent
-
- PostUpdate - Enum Constant in EventType
-
- PostUpdateEvent - Class in org.grails.datastore.mapping.engine.event
- PostUpdateEvent(java.lang.Object, org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.engine.EntityAccess) - Constructor in PostUpdateEvent
-
- PreDelete - Enum Constant in EventType
-
- PreDeleteEvent - Class in org.grails.datastore.mapping.engine.event
- PreDeleteEvent(java.lang.Object, org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.engine.EntityAccess) - Constructor in PreDeleteEvent
-
- PreExecution - Enum Constant in QueryEventType
-
- preIndex(K, List<T>) - Method in AssociationIndexer
-
Creates an index queryable via the primary key.
- PreInsert - Enum Constant in EventType
-
- PreInsertEvent - Class in org.grails.datastore.mapping.engine.event
- PreInsertEvent(java.lang.Object, org.grails.datastore.mapping.model.PersistentEntity) - Constructor in PreInsertEvent
-
- PreLoad - Enum Constant in EventType
-
- PreLoadEvent - Class in org.grails.datastore.mapping.engine.event
- PreLoadEvent(java.lang.Object, org.grails.datastore.mapping.model.PersistentEntity) - Constructor in PreLoadEvent
-
- preparePropertyResolver(org.springframework.core.env.PropertyResolver, java.lang.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(java.lang.Object, org.grails.datastore.mapping.query.Query) - Constructor in PreQueryEvent
-
- PreUpdate - Enum Constant in EventType
-
- PreUpdateEvent - Class in org.grails.datastore.mapping.engine.event
- PreUpdateEvent(java.lang.Object, org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.engine.EntityAccess) - Constructor in PreUpdateEvent
-
- previous() - Method in MultiTenancySettings.MultiTenancyMode
-
- PRIMITIVE_TYPE_COMPATIBLE_CLASSES - Field in ClassUtils
-
- PRIMITIVE_TYPE_COMPATIBLE_CLASSES - Field in ReflectionUtils
-
- processDeferredClose(org.grails.datastore.mapping.core.Datastore) - Method in DatastoreUtils
-
Process all Datastore Sessions that have been registered for deferred close
for the given SessionFactory.
- processVariableScopes(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in AstUtils
-
- ProjectionList - Interface in org.grails.datastore.mapping.query.api
Models a list of projections
- Projections - Class in org.grails.datastore.mapping.query
Projections used to customize the results of a query
- projections - Field in Query
-
- properties - Property in DefaultMappingConfigurationBuilder
-
- propertiesByName - Field in AbstractPersistentEntity
-
- Property - Class in org.grails.datastore.mapping.config
- property - Property in DirtyCheckingCollection
-
- property - Property in DirtyCheckingMap
-
- property(java.util.Map) - Method in Entity
-
Configure a new property
- PROPERTY_GRAILS_CLASSLOADER_LOGGING - Field in SoftServiceLoader
-
- property(java.util.Collection, java.lang.String) - Method in ManualProjections
-
Obtains a properties value from the results
- PROPERTY_NAME - Field in SystemPropertyTenantResolver
-
- property(java.lang.String) - Method in ProjectionList
-
A projection that obtains the value of a property of an entity
- property(java.lang.String) - Method in Projections
-
A projection that obtains the value of a property of an entity
- Property() - Constructor in Property
-
- property(java.lang.String) - Method in Query.ProjectionList
-
A projection that obtains the value of a property of an entity
- propertyClass - Property in DefaultMappingConfigurationBuilder
-
- PropertyComparisonCriterion(java.lang.String, java.lang.String) - Constructor in Query.PropertyComparisonCriterion
-
- propertyConfigs - Field in Entity
-
The configuration for each property
- PropertyCriterion(java.lang.String, java.lang.Object) - Constructor in Query.PropertyCriterion
-
- 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(java.lang.String, java.lang.Object) - Method in Entity
-
- PropertyNameCriterion(java.lang.String) - Constructor in Query.PropertyNameCriterion
-
- PropertyProjection(java.lang.String) - Constructor in Query.PropertyProjection
-
- propertyResolver - Property in ConfigurationBuilder
-
- propertyResolver - Property in PropertyResolverMap
-
- PropertyResolverMap - Class in org.grails.datastore.mapping.config.utils
Adapts a property resolver to the Map interface
- PropertyResolverMap(org.springframework.core.env.PropertyResolver) - Constructor in PropertyResolverMap
-
- propertyType() - Method in EntityReflector.PropertyReader
-
- Returns:
- The property type
- propertyType() - Method in EntityReflector.PropertyWriter
-
- Returns:
- The property type
- PropertyValueIndexer - Interface in org.grails.datastore.mapping.engine
Responsible for creating indices for property values used in queries.
- proxy(java.lang.Class, java.io.Serializable) - Method in AbstractSession
-
- proxy(java.io.Serializable) - Method in EntityPersister
-
- PROXY_KEY_PROPERTY - Field in EntityProxyMethodHandler
-
- proxy(java.io.Serializable) - Method in LockableEntityPersister
-
- proxy(java.io.Serializable) - Method in Persister
-
Creates a proxy for the given key
- PROXY_PROPERTY - Field in EntityProxyMethodHandler
-
- proxy(Class<T>, java.io.Serializable) - Method in Session
-
Retrieves a proxy for the given key
- proxyClass - Field in GroovyObjectMethodHandler
-
- proxyEntities - Field in AbstractPersistentCollection
-
- ProxyFactory - Interface in org.grails.datastore.mapping.proxy
The factory used to create proxies
- proxyFactory - Field in AbstractMappingContext
-
- proxyFactory - Field in EntityPersister
-
- ProxyHandler - Interface in org.grails.datastore.mapping.proxy
Interface for classes that handle proxies
- publisher - Field in AbstractSession
-
- publisher - Field in EntityPersister
-
- put(java.lang.Object, java.lang.Object) - Method in DirtyCheckingMap
-
- put(java.lang.String, java.lang.Object) - Method in PropertyResolverMap
-
- putAll(java.util.Map) - Method in DirtyCheckingMap
-
- putAll(Map<? extends String, ? extends Object>) - Method in PropertyResolverMap
-
- putAt(java.lang.String, java.lang.String) - Method in ValidationErrors
-
- 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.Between - Class in org.grails.datastore.mapping.query
Criterion used to restrict the result to be between values (range query)
- Query.Conjunction - Class in org.grails.datastore.mapping.query
A Criterion used to combine to criterion in a logical AND
- Query.CountDistinctProjection - Class in org.grails.datastore.mapping.query
- 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.DistinctProjection - Class in org.grails.datastore.mapping.query
- Query.DistinctPropertyProjection - Class in org.grails.datastore.mapping.query
- Query.Equals - Class in org.grails.datastore.mapping.query
A criterion that restricts the results based on equality
- Query.EqualsAll - Class in org.grails.datastore.mapping.query
Restricts a value to be equal to all the given values
- Query.EqualsProperty - Class in org.grails.datastore.mapping.query
- Query.Exists - Class in org.grails.datastore.mapping.query
Used for exists subquery
- Query.GreaterThan - Class in org.grails.datastore.mapping.query
Used to restrict a value to be greater than the given value
- Query.GreaterThanAll - Class in org.grails.datastore.mapping.query
Restricts a value to be greater than all the given values
- 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.GreaterThanEqualsAll - Class in org.grails.datastore.mapping.query
Restricts a value to be greater than or equal to all the given values
- Query.GreaterThanEqualsProperty - Class in org.grails.datastore.mapping.query
- Query.GreaterThanEqualsSome - Class in org.grails.datastore.mapping.query
Restricts a value to be greater than some of the given values
- Query.GreaterThanProperty - Class in org.grails.datastore.mapping.query
- Query.GreaterThanSome - Class in org.grails.datastore.mapping.query
Restricts a value to be greater than some of the given values
- Query.GroupPropertyProjection - Class in org.grails.datastore.mapping.query
- Query.IdEquals - Class in org.grails.datastore.mapping.query
A criterion that restricts the results based on the equality of the identifier
- 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.In - Class in org.grails.datastore.mapping.query
Criterion used to restrict the results based on a list of values
- Query.IsEmpty - Class in org.grails.datastore.mapping.query
Restricts a property to be empty (such as a blank string)
- Query.IsNotEmpty - Class in org.grails.datastore.mapping.query
Restricts a property to be empty (such as a blank string)
- Query.IsNotNull - Class in org.grails.datastore.mapping.query
Restricts a property to be not null
- Query.IsNull - Class in org.grails.datastore.mapping.query
Restricts a property to be null
- Query.Junction - Class in org.grails.datastore.mapping.query
- Query.LessThan - Class in org.grails.datastore.mapping.query
Used to restrict a value to be less than the given value
- Query.LessThanAll - Class in org.grails.datastore.mapping.query
Restricts a value to be less than all the given values
- Query.LessThanEquals - Class in org.grails.datastore.mapping.query
Used to restrict a value to be less than the given value
- Query.LessThanEqualsAll - Class in org.grails.datastore.mapping.query
Restricts a value to be less than or equal to all the given values
- Query.LessThanEqualsProperty - Class in org.grails.datastore.mapping.query
- Query.LessThanEqualsSome - Class in org.grails.datastore.mapping.query
Restricts a value to be less than some of the given values
- Query.LessThanProperty - Class in org.grails.datastore.mapping.query
- Query.LessThanSome - Class in org.grails.datastore.mapping.query
Restricts a value to be less than some of the given values
- Query.Like - Class in org.grails.datastore.mapping.query
Criterion used to restrict the results based on a pattern (likeness)
- Query.MaxProjection - Class in org.grails.datastore.mapping.query
Computes the max value of a property
- Query.MinProjection - Class in org.grails.datastore.mapping.query
Computes the min value of a property
- 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.NotEqualsAll - Class in org.grails.datastore.mapping.query
Restricts a value to be not equal to all the given values
- Query.NotEqualsProperty - Class in org.grails.datastore.mapping.query
- Query.NotExists - Class in org.grails.datastore.mapping.query
Used for exists subquery
- Query.NotIn - Class in org.grails.datastore.mapping.query
Criterion used to restrict the results based on a list of values
- 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.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.PropertyCriterion - Class in org.grails.datastore.mapping.query
Criterion that applies to a property and value
- Query.PropertyNameCriterion - Class in org.grails.datastore.mapping.query
A Criterion that applies to a property
- Query.PropertyProjection - Class in org.grails.datastore.mapping.query
A projection that obtains the value of a property of an entity
- Query.RLike - Class in org.grails.datastore.mapping.query
Criterion used to restrict the results based on a regular expression pattern
- Query.SizeEquals - Class in org.grails.datastore.mapping.query
- Query.SizeGreaterThan - Class in org.grails.datastore.mapping.query
- Query.SizeGreaterThanEquals - Class in org.grails.datastore.mapping.query
- Query.SizeLessThan - Class in org.grails.datastore.mapping.query
- Query.SizeLessThanEquals - Class in org.grails.datastore.mapping.query
- Query.SizeNotEquals - Class in org.grails.datastore.mapping.query
- Query.SubqueryCriterion - Class in org.grails.datastore.mapping.query
Used to differentiate criterion that require a subquery
- Query.SumProjection - Class in org.grails.datastore.mapping.query
Computes the sum of a property
- query(org.grails.datastore.mapping.model.PersistentProperty, org.grails.datastore.mapping.query.Query.PropertyCriterion, Q) - Method in AbstractMappingAwareCustomTypeMarshaller
-
- query(java.lang.Object) - Method in AbstractPersistentCollection
-
- query - Field in AbstractQueryEvent
-
The query.
- query(K) - Method in AssociationQueryExecutor
-
Queries the given primary key and returns the foreign keys
- query(org.grails.datastore.mapping.model.PersistentProperty, org.grails.datastore.mapping.query.Query.PropertyCriterion, Q) - Method in CustomTypeMarshaller
-
Populates a query
- query(java.lang.Object, int, int) - Method in PropertyValueIndexer
-
Queries the given value and returns the keys
- Query(org.grails.datastore.mapping.core.Session, org.grails.datastore.mapping.model.PersistentEntity) - Constructor in Query
-
- QueryableCriteria - Interface in org.grails.datastore.mapping.query.api
- QueryAliasAwareSession - Interface in org.grails.datastore.mapping.query.api
- QueryArgumentsAware - Interface in org.grails.datastore.mapping.query.api
Interface for classes that are interested in additional query arguments
defined as a map for things like the limit, offset and join information
- queryCache - Field in Query
-
- QueryCreator - Interface in org.grails.datastore.mapping.query
Query for any class that creates Queries
- QueryEventType - Enum in org.grails.datastore.mapping.query.event
The type of a query event.
- QueryException - Class in org.grails.datastore.mapping.query
Throw when there is a problem with the query
- QueryException(java.lang.String, java.lang.Throwable) - Constructor in QueryException
-
- queryInternal(org.grails.datastore.mapping.model.PersistentProperty, java.lang.String, org.grails.datastore.mapping.query.Query.PropertyCriterion, Q) - Method in AbstractMappingAwareCustomTypeMarshaller
-
- SaveOrUpdate - Enum Constant in EventType
-
- SaveOrUpdateEvent - Class in org.grails.datastore.mapping.engine.event
- SaveOrUpdateEvent(org.grails.datastore.mapping.core.Datastore, java.lang.Object) - Constructor in SaveOrUpdateEvent
-
- scale - Property in Property
-
- SCHEMA - Field in MultiTenancySettings.MultiTenancyMode
-
A shared database amongst multiple tenants using a separate schema for each tenant
- 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(groovy.lang.Closure) - Method in BuildableCriteria
-
Defines and executes a scroll query in a single call.
- select(java.lang.String) - Method in BuildableCriteria
-
Whether to select on an association
- select(java.lang.String) - Method in Query
-
Specifies whether a select (lazy) query should be used (if join queries are supported by the underlying datastore)
- SELECT - Enum Constant in ValueGenerator
-
Generates the id by selecting from a row using a unique key
- SEQHILO - Enum Constant in ValueGenerator
-
A generator that uses a sequence and a HILO algorithm
- SEQUENCE - Enum Constant in ValueGenerator
-
Generated from a sequence
- Service - Trait in org.grails.datastore.mapping.services
Represents a service available exposed by the GORM
Datastore
- ServiceDefinition - Interface in org.grails.datastore.mapping.services
A service that may or may not be present on the classpath.
- ServiceNotFoundException - Class in org.grails.datastore.mapping.services
Thrown when a service cannot be found for the given type
- ServiceNotFoundException(java.lang.String) - Constructor in ServiceNotFoundException
-
- ServiceRegistry - Interface in org.grails.datastore.mapping.services
Represents a registry of GORM services
- serviceRegistry - Field in AbstractDatastore
-
- services - Field in DefaultServiceRegistry
-
- servicesByInterface - Field in DefaultServiceRegistry
-
- Session - Interface in org.grails.datastore.mapping.core
The Session represents the active interaction with a datastore.
- session - Field in AbstractPersistentCollection
-
- session - Field in AssociationQueryProxyHandler
-
- session - Field in EntityPersister
-
- session - Field in Query
-
- SessionCallback - Interface in org.grails.datastore.mapping.core
- SessionCreationEvent - Class in org.grails.datastore.mapping.core
Event fired when a session is created.
- SessionCreationEvent(org.grails.datastore.mapping.core.Session) - Constructor in SessionCreationEvent
-
- SessionEntityProxyMethodHandler - Class in org.grails.datastore.mapping.proxy
- SessionEntityProxyMethodHandler(java.lang.Class, org.grails.datastore.mapping.core.Session, java.lang.Class, java.io.Serializable) - Constructor in SessionEntityProxyMethodHandler
-
- SessionHolder - Class in org.grails.datastore.mapping.transactions
Holds a reference to one or more sessions.
- SessionHolder(org.grails.datastore.mapping.core.Session, java.lang.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, org.grails.datastore.mapping.core.Session) - Constructor in SessionOnlyTransaction
-
- sessionPropertyMap - Field in AbstractAttributeStoringSession
-
- set(int, java.lang.Object) - Method in DirtyCheckingList
-
- SET_META_CLASS - Field in GroovyObjectMethodHandler
-
- set(int, java.lang.Object) - Method in PersistentList
-
- SET_PROPERTY - Field in GroovyObjectMethodHandler
-
- setApplicationContext(org.springframework.context.ApplicationContext) - Method in AbstractDatastore
-
- setArguments(java.util.Map) - Method in QueryArgumentsAware
-
- Parameters:
arguments
- The query arguments
- setAssociatedEntity(org.grails.datastore.mapping.model.PersistentEntity) - Method in Association
-
Sets the associated entity
- setAttr(java.lang.String) - Method in Attribute
-
- setAttribute(java.lang.Object, java.lang.String, java.lang.Object) - Method in AbstractAttributeStoringSession
-
- setAttribute(java.lang.String) - Method in Attribute
-
- setAttribute(java.lang.Object, java.lang.String, java.lang.Object) - Method in Session
-
Associates an attribute with the given persistent entity.
- setBeanFactory(org.springframework.beans.factory.BeanFactory) - Method in DatastoreServiceMethodInvokingFactoryBean
-
- setCanExpandMappingContext(boolean) - Method in GormMappingConfigurationStrategy
-
Whether the strategy can add new entities to the mapping context
- setCanExpandMappingContext(boolean) - Method in MappingConfigurationStrategy
-
Whether the strategy can add new entities to the mapping context
- setCanInitializeEntities(boolean) - Method in AbstractMappingContext
-
- setCanInitializeEntities(boolean) - Method in KeyValueMappingContext
-
- setConnection(java.lang.String) - Method in CustomizableRollbackTransactionAttribute
-
- setContextObject(java.lang.Object) - Method in AbstractGormMappingFactory
-
- Parameters:
contextObject
- Context object to be passed to mapping blocks
- setConversionService(org.springframework.core.convert.ConversionService) - Method in BeanEntityAccess
-
- setConversionService(org.springframework.core.convert.ConversionService) - Method in JpaQueryBuilder
-
- setCustomTypeMarshaller(org.grails.datastore.mapping.engine.types.CustomTypeMarshaller) - Method in Basic
-
- setCustomTypes(List<CustomTypeMarshaller>) - Method in AbstractConnectionSourceFactory
-
The custom user types to register
- setDatastore(org.grails.datastore.mapping.core.Datastore) - Method in DatastoreAware
-
Sets the datastore on this instance
- setDatastore(org.grails.datastore.mapping.core.Datastore) - Method in DatastoreTransactionManager
-
- setDatastoreManagedSession(boolean) - Method in DatastoreTransactionManager
-
- setDateVersion(org.grails.datastore.mapping.engine.EntityAccess) - Method in EntityPersister
-
- setDefault(org.grails.datastore.mapping.core.connections.ConnectionSourceSettings.DefaultSettings) - Method in ConnectionSourceSettings
-
- setDefaultConstraints(groovy.lang.Closure) - Method in AbstractGormMappingFactory
-
- setDefaultMapping(groovy.lang.Closure) - Method in AbstractGormMappingFactory
-
- setEmbedded(T, java.lang.String, T) - Method in NativeEntryEntityPersister
-
Implementors should override this method to provide support for embedded objects
- setEmbeddedCollection(T, java.lang.String, Collection<?>, List<T>) - Method in NativeEntryEntityPersister
-
Implementors should override this method to provide support for embedded objects
- setEmbeddedCollectionKeys(org.grails.datastore.mapping.model.types.Association, org.grails.datastore.mapping.engine.EntityAccess, T, List<Serializable>) - Method in NativeEntryEntityPersister
-
- setEmbeddedMap(T, java.lang.String, java.util.Map, Map<Object,T>) - Method in NativeEntryEntityPersister
-
Implementors should override this method to provide support for maps of embedded objects
- setEntryValue(T, java.lang.String, java.lang.Object) - Method in NativeEntryEntityPersister
-
Sets a value on an entry
- setEnumType(java.lang.String) - Method in Property
-
- setExecuted(boolean) - Method in PendingOperationAdapter
-
- setExistingSession(org.grails.datastore.mapping.core.Session) - Method in TransactionObject
-
- setExternal(boolean) - Method in AbstractPersistentEntity
-
- setExternal(boolean) - Method in PersistentEntity
-
Whether this PersistentEntity is mapped using a different store.
- setFetch(java.lang.String) - Method in Property
-
Makes it easier to configure the fetch strategy
- setFlushMode(javax.persistence.FlushModeType) - Method in AbstractSession
-
- setFlushMode(javax.persistence.FlushModeType) - Method in Session
-
The flush mode, defaults to FlushModeType.COMMIT
- setForeignKeyInChild(boolean) - Method in ToOne
-
- setHibernateCompatible(boolean) - Method in JpaQueryBuilder
-
- setIdentifier(java.lang.Object) - Method in BeanEntityAccess
-
- setIdentifier(java.lang.Object) - Method in EntityAccess
-
Sets the entity identifier to the given value
- setIdentifier(java.lang.Object, java.lang.Object) - Method in EntityReflector
-
Set the identifier
- setIdentifier(java.lang.Object) - Method in FieldEntityAccess
-
- setIdentifierNoConversion(java.lang.Object) - Method in BeanEntityAccess
-
- setIdentifierNoConversion(java.lang.Object) - Method in EntityAccess
-
Sets the entity identifier to the given value
- setIdentifierNoConversion(java.lang.Object) - Method in FieldEntityAccess
-
- setInheritRollbackOnly(boolean) - Method in CustomizableRollbackTransactionAttribute
-
- setInversePropertyName(java.lang.String) - Method in ManyToMany
-
- setKey(java.lang.String) - Method in KeyValue
-
- setLazy(java.lang.Boolean) - Method in Property
-
- setManyToMany(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object, T, org.grails.datastore.mapping.model.types.ManyToMany, java.util.Collection, Map<Association,List<Serializable>>) - Method in NativeEntryEntityPersister
-
- setMappingFactory(MappingFactory<Family,KeyValue>) - Method in KeyValueMappingContext
-
- setName(java.lang.String) - Method in Property
-
- setNativeEntry(T) - Method in NativeEntryEntityPersister.NativeEntryModifyingEntityAccess
-
- setNativeEvent(java.io.Serializable) - Method in AbstractPersistenceEvent
-
- setObjectIdentifier(java.lang.Object, java.io.Serializable) - Method in EntityPersister
-
Obtains an objects identifer
- setOwningSide(boolean) - Method in Association
-
Sets whether this association is the owning side
- setOwningSide(boolean) - Method in Basic
-
- setProperty(java.lang.String, java.lang.Object) - Method in BeanEntityAccess
-
- setProperty(java.lang.String, java.lang.Object) - Method in ClosureToMapPopulator
-
- setProperty(java.lang.String, java.lang.Object) - Method in EntityAccess
-
Sets a property value
- setProperty(java.lang.Object, java.lang.String, java.lang.Object) - Method in EntityReflector
-
Set a property for the specified index
- setProperty(java.lang.String, java.lang.Object) - Method in FieldEntityAccess
-
- setProperty(java.lang.Object, java.lang.String, java.lang.Object) - Method in GroovyObjectMethodHandler
-
- setProperty(java.lang.String, java.lang.Object) - Method in ModificationTrackingEntityAccess
-
Sets a property value
- setProperty(java.lang.String, java.lang.Object) - Method in NativeEntryEntityPersister.NativeEntryModifyingEntityAccess
-
- setPropertyAfterResolving(java.lang.Object, java.lang.String, java.lang.Object) - Method in GroovyObjectMethodHandler
-
- setPropertyBeforeResolving(java.lang.Object, java.lang.String, java.lang.Object) - Method in GroovyObjectMethodHandler
-
- setPropertyNoConversion(java.lang.String, java.lang.Object) - Method in BeanEntityAccess
-
- setPropertyNoConversion(java.lang.String, java.lang.Object) - Method in EntityAccess
-
Sets a property without applying any automatic type conversion
- setPropertyNoConversion(java.lang.String, java.lang.Object) - Method in FieldEntityAccess
-
- setPropertyNoConversion(java.lang.String, java.lang.Object) - Method in ModificationTrackingEntityAccess
-
- setProxyEntities(boolean) - Method in AbstractPersistentCollection
-
Whether to proxy entities by their keys
- setProxyFactory(org.grails.datastore.mapping.proxy.ProxyFactory) - Method in AbstractMappingContext
-
- setProxyFactory(org.grails.datastore.mapping.proxy.ProxyFactory) - Method in MappingContext
-
Factory to use for creating proxies
- setRange(groovy.lang.ObjectRange) - Method in Property
-
- setReferencedPropertyName(java.lang.String) - Method in Association
-
Sets the name of the inverse property
- setResults(java.util.List) - Method in PostQueryEvent
-
Reset the list of results to a new list.
- setSession(org.grails.datastore.mapping.core.Session) - Method in TransactionObject
-
- setSessionHolder(org.grails.datastore.mapping.transactions.SessionHolder) - Method in TransactionObject
-
- setSessionProperty(java.lang.String, java.lang.Object) - Method in AbstractAttributeStoringSession
-
Set a property on this session.
- setSessionProperty(java.lang.String, java.lang.Object) - Method in Session
-
Set a property on this session.
- setSize(groovy.lang.IntRange) - Method in Property
-
- setSort(java.lang.Object) - Method in Entity
-
- setSynchronizedWithTransaction(boolean) - Method in AbstractSession
-
Whether the session is synchronized with an external transaction
- setSynchronizedWithTransaction(boolean) - Method in Session
-
Whether the session is synchronized with a transaction
- setSynchronizedWithTransaction(boolean) - Method in SessionHolder
-
- setSyntaxStrategy(org.grails.datastore.mapping.model.MappingConfigurationStrategy) - Method in KeyValueMappingContext
-
- setTenantResolver(org.grails.datastore.mapping.multitenancy.TenantResolver) - Method in AbstractConnectionSourceFactory
-
The tenant resolver to use
- setTenantResolver(org.grails.datastore.mapping.multitenancy.TenantResolver) - Method in MultiTenancySettings
-
Sets the tenant resolver to use
- setter() - Method in EntityReflector.PropertyWriter
-
- setThisMetaClass(groovy.lang.MetaClass) - Method in GroovyObjectMethodHandler
-
- setTimeout(int) - Method in SessionOnlyTransaction
-
- setTimeout(int) - Method in Transaction
-
Sets the transaction timeout period
- 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(java.lang.String, TPCacheAdapter<T>) - Method in TPCacheAdapterRepository
-
- setTPCacheAdapter(java.lang.String, TPCacheAdapter<T>) - Method in TPCacheAdapterRepositoryImpl
-
- setTransaction(Transaction<?>) - Method in SessionHolder
-
- setTransaction(Transaction<?>) - Method in TransactionObject
-
- deprecated:
- Here for binary compatibility, doesn't actually do anything
- setUnique(List<String>) - Method in Property
-
- setUniquenessGroup(List<String>) - Method in Property
-
- setUniqueResult(boolean) - Method in Query
-
Here purely for compatibility
- setValidatedFields(List<?>) - Method in ValidationEvent
-
- setValidatorRegistry(org.grails.datastore.mapping.validation.ValidatorRegistry) - Method in AbstractMappingContext
-
- setValidatorRegistry(org.grails.datastore.mapping.validation.ValidatorRegistry) - Method in MappingContext
-
Sets the validator registry used by this mapping context
- setValue(java.lang.Object) - Method in Query.Equals
-
- setValue(java.lang.Object) - Method in Query.IdEquals
-
- setValue(java.lang.Object) - Method in Query.NotEquals
-
- setValue(java.lang.Object) - Method in Query.PropertyCriterion
-
- setVersion(org.grails.datastore.mapping.engine.EntityAccess) - Method in EntityPersister
-
- setVersionByDefault(boolean) - Method in AbstractGormMappingFactory
-
Whether the version entities using optimistic locking by default
- setVetoed(boolean) - Method in PendingDeleteAdapter
-
- setVetoed(boolean) - Method in PendingInsertAdapter
-
- setVetoed(boolean) - Method in PendingOperationAdapter
-
- setVetoed(boolean) - Method in PendingUpdateAdapter
-
- Simple - Class in org.grails.datastore.mapping.model.types
Models a simple property type
- Simple(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.MappingContext, java.lang.String, java.lang.Class) - Constructor in Simple
-
- SIMPLE_TYPES - Field in MappingFactory
-
- singleResult() - Method in Query
-
Executes the query returning a single result or null
- SingletonConnectionSources - Class in org.grails.datastore.mapping.core.connections
- SingletonConnectionSources.NullConnectionFactory - Class in org.grails.datastore.mapping.core.connections
- SingletonConnectionSources.NullConnectionFactory() - Constructor in SingletonConnectionSources.NullConnectionFactory
-
- SingletonConnectionSources(ConnectionSource<T, S>, org.springframework.core.env.PropertyResolver) - Constructor in SingletonConnectionSources
-
- size() - Method in AbstractPersistentCollection
-
- size() - Method in PropertyResolverMap
-
- size() - Method in SessionHolder
-
- sizeEq(java.lang.String, int) - Method in Criteria
-
Creates a Criterion that constrains a collection property by size
- sizeEq(java.lang.String, int) - Method in Restrictions
-
Used to restrict the size of a collection property
- SizeEquals(java.lang.String, int) - Constructor in Query.SizeEquals
-
- sizeGe(java.lang.String, int) - Method in Criteria
-
Creates a Criterion that constrains a collection property to be greater than or equal to the given size
- sizeGe(java.lang.String, int) - Method in Restrictions
-
Used to restrict the size of a collection property to be greater than or equal to the given value
- SizeGreaterThan(java.lang.String, int) - Constructor in Query.SizeGreaterThan
-
- SizeGreaterThanEquals(java.lang.String, int) - Constructor in Query.SizeGreaterThanEquals
-
- sizeGt(java.lang.String, int) - Method in Criteria
-
Creates a Criterion that constrains a collection property to be greater than the given size
- sizeGt(java.lang.String, int) - Method in Restrictions
-
Used to restrict the size of a collection property to be greater than the given value
- sizeLe(java.lang.String, int) - Method in Criteria
-
Creates a Criterion that constrains a collection property to be less than or equal to the given size
- sizeLe(java.lang.String, int) - Method in Restrictions
-
Creates a Criterion that contrains a collection property to be less than or equal to the given size
- SizeLessThan(java.lang.String, int) - Constructor in Query.SizeLessThan
-
- SizeLessThanEquals(java.lang.String, int) - Constructor in Query.SizeLessThanEquals
-
- sizeLt(java.lang.String, int) - Method in Criteria
-
Creates a Criterion that constrains a collection property to be less than to the given size
- sizeLt(java.lang.String, int) - Method in Restrictions
-
Creates a Criterion that contrains a collection property to be less than to the given size
- sizeNe(java.lang.String, int) - Method in Criteria
-
Creates a Criterion that constrains a collection property to be not equal to the given size
- sizeNe(java.lang.String, int) - Method in Restrictions
-
Creates a Criterion that contrains a collection property to be not equal to the given size
- SizeNotEquals(java.lang.String, int) - Constructor in Query.SizeNotEquals
-
- Snapshot - Class in org.grails.datastore.mapping.core.grailsversion
A class to represent the snapshot version of Grails for comparison
- snapshot - Property in GrailsVersion
-
Information about the snapshot status
- Snapshot(java.lang.String) - Constructor in Snapshot
-
- SoftServiceLoader - Class in org.grails.datastore.mapping.services
- SoftThreadLocalMap - Class in org.grails.datastore.mapping.core
Creates a InheritableThreadLocal with an intial value of a Map.
- source - Field in DefaultConnectionSource
-
- SpringSessionSynchronization - Class in org.grails.datastore.mapping.transactions.support
An instance of org.springframework.transaction.support.TransactionSynchronization
for the Datastore abstraction.
- SpringSessionSynchronization(org.grails.datastore.mapping.transactions.SessionHolder, org.grails.datastore.mapping.core.Datastore, boolean) - Constructor in SpringSessionSynchronization
-
- startBuild(java.lang.Object, java.lang.String) - Method in ConfigurationBuilder
-
Subclasses can override for when building starts for the given builder
- stateless - Field in AbstractSession
-
- stateless - Property in Entity
-
- Returns:
- Whether the entity state should be held in the session or not
- 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>>, org.springframework.core.env.PropertyResolver) - Constructor in StaticConnectionSources
-
- storeEntry(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.engine.EntityAccess, K, T) - Method in NativeEntryEntityPersister
-
Stores the native form of a Key/value datastore to the actual data store
- StringToBigDecimalConverter - Class in org.grails.datastore.mapping.model.types.conversion
- Authors:
- Stefan Armbruster
- StringToBigDecimalConverter() - Constructor in StringToBigDecimalConverter
-
- StringToBigIntegerConverter - Class in org.grails.datastore.mapping.model.types.conversion
- Authors:
- Stefan Armbruster
- StringToBigIntegerConverter() - Constructor in StringToBigIntegerConverter
-
- StringToByteArrayConverter - Class in org.grails.datastore.mapping.model.types.conversion
- Authors:
- Stefan Armbruster
- StringToByteArrayConverter() - Constructor in StringToByteArrayConverter
-
- StringToCurrencyConverter - Class in org.grails.datastore.mapping.model.types.conversion
- Authors:
- Stefan Armbruster
- StringToCurrencyConverter() - Constructor in StringToCurrencyConverter
-
- StringToLocaleConverter - Class in org.grails.datastore.mapping.model.types.conversion
- Authors:
- Stefan Armbruster
- StringToLocaleConverter() - Constructor in StringToLocaleConverter
-
- StringToShortConverter - Class in org.grails.datastore.mapping.model.types.conversion
- Authors:
- Stefan Armbruster
- StringToShortConverter() - Constructor in StringToShortConverter
-
- StringToTimeZoneConverter - Class in org.grails.datastore.mapping.model.types.conversion
- Authors:
- Stefan Armbruster
- StringToTimeZoneConverter() - Constructor in StringToTimeZoneConverter
-
- StringToURLConverter - Class in org.grails.datastore.mapping.model.types.conversion
- Authors:
- Stefan Armbruster
- StringToURLConverter() - Constructor in StringToURLConverter
-
- subList(int, int) - Method in PersistentList
-
- SubqueryCriterion(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Constructor in Query.SubqueryCriterion
-
- subSet(java.lang.Object, java.lang.Object) - Method in PersistentSortedSet
-
- sum(java.lang.String) - Method in ProjectionList
-
Computes the sum of a property
- sum(java.lang.String) - Method in Projections
-
Computes the sum of a property
- sum(java.lang.String) - Method in Query.ProjectionList
-
Computes the sum of a property
- SumProjection(java.lang.String) - Constructor in Query.SumProjection
-
- supports(org.grails.datastore.mapping.model.MappingContext) - Method in AbstractMappingAwareCustomTypeMarshaller
-
- supports(org.grails.datastore.mapping.core.Datastore) - Method in CustomTypeMarshaller
-
- supportsCustomType(Class<?>) - Method in GormMappingConfigurationStrategy
-
- supportsSourceType(Class<?>) - Method in AbstractPersistenceEventListener
-
- suspend() - Method in SpringSessionSynchronization
-
- syncChangedProperties(java.lang.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".
- SystemPropertyTenantResolver() - Constructor in SystemPropertyTenantResolver
-