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