From 8cd9480cba4eb012d49ca64a6289337ebdea7a7d Mon Sep 17 00:00:00 2001 From: Graeme Rocher Date: Thu, 3 Oct 2013 08:44:38 +0200 Subject: [PATCH] updated docs --- api/allclasses-frame.html | 462 +-- api/deprecated-list.html | 6 +- api/help-doc.html | 6 +- api/index-all.html | 3370 ++++------------- api/index.html | 2 +- .../AbstractEventTriggeringInterceptor.html} | 262 +- .../AbstractGrailsHibernateDomainClass.html} | 484 +-- .../hibernate/AbstractHibernateDatastore.html | 395 ++ .../AbstractHibernateGormEnhancer.html} | 122 +- .../AbstractHibernateGormInstanceApi.html} | 179 +- .../AbstractHibernateGormValidationApi.html} | 123 +- .../hibernate/AbstractHibernateSession.html | 883 +++++ .../GrailsHibernateDomainClassProperty.html | 1610 ++++++++ .../hibernate/HibernateEventListeners.html} | 55 +- .../orm/hibernate/IHibernateTemplate.html} | 248 +- .../orm/hibernate/SessionFactoryHolder.html} | 125 +- .../cfg/AbstractGrailsDomainBinder.html | 3192 ++++++++++++++++ .../grails/orm/hibernate/cfg/CacheConfig.html | 306 ++ .../orm/hibernate/cfg/ColumnConfig.html} | 265 +- .../orm/hibernate/cfg/CompositeIdentity.html} | 132 +- .../cfg/GORMEnhancingBeanPostProcessor.html} | 88 +- .../hibernate/cfg/GORMNamespaceHandler.html} | 47 +- .../GORMSessionFactoryDefinitionParser.html} | 51 +- .../cfg/GrailsDomainConfiguration.html} | 125 +- .../cfg/HibernateMappingBuilder.html | 995 +++++ .../cfg/HibernateNamedQueriesBuilder.html} | 172 +- .../orm/hibernate/cfg/HibernateUtilities.html | 262 ++ .../grails/orm/hibernate/cfg/Identity.html} | 222 +- .../orm/hibernate/cfg/InstanceProxy.html} | 254 +- .../grails/orm/hibernate/cfg/JoinTable.html | 307 ++ .../grails/orm/hibernate/cfg/Mapping.html | 752 ++++ .../hibernate/cfg/NamedCriteriaProxy.html} | 483 +-- .../grails/orm/hibernate/cfg/NaturalId.html} | 130 +- .../orm/hibernate/cfg/PropertyConfig.html | 769 ++++ .../cfg/PropertyDefinitionDelegate.html | 306 ++ .../grails/orm/hibernate/cfg/SortConfig.html} | 118 +- .../grails/orm/hibernate/cfg/Table.html} | 152 +- .../orm/hibernate/cfg/package-frame.html | 47 + .../orm/hibernate/cfg/package-summary.html | 234 ++ ...NotDetermineHibernateDialectException.html | 274 ++ ...GrailsHibernateConfigurationException.html | 274 ++ .../exceptions/GrailsHibernateException.html | 273 ++ .../exceptions/GrailsQueryException.html | 273 ++ .../hibernate/exceptions/package-frame.html | 38 + .../exceptions}/package-summary.html | 54 +- .../grails/orm/hibernate/package-frame.html | 47 + .../orm/hibernate}/package-summary.html | 80 +- ...ateCriterionAdapter.CriterionAdaptor.html} | 61 +- .../AbstractHibernateCriterionAdapter.html | 688 ++++ ...tractHibernateQuery.CriteriaAndAlias.html} | 132 +- ...ernateQuery.HibernateAssociationQuery.html | 833 ++++ ...ractHibernateQuery.HibernateJunction.html} | 119 +- ...bernateQuery.HibernateProjectionList.html} | 186 +- .../query/AbstractHibernateQuery.html | 1655 ++++++++ .../query/HibernateProjectionAdapter.html} | 78 +- .../orm/hibernate/query/package-frame.html | 38 + .../orm/hibernate/query}/package-summary.html | 38 +- ...gregatePersistenceContextInterceptor.html} | 288 +- .../support/HibernateBeanWrapper.html} | 143 +- .../orm/hibernate/support/SoftKey.html} | 71 +- .../SpringLobHandlerDetectorFactoryBean.html} | 129 +- .../orm/hibernate/support/package-frame.html | 38 + .../hibernate/support}/package-summary.html | 60 +- .../datastore/mapping/annotation/Entity.html | 195 - .../datastore/mapping/annotation/Id.html | 195 - .../datastore/mapping/annotation/Index.html | 195 - .../mapping/annotation/package-frame.html | 38 - .../mapping/annotation/package-summary.html | 125 - .../mapping/cache/TPCacheAdapter.html | 260 -- .../cache/TPCacheAdapterRepository.html | 291 -- .../cache/exception/CacheException.html | 293 -- .../cache/exception/package-frame.html | 38 - .../cache/exception/package-summary.html | 115 - .../cache/impl/HashMapTPCacheAdapter.html | 247 -- .../impl/TPCacheAdapterRepositoryImpl.html | 289 -- .../mapping/cache/impl/package-frame.html | 38 - .../mapping/cache/impl/package-summary.html | 120 - .../mapping/cache/package-frame.html | 38 - .../mapping/cache/package-summary.html | 122 - .../collection/PersistentCollection.html | 323 -- .../mapping/collection/PersistentList.html | 502 --- .../mapping/collection/PersistentSet.html | 280 -- .../collection/PersistentSortedSet.html | 418 -- .../mapping/collection/package-frame.html | 47 - .../mapping/collection/package-summary.html | 149 - .../mapping/column/ColumnDatastore.html | 194 - .../mapping/column/package-frame.html | 38 - .../mapping/column/package-summary.html | 115 - .../config/AbstractGormMappingFactory.html | 401 -- .../datastore/mapping/config/Entity.html | 291 -- .../mapping/config/groovy/package-frame.html | 38 - .../config/groovy/package-summary.html | 115 - .../mapping/config/package-frame.html | 38 - .../mapping/config/package-summary.html | 125 - .../mapping/config/utils/ConfigUtils.html | 226 -- .../mapping/config/utils/package-frame.html | 38 - .../mapping/config/utils/package-summary.html | 115 - .../mapping/core/AbstractDatastore.html | 901 ----- .../mapping/core/AbstractSession.html | 1663 -------- .../core/ConnectionNotFoundException.html | 239 -- .../datastore/mapping/core/Datastore.html | 444 --- .../mapping/core/DatastoreAware.html | 219 -- .../mapping/core/DatastoreException.html | 258 -- .../mapping/core/DatastoreUtils.html | 580 --- .../mapping/core/EntityCreationException.html | 257 -- .../core/IdentityGenerationException.html | 239 -- .../core/OptimisticLockingException.html | 279 -- .../datastore/mapping/core/Session.html | 1035 ----- .../mapping/core/SessionCallback.html | 218 -- .../mapping/core/SessionCreationEvent.html | 259 -- .../mapping/core/SessionImplementor.html | 550 --- .../mapping/core/SoftThreadLocalMap.html | 237 -- .../mapping/core/StatelessDatastore.html | 228 -- .../mapping/core/VoidSessionCallback.html | 218 -- .../mapping/core/impl/PendingInsert.html | 234 -- .../core/impl/PendingInsertAdapter.html | 318 -- .../mapping/core/impl/PendingOperation.html | 386 -- .../core/impl/PendingOperationAdapter.html | 505 --- .../core/impl/PendingOperationExecution.html | 227 -- .../mapping/core/impl/PendingUpdate.html | 234 -- .../core/impl/PendingUpdateAdapter.html | 318 -- .../mapping/core/impl/package-frame.html | 47 - .../mapping/core/impl/package-summary.html | 159 - .../datastore/mapping/core/package-frame.html | 56 - .../mapping/core/package-summary.html | 236 -- .../dirty/checking/DirtyCheckable.html | 352 -- .../dirty/checking/DirtyCheckingSupport.html | 228 -- .../mapping/dirty/checking/package-frame.html | 47 - .../dirty/checking/package-summary.html | 134 - .../mapping/document/DocumentDatastore.html | 194 - .../mapping/document/config/Attribute.html | 249 -- .../mapping/document/config/Collection.html | 251 -- .../config/DocumentMappingContext.html | 402 -- ...stentEntity.DocumentCollectionMapping.html | 293 -- .../config/DocumentPersistentEntity.html | 291 -- .../config/GormDocumentMappingFactory.html | 270 -- .../document/config/package-frame.html | 38 - .../document/config/package-summary.html | 140 - .../mapping/document/package-frame.html | 38 - .../mapping/document/package-summary.html | 115 - .../mapping/engine/AssociationIndexer.html | 318 -- .../mapping/engine/EntityAccess.html | 571 --- .../mapping/engine/EntityPersister.html | 1150 ------ .../engine/LockableEntityPersister.html | 397 -- ...ster.NativeEntryModifyingEntityAccess.html | 313 -- .../engine/NativeEntryEntityPersister.html | 1844 --------- .../engine/NonPersistentTypeException.html | 239 -- .../datastore/mapping/engine/Persister.html | 486 --- .../mapping/engine/PropertyValueIndexer.html | 310 -- .../mapping/engine/event/EventType.html | 193 - .../event/PersistenceEventListener.html | 219 -- .../mapping/engine/event/PostDeleteEvent.html | 284 -- .../mapping/engine/event/PostInsertEvent.html | 284 -- .../mapping/engine/event/PostLoadEvent.html | 284 -- .../mapping/engine/event/PostUpdateEvent.html | 284 -- .../mapping/engine/event/PreDeleteEvent.html | 284 -- .../mapping/engine/event/PreInsertEvent.html | 284 -- .../mapping/engine/event/PreLoadEvent.html | 284 -- .../mapping/engine/event/PreUpdateEvent.html | 284 -- .../engine/event/SaveOrUpdateEvent.html | 284 -- .../mapping/engine/event/ValidationEvent.html | 326 -- .../mapping/engine/event/package-frame.html | 56 - .../mapping/engine/event/package-summary.html | 208 - .../mapping/engine/internal/MappingUtils.html | 334 -- .../engine/internal/package-frame.html | 38 - .../engine/internal/package-summary.html | 115 - .../mapping/engine/package-frame.html | 56 - .../mapping/engine/package-summary.html | 184 - ...tractMappingAwareCustomTypeMarshaller.html | 410 -- .../engine/types/CustomTypeMarshaller.html | 308 -- .../mapping/engine/types/package-frame.html | 47 - .../mapping/engine/types/package-summary.html | 135 - .../mapping/graph/GraphDatastore.html | 194 - .../mapping/graph/package-frame.html | 38 - .../mapping/graph/package-summary.html | 115 - .../AbstractKeyValueEntityPersister.html | 422 --- .../keyvalue/engine/KeyValueEntry.html | 271 -- .../keyvalue/engine/package-frame.html | 38 - .../keyvalue/engine/package-summary.html | 121 - .../AnnotationKeyValueMappingFactory.html | 291 -- .../config/GormKeyValueMappingFactory.html | 379 -- .../config/KeyValueMappingContext.html | 496 --- .../config/KeyValueMappingFactory.html | 330 -- ...PersistentEntity.KeyValueClassMapping.html | 271 -- .../config/KeyValuePersistentEntity.html | 341 -- .../mapping/config/package-frame.html | 38 - .../mapping/model/AbstractMappingContext.html | 905 ----- .../model/AbstractPersistentProperty.html | 482 --- .../datastore/mapping/model/ClassMapping.html | 264 -- .../DatastoreConfigurationException.html | 257 -- .../model/EmbeddedPersistentEntity.html | 278 -- .../mapping/model/IdentityMapping.html | 231 -- .../model/IllegalMappingException.html | 239 -- .../model/MappingConfigurationStrategy.html | 404 -- .../model/MappingContext.Listener.html | 219 -- .../mapping/model/MappingContext.html | 692 ---- .../mapping/model/MappingFactory.html | 687 ---- .../mapping/model/PersistentEntity.html | 718 ---- .../mapping/model/PersistentProperty.html | 331 -- .../mapping/model/PropertyMapping.html | 242 -- .../DefaultMappingConfigurationStrategy.html | 433 --- .../GormMappingConfigurationStrategy.html | 539 --- .../mapping/model/config/package-frame.html | 47 - .../mapping/model/config/package-summary.html | 139 - .../model/lifecycle/Initializable.html | 240 -- .../model/lifecycle/package-frame.html | 38 - .../model/lifecycle/package-summary.html | 115 - .../mapping/model/package-frame.html | 56 - .../mapping/model/package-summary.html | 220 -- .../mapping/model/types/Association.html | 643 ---- .../datastore/mapping/model/types/Basic.html | 375 -- .../datastore/mapping/model/types/Custom.html | 296 -- .../mapping/model/types/Embedded.html | 315 -- .../model/types/EmbeddedCollection.html | 290 -- .../mapping/model/types/Identity.html | 261 -- .../mapping/model/types/ManyToMany.html | 328 -- .../mapping/model/types/ManyToOne.html | 281 -- .../mapping/model/types/OneToMany.html | 275 -- .../mapping/model/types/OneToOne.html | 281 -- .../datastore/mapping/model/types/Simple.html | 261 -- .../datastore/mapping/model/types/ToOne.html | 328 -- .../StringToBigIntegerConverter.html | 227 -- .../conversion/StringToShortConverter.html | 227 -- .../conversion/StringToTimeZoneConverter.html | 227 -- .../model/types/conversion/package-frame.html | 38 - .../types/conversion/package-summary.html | 175 - .../mapping/model/types/package-frame.html | 38 - .../datastore/mapping/proxy/EntityProxy.html | 285 -- .../proxy/GroovyObjectMethodHandler.html | 508 --- .../mapping/proxy/JavassistProxyFactory.html | 376 -- .../datastore/mapping/proxy/ProxyFactory.html | 307 -- .../mapping/proxy/package-frame.html | 47 - .../mapping/proxy/package-summary.html | 144 - .../mapping/query/AssociationQuery.html | 300 -- .../datastore/mapping/query/Projections.html | 483 --- .../mapping/query/Query.AvgProjection.html | 219 -- .../mapping/query/Query.Between.html | 301 -- .../mapping/query/Query.Conjunction.html | 237 -- .../query/Query.CountDistinctProjection.html | 213 -- .../mapping/query/Query.CountProjection.html | 177 - .../mapping/query/Query.Criterion.html | 173 - .../mapping/query/Query.Disjunction.html | 237 -- .../query/Query.DistinctProjection.html | 177 - .../Query.DistinctPropertyProjection.html | 213 -- .../datastore/mapping/query/Query.Equals.html | 259 -- .../mapping/query/Query.EqualsAll.html | 213 -- .../mapping/query/Query.EqualsProperty.html | 213 -- .../mapping/query/Query.GreaterThan.html | 219 -- .../mapping/query/Query.GreaterThanAll.html | 213 -- .../query/Query.GreaterThanEquals.html | 219 -- .../query/Query.GreaterThanEqualsAll.html | 213 -- .../Query.GreaterThanEqualsProperty.html | 213 -- .../query/Query.GreaterThanProperty.html | 213 -- .../datastore/mapping/query/Query.ILike.html | 219 -- .../mapping/query/Query.IdEquals.html | 259 -- .../mapping/query/Query.IdProjection.html | 177 - .../datastore/mapping/query/Query.In.html | 301 -- .../mapping/query/Query.IsEmpty.html | 219 -- .../mapping/query/Query.IsNotEmpty.html | 219 -- .../mapping/query/Query.IsNotNull.html | 219 -- .../datastore/mapping/query/Query.IsNull.html | 219 -- .../mapping/query/Query.Junction.html | 316 -- .../mapping/query/Query.LessThan.html | 219 -- .../mapping/query/Query.LessThanAll.html | 213 -- .../mapping/query/Query.LessThanEquals.html | 219 -- .../query/Query.LessThanEqualsAll.html | 213 -- .../query/Query.LessThanEqualsProperty.html | 213 -- .../mapping/query/Query.LessThanProperty.html | 213 -- .../datastore/mapping/query/Query.Like.html | 258 -- .../mapping/query/Query.MaxProjection.html | 219 -- .../mapping/query/Query.MinProjection.html | 219 -- .../mapping/query/Query.Negation.html | 183 - .../mapping/query/Query.NotEquals.html | 259 -- .../mapping/query/Query.NotEqualsAll.html | 213 -- .../query/Query.NotEqualsProperty.html | 213 -- .../mapping/query/Query.Order.Direction.html | 187 - .../datastore/mapping/query/Query.Order.html | 362 -- .../mapping/query/Query.Projection.html | 187 - .../Query.PropertyComparisonCriterion.html | 295 -- .../query/Query.PropertyProjection.html | 252 -- .../datastore/mapping/query/Query.RLike.html | 259 -- .../mapping/query/Query.SizeEquals.html | 213 -- .../mapping/query/Query.SizeGreaterThan.html | 213 -- .../query/Query.SizeGreaterThanEquals.html | 213 -- .../mapping/query/Query.SizeLessThan.html | 213 -- .../query/Query.SizeLessThanEquals.html | 213 -- .../mapping/query/Query.SizeNotEquals.html | 213 -- .../query/Query.SubqueryCriterion.html | 219 -- .../mapping/query/Query.SumProjection.html | 219 -- .../grails/datastore/mapping/query/Query.html | 2011 ---------- .../datastore/mapping/query/Restrictions.html | 862 ----- .../query/api/AssociationCriteria.html | 240 -- .../datastore/mapping/query/api/Criteria.html | 1100 ------ .../mapping/query/api/ProjectionList.html | 439 --- .../query/api/QueryArgumentsAware.html | 220 -- .../mapping/query/api/QueryableCriteria.html | 315 -- .../mapping/query/api/package-frame.html | 38 - .../criteria/FunctionCallingCriterion.html | 322 -- .../mapping/query/criteria/package-frame.html | 38 - .../query/criteria/package-summary.html | 115 - .../mapping/query/event/PostQueryEvent.html | 323 -- .../mapping/query/event/PreQueryEvent.html | 279 -- .../mapping/query/event/QueryEventType.html | 193 - .../mapping/query/event/package-frame.html | 47 - .../mapping/query/jpa/JpaQueryBuilder.html | 613 --- .../mapping/query/jpa/package-frame.html | 38 - .../mapping/query/jpa/package-summary.html | 120 - .../query/order/ManualEntityOrdering.html | 307 -- .../mapping/query/order/package-frame.html | 38 - .../mapping/query/order/package-summary.html | 115 - .../mapping/query/package-frame.html | 56 - .../mapping/query/package-summary.html | 443 --- .../query/projections/ManualProjections.html | 353 -- .../query/projections/package-frame.html | 38 - .../query/projections/package-summary.html | 115 - .../mapping/rdbms/RelationalDatastore.html | 194 - .../mapping/rdbms/package-frame.html | 38 - .../mapping/rdbms/package-summary.html | 115 - ...ertyFetcher.ReferenceInstanceCallback.html | 212 -- .../mapping/reflect/ClassPropertyFetcher.html | 632 ---- .../reflect/InstantiationException.html | 239 -- .../datastore/mapping/reflect/NameUtils.html | 315 -- .../mapping/reflect/ReflectionUtils.html | 367 -- .../mapping/reflect/package-frame.html | 56 - .../mapping/reflect/package-summary.html | 163 - .../DatastoreTransactionManager.html | 376 -- .../mapping/transactions/SessionHolder.html | 447 --- .../transactions/SessionOnlyTransaction.html | 352 -- .../transactions/TransactionUtils.html | 268 -- .../mapping/transactions/package-frame.html | 47 - .../mapping/transactions/package-summary.html | 155 - .../transactions/support/package-frame.html | 38 - .../transactions/support/package-summary.html | 116 - .../validation/ValidatingEventListener.html | 363 -- .../mapping/validation/ValidationErrors.html | 299 -- .../validation/ValidationException.html | 280 -- .../mapping/validation/package-frame.html | 38 - .../mapping/validation/package-summary.html | 126 - api/overview-frame.html | 116 +- api/overview-summary.html | 186 +- api/package-list | 44 +- dynamodb/api/deprecated-list.html | 2 +- dynamodb/api/help-doc.html | 2 +- dynamodb/api/index-all.html | 2 +- .../DelayAfterWriteDynamoDBSession.html | 4 +- .../mapping/dynamodb/DynamoDBDatastore.html | 4 +- .../mapping/dynamodb/DynamoDBSession.html | 4 +- .../config/DynamoDBDomainClassMappedForm.html | 4 +- .../config/DynamoDBMappingContext.html | 4 +- ...PersistentEntity.DynamoDBClassMapping.html | 4 +- .../config/DynamoDBPersistentEntity.html | 4 +- .../config/GormDynamoDBMappingFactory.html | 4 +- .../engine/AbstractDynamoDBTableResolver.html | 4 +- .../dynamodb/engine/AssociationKey.html | 4 +- .../engine/ConstDynamoDBTableResolver.html | 4 +- .../engine/DynamoDBAssociationIndexer.html | 4 +- .../engine/DynamoDBAssociationInfo.html | 4 +- .../engine/DynamoDBEntityPersister.html | 4 +- .../engine/DynamoDBHiLoIdGenerator.html | 4 +- .../dynamodb/engine/DynamoDBIdGenerator.html | 4 +- .../engine/DynamoDBIdGeneratorFactory.html | 4 +- .../dynamodb/engine/DynamoDBNativeItem.html | 4 +- .../engine/DynamoDBTableResolver.html | 4 +- .../engine/DynamoDBTableResolverFactory.html | 4 +- .../engine/DynamoDBUUIDIdGenerator.html | 4 +- .../types/DynamoDBTypeConverterRegistrar.html | 4 +- .../query/DynamoDBQuery.QueryHandler.html | 4 +- .../dynamodb/query/DynamoDBQuery.Results.html | 4 +- .../mapping/dynamodb/query/DynamoDBQuery.html | 4 +- .../util/DataStoreOperationException.html | 4 +- ...ayAfterWriteDynamoDBTemplateDecorator.html | 4 +- .../mapping/dynamodb/util/DynamoDBConst.html | 4 +- .../dynamodb/util/DynamoDBConverterUtil.html | 4 +- .../dynamodb/util/DynamoDBTemplate.html | 4 +- .../dynamodb/util/DynamoDBTemplateImpl.html | 4 +- .../mapping/dynamodb/util/DynamoDBUtil.html | 4 +- index.html | 4 +- mongo/api/deprecated-list.html | 2 +- mongo/api/help-doc.html | 2 +- mongo/api/index-all.html | 2 +- .../mapping/mongo/MongoDatastore.html | 4 +- .../datastore/mapping/mongo/MongoSession.html | 4 +- .../mapping/mongo/config/MongoAttribute.html | 4 +- .../mapping/mongo/config/MongoCollection.html | 4 +- ...stentEntity.DocumentCollectionMapping.html | 4 +- .../mongo/config/MongoMappingContext.html | 4 +- .../mongo/engine/MongoEntityPersister.html | 4 +- .../query/MongoQuery.MongoResultList.html | 4 +- .../mapping/mongo/query/MongoQuery.Near.html | 4 +- .../mongo/query/MongoQuery.WithinBox.html | 4 +- .../mongo/query/MongoQuery.WithinCircle.html | 4 +- .../mongo/query/MongoQuery.WithinPolygon.html | 4 +- .../mapping/mongo/query/MongoQuery.html | 4 +- neo4j/api/deprecated-list.html | 2 +- neo4j/api/help-doc.html | 2 +- neo4j/api/index-all.html | 2 +- .../gorm/neo4j/DummyEntityPersister.html | 4 +- .../gorm/neo4j/GrailsRelationshipTypes.html | 4 +- .../gorm/neo4j/GraphGormMappingFactory.html | 4 +- .../gorm/neo4j/GraphPersistentEntity.html | 4 +- .../gorm/neo4j/IdEqualsWithName.html | 4 +- .../datastore/gorm/neo4j/Neo4jDatastore.html | 4 +- .../gorm/neo4j/Neo4jGormEnhancer.html | 4 +- .../gorm/neo4j/Neo4jGormInstanceApi.html | 4 +- .../gorm/neo4j/Neo4jGormStaticApi.html | 4 +- .../gorm/neo4j/Neo4jMappingContext.html | 4 +- .../Neo4jOpenSessionInViewInterceptor.html | 4 +- .../datastore/gorm/neo4j/Neo4jQuery.html | 4 +- .../datastore/gorm/neo4j/Neo4jSession.html | 4 +- .../gorm/neo4j/Neo4jTransaction.html | 4 +- .../datastore/gorm/neo4j/Neo4jUtils.html | 4 +- .../gorm/neo4j/ObservableListWrapper.html | 4 +- .../gorm/neo4j/ObservableSetWrapper.html | 4 +- .../factory/Neo4jDatastoreFactoryBean.html | 4 +- .../Neo4jMappingContextFactoryBean.html | 4 +- .../neo4j/constraints/UniqueConstraint.html | 4 +- .../support/Neo4jMethodsConfigurer.html | 4 +- .../plugin/support/Neo4jOnChangeHandler.html | 4 +- .../plugin/support/Neo4jSpringConfigurer.html | 4 +- redis/api/deprecated-list.html | 2 +- redis/api/help-doc.html | 2 +- redis/api/index-all.html | 2 +- rest-client/api/deprecated-list.html | 6 +- .../rest/client/RequestCustomizer.html | 8 +- .../plugins/rest/client/RestBuilder.html | 8 +- .../plugins/rest/client/RestResponse.html | 8 +- .../async/AbstractAsyncResourcesClient.html | 8 +- .../rest/client/async/AsyncRestBuilder.html | 8 +- .../rest/client/async/package-summary.html | 4 +- .../templated/AsyncJsonResourcesClient.html | 8 +- .../templated/AsyncXmlResourcesClient.html | 8 +- .../async/templated/package-summary.html | 4 +- .../plugins/rest/client/package-summary.html | 4 +- .../templated/AbstractResourcesClient.html | 8 +- .../client/templated/JsonResourcesClient.html | 8 +- .../client/templated/XmlResourcesClient.html | 8 +- .../client/templated/package-summary.html | 4 +- rest-client/api/help-doc.html | 6 +- rest-client/api/index-all.html | 6 +- rest-client/api/index.html | 2 +- .../client/json/GsonHttpMessageConverter.html | 8 +- .../client/json/JsonHttpMessageConverter.html | 8 +- .../rest/client/json/package-summary.html | 4 +- .../GrailsConverterHttpMessageConverter.html | 8 +- .../NullSafeStringHttpMessageConverter.html | 8 +- .../utils/WritableHttpMessageConverter.html | 8 +- .../rest/client/utils/package-summary.html | 4 +- .../xml/GPathXmlHttpMessageConverter.html | 8 +- .../gorm/rest/client/xml/package-summary.html | 4 +- rest-client/api/overview-frame.html | 4 +- rest-client/api/overview-summary.html | 6 +- simpledb/api/deprecated-list.html | 2 +- simpledb/api/help-doc.html | 2 +- simpledb/api/index-all.html | 2 +- .../DelayAfterWriteSimpleDBSession.html | 4 +- .../mapping/simpledb/SimpleDBDatastore.html | 4 +- .../mapping/simpledb/SimpleDBSession.html | 4 +- .../config/GormSimpleDBMappingFactory.html | 4 +- .../config/SimpleDBDomainClassMappedForm.html | 4 +- .../config/SimpleDBMappingContext.html | 4 +- ...PersistentEntity.SimpleDBClassMapping.html | 4 +- .../config/SimpleDBPersistentEntity.html | 4 +- .../AbstractSimpleDBDomainResolver.html | 4 +- .../simpledb/engine/AssociationKey.html | 4 +- .../engine/ConstSimpleDBDomainResolver.html | 4 +- .../engine/SimpleDBAssociationIndexer.html | 4 +- .../engine/SimpleDBAssociationInfo.html | 4 +- .../engine/SimpleDBDomainResolver.html | 4 +- .../engine/SimpleDBDomainResolverFactory.html | 4 +- ...pleDBNativeEntryModifyingEntityAccess.html | 4 +- .../engine/SimpleDBEntityPersister.html | 4 +- .../engine/SimpleDBHiLoIdGenerator.html | 4 +- .../simpledb/engine/SimpleDBIdGenerator.html | 4 +- .../engine/SimpleDBIdGeneratorFactory.html | 4 +- .../simpledb/engine/SimpleDBNativeItem.html | 4 +- .../engine/SimpleDBUUIDIdGenerator.html | 4 +- .../types/SimpleDBTypeConverterRegistrar.html | 4 +- .../query/SimpleDBQuery.QueryHandler.html | 4 +- .../mapping/simpledb/query/SimpleDBQuery.html | 4 +- ...ayAfterWriteSimpleDBTemplateDecorator.html | 4 +- .../mapping/simpledb/util/SimpleDBConst.html | 4 +- .../simpledb/util/SimpleDBConverterUtil.html | 4 +- .../simpledb/util/SimpleDBTemplate.html | 4 +- .../simpledb/util/SimpleDBTemplateImpl.html | 4 +- .../mapping/simpledb/util/SimpleDBUtil.html | 4 +- 485 files changed, 18534 insertions(+), 81123 deletions(-) rename api/org/{grails/datastore/mapping/transactions/support/SpringSessionSynchronization.html => codehaus/groovy/grails/orm/hibernate/AbstractEventTriggeringInterceptor.html} (57%) rename api/org/{grails/datastore/mapping/model/AbstractPersistentEntity.html => codehaus/groovy/grails/orm/hibernate/AbstractGrailsHibernateDomainClass.html} (50%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/AbstractHibernateDatastore.html rename api/org/{grails/datastore/mapping/query/event/AbstractQueryEvent.html => codehaus/groovy/grails/orm/hibernate/AbstractHibernateGormEnhancer.html} (58%) rename api/org/{grails/datastore/mapping/config/groovy/MappingConfigurationBuilder.html => codehaus/groovy/grails/orm/hibernate/AbstractHibernateGormInstanceApi.html} (70%) rename api/org/{grails/datastore/mapping/engine/event/AbstractPersistenceEventListener.html => codehaus/groovy/grails/orm/hibernate/AbstractHibernateGormValidationApi.html} (63%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/AbstractHibernateSession.html create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/GrailsHibernateDomainClassProperty.html rename api/org/{grails/datastore/mapping/model/types/BasicTypeConverterRegistrar.html => codehaus/groovy/grails/orm/hibernate/HibernateEventListeners.html} (78%) rename api/org/{grails/datastore/mapping/engine/event/AbstractPersistenceEvent.html => codehaus/groovy/grails/orm/hibernate/IHibernateTemplate.html} (56%) rename api/org/{grails/datastore/mapping/query/jpa/JpaQueryInfo.html => codehaus/groovy/grails/orm/hibernate/SessionFactoryHolder.html} (71%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/cfg/AbstractGrailsDomainBinder.html create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/cfg/CacheConfig.html rename api/org/{grails/datastore/mapping/model/config/GormProperties.html => codehaus/groovy/grails/orm/hibernate/cfg/ColumnConfig.html} (55%) rename api/org/{grails/datastore/mapping/model/types/conversion/IntArrayToIntegerArrayConverter.html => codehaus/groovy/grails/orm/hibernate/cfg/CompositeIdentity.html} (69%) rename api/org/{grails/datastore/mapping/model/types/conversion/StringToLocaleConverter.html => codehaus/groovy/grails/orm/hibernate/cfg/GORMEnhancingBeanPostProcessor.html} (61%) rename api/org/{grails/datastore/mapping/model/types/conversion/StringToURLConverter.html => codehaus/groovy/grails/orm/hibernate/cfg/GORMNamespaceHandler.html} (74%) rename api/org/{grails/datastore/mapping/model/types/conversion/StringToBigDecimalConverter.html => codehaus/groovy/grails/orm/hibernate/cfg/GORMSessionFactoryDefinitionParser.html} (72%) rename api/org/{grails/datastore/mapping/transactions/Transaction.html => codehaus/groovy/grails/orm/hibernate/cfg/GrailsDomainConfiguration.html} (54%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/cfg/HibernateMappingBuilder.html rename api/org/{grails/datastore/mapping/model/AbstractClassMapping.html => codehaus/groovy/grails/orm/hibernate/cfg/HibernateNamedQueriesBuilder.html} (57%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/cfg/HibernateUtilities.html rename api/org/{grails/datastore/mapping/keyvalue/mapping/config/Family.html => codehaus/groovy/grails/orm/hibernate/cfg/Identity.html} (64%) rename api/org/{grails/datastore/mapping/core/AbstractAttributeStoringSession.html => codehaus/groovy/grails/orm/hibernate/cfg/InstanceProxy.html} (54%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/cfg/JoinTable.html create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/cfg/Mapping.html rename api/org/{grails/datastore/mapping/collection/AbstractPersistentCollection.html => codehaus/groovy/grails/orm/hibernate/cfg/NamedCriteriaProxy.html} (54%) rename api/org/{grails/datastore/mapping/model/types/conversion/LongArrayToLongArrayConverter.html => codehaus/groovy/grails/orm/hibernate/cfg/NaturalId.html} (71%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/cfg/PropertyConfig.html create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/cfg/PropertyDefinitionDelegate.html rename api/org/{grails/datastore/mapping/model/types/conversion/StringToCurrencyConverter.html => codehaus/groovy/grails/orm/hibernate/cfg/SortConfig.html} (64%) rename api/org/{grails/datastore/mapping/model/types/conversion/IntegerToByteConverter.html => codehaus/groovy/grails/orm/hibernate/cfg/Table.html} (67%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/cfg/package-frame.html create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/cfg/package-summary.html create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/exceptions/CouldNotDetermineHibernateDialectException.html create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/exceptions/GrailsHibernateConfigurationException.html create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/exceptions/GrailsHibernateException.html create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/exceptions/GrailsQueryException.html create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/exceptions/package-frame.html rename api/org/{grails/datastore/mapping/query/api => codehaus/groovy/grails/orm/hibernate/exceptions}/package-summary.html (50%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/package-frame.html rename api/org/{grails/datastore/mapping/model/types => codehaus/groovy/grails/orm/hibernate}/package-summary.html (53%) rename api/org/{grails/datastore/mapping/model/types/conversion/IntegerToShortConverter.html => codehaus/groovy/grails/orm/hibernate/query/AbstractHibernateCriterionAdapter.CriterionAdaptor.html} (68%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/query/AbstractHibernateCriterionAdapter.html rename api/org/{grails/datastore/mapping/query/Query.PropertyNameCriterion.html => codehaus/groovy/grails/orm/hibernate/query/AbstractHibernateQuery.CriteriaAndAlias.html} (63%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/query/AbstractHibernateQuery.HibernateAssociationQuery.html rename api/org/{grails/datastore/mapping/query/Query.PropertyCriterion.html => codehaus/groovy/grails/orm/hibernate/query/AbstractHibernateQuery.HibernateJunction.html} (61%) rename api/org/{grails/datastore/mapping/query/Query.ProjectionList.html => codehaus/groovy/grails/orm/hibernate/query/AbstractHibernateQuery.HibernateProjectionList.html} (54%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/query/AbstractHibernateQuery.html rename api/org/{grails/datastore/mapping/model/types/conversion/DoubleToFloatConverter.html => codehaus/groovy/grails/orm/hibernate/query/HibernateProjectionAdapter.html} (67%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/query/package-frame.html rename api/org/{grails/datastore/mapping/keyvalue/mapping/config => codehaus/groovy/grails/orm/hibernate/query}/package-summary.html (61%) rename api/org/{grails/datastore/mapping/config/Property.html => codehaus/groovy/grails/orm/hibernate/support/AbstractAggregatePersistenceContextInterceptor.html} (54%) rename api/org/{grails/datastore/mapping/keyvalue/mapping/config/KeyValue.html => codehaus/groovy/grails/orm/hibernate/support/HibernateBeanWrapper.html} (63%) rename api/org/{grails/datastore/mapping/model/types/conversion/DefaultConversionService.html => codehaus/groovy/grails/orm/hibernate/support/SoftKey.html} (66%) rename api/org/{grails/datastore/mapping/transactions/TransactionObject.html => codehaus/groovy/grails/orm/hibernate/support/SpringLobHandlerDetectorFactoryBean.html} (56%) create mode 100644 api/org/codehaus/groovy/grails/orm/hibernate/support/package-frame.html rename api/org/{grails/datastore/mapping/query/event => codehaus/groovy/grails/orm/hibernate/support}/package-summary.html (53%) delete mode 100644 api/org/grails/datastore/mapping/annotation/Entity.html delete mode 100644 api/org/grails/datastore/mapping/annotation/Id.html delete mode 100644 api/org/grails/datastore/mapping/annotation/Index.html delete mode 100644 api/org/grails/datastore/mapping/annotation/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/annotation/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/cache/TPCacheAdapter.html delete mode 100644 api/org/grails/datastore/mapping/cache/TPCacheAdapterRepository.html delete mode 100644 api/org/grails/datastore/mapping/cache/exception/CacheException.html delete mode 100644 api/org/grails/datastore/mapping/cache/exception/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/cache/exception/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/cache/impl/HashMapTPCacheAdapter.html delete mode 100644 api/org/grails/datastore/mapping/cache/impl/TPCacheAdapterRepositoryImpl.html delete mode 100644 api/org/grails/datastore/mapping/cache/impl/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/cache/impl/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/cache/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/cache/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/collection/PersistentCollection.html delete mode 100644 api/org/grails/datastore/mapping/collection/PersistentList.html delete mode 100644 api/org/grails/datastore/mapping/collection/PersistentSet.html delete mode 100644 api/org/grails/datastore/mapping/collection/PersistentSortedSet.html delete mode 100644 api/org/grails/datastore/mapping/collection/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/collection/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/column/ColumnDatastore.html delete mode 100644 api/org/grails/datastore/mapping/column/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/column/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/config/AbstractGormMappingFactory.html delete mode 100644 api/org/grails/datastore/mapping/config/Entity.html delete mode 100644 api/org/grails/datastore/mapping/config/groovy/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/config/groovy/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/config/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/config/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/config/utils/ConfigUtils.html delete mode 100644 api/org/grails/datastore/mapping/config/utils/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/config/utils/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/core/AbstractDatastore.html delete mode 100644 api/org/grails/datastore/mapping/core/AbstractSession.html delete mode 100644 api/org/grails/datastore/mapping/core/ConnectionNotFoundException.html delete mode 100644 api/org/grails/datastore/mapping/core/Datastore.html delete mode 100644 api/org/grails/datastore/mapping/core/DatastoreAware.html delete mode 100644 api/org/grails/datastore/mapping/core/DatastoreException.html delete mode 100644 api/org/grails/datastore/mapping/core/DatastoreUtils.html delete mode 100644 api/org/grails/datastore/mapping/core/EntityCreationException.html delete mode 100644 api/org/grails/datastore/mapping/core/IdentityGenerationException.html delete mode 100644 api/org/grails/datastore/mapping/core/OptimisticLockingException.html delete mode 100644 api/org/grails/datastore/mapping/core/Session.html delete mode 100644 api/org/grails/datastore/mapping/core/SessionCallback.html delete mode 100644 api/org/grails/datastore/mapping/core/SessionCreationEvent.html delete mode 100644 api/org/grails/datastore/mapping/core/SessionImplementor.html delete mode 100644 api/org/grails/datastore/mapping/core/SoftThreadLocalMap.html delete mode 100644 api/org/grails/datastore/mapping/core/StatelessDatastore.html delete mode 100644 api/org/grails/datastore/mapping/core/VoidSessionCallback.html delete mode 100644 api/org/grails/datastore/mapping/core/impl/PendingInsert.html delete mode 100644 api/org/grails/datastore/mapping/core/impl/PendingInsertAdapter.html delete mode 100644 api/org/grails/datastore/mapping/core/impl/PendingOperation.html delete mode 100644 api/org/grails/datastore/mapping/core/impl/PendingOperationAdapter.html delete mode 100644 api/org/grails/datastore/mapping/core/impl/PendingOperationExecution.html delete mode 100644 api/org/grails/datastore/mapping/core/impl/PendingUpdate.html delete mode 100644 api/org/grails/datastore/mapping/core/impl/PendingUpdateAdapter.html delete mode 100644 api/org/grails/datastore/mapping/core/impl/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/core/impl/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/core/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/core/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/dirty/checking/DirtyCheckable.html delete mode 100644 api/org/grails/datastore/mapping/dirty/checking/DirtyCheckingSupport.html delete mode 100644 api/org/grails/datastore/mapping/dirty/checking/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/dirty/checking/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/document/DocumentDatastore.html delete mode 100644 api/org/grails/datastore/mapping/document/config/Attribute.html delete mode 100644 api/org/grails/datastore/mapping/document/config/Collection.html delete mode 100644 api/org/grails/datastore/mapping/document/config/DocumentMappingContext.html delete mode 100644 api/org/grails/datastore/mapping/document/config/DocumentPersistentEntity.DocumentCollectionMapping.html delete mode 100644 api/org/grails/datastore/mapping/document/config/DocumentPersistentEntity.html delete mode 100644 api/org/grails/datastore/mapping/document/config/GormDocumentMappingFactory.html delete mode 100644 api/org/grails/datastore/mapping/document/config/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/document/config/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/document/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/document/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/engine/AssociationIndexer.html delete mode 100644 api/org/grails/datastore/mapping/engine/EntityAccess.html delete mode 100644 api/org/grails/datastore/mapping/engine/EntityPersister.html delete mode 100644 api/org/grails/datastore/mapping/engine/LockableEntityPersister.html delete mode 100644 api/org/grails/datastore/mapping/engine/NativeEntryEntityPersister.NativeEntryModifyingEntityAccess.html delete mode 100644 api/org/grails/datastore/mapping/engine/NativeEntryEntityPersister.html delete mode 100644 api/org/grails/datastore/mapping/engine/NonPersistentTypeException.html delete mode 100644 api/org/grails/datastore/mapping/engine/Persister.html delete mode 100644 api/org/grails/datastore/mapping/engine/PropertyValueIndexer.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/EventType.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/PersistenceEventListener.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/PostDeleteEvent.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/PostInsertEvent.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/PostLoadEvent.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/PostUpdateEvent.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/PreDeleteEvent.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/PreInsertEvent.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/PreLoadEvent.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/PreUpdateEvent.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/SaveOrUpdateEvent.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/ValidationEvent.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/engine/event/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/engine/internal/MappingUtils.html delete mode 100644 api/org/grails/datastore/mapping/engine/internal/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/engine/internal/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/engine/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/engine/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/engine/types/AbstractMappingAwareCustomTypeMarshaller.html delete mode 100644 api/org/grails/datastore/mapping/engine/types/CustomTypeMarshaller.html delete mode 100644 api/org/grails/datastore/mapping/engine/types/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/engine/types/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/graph/GraphDatastore.html delete mode 100644 api/org/grails/datastore/mapping/graph/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/graph/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/keyvalue/engine/AbstractKeyValueEntityPersister.html delete mode 100644 api/org/grails/datastore/mapping/keyvalue/engine/KeyValueEntry.html delete mode 100644 api/org/grails/datastore/mapping/keyvalue/engine/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/keyvalue/engine/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/keyvalue/mapping/config/AnnotationKeyValueMappingFactory.html delete mode 100644 api/org/grails/datastore/mapping/keyvalue/mapping/config/GormKeyValueMappingFactory.html delete mode 100644 api/org/grails/datastore/mapping/keyvalue/mapping/config/KeyValueMappingContext.html delete mode 100644 api/org/grails/datastore/mapping/keyvalue/mapping/config/KeyValueMappingFactory.html delete mode 100644 api/org/grails/datastore/mapping/keyvalue/mapping/config/KeyValuePersistentEntity.KeyValueClassMapping.html delete mode 100644 api/org/grails/datastore/mapping/keyvalue/mapping/config/KeyValuePersistentEntity.html delete mode 100644 api/org/grails/datastore/mapping/keyvalue/mapping/config/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/model/AbstractMappingContext.html delete mode 100644 api/org/grails/datastore/mapping/model/AbstractPersistentProperty.html delete mode 100644 api/org/grails/datastore/mapping/model/ClassMapping.html delete mode 100644 api/org/grails/datastore/mapping/model/DatastoreConfigurationException.html delete mode 100644 api/org/grails/datastore/mapping/model/EmbeddedPersistentEntity.html delete mode 100644 api/org/grails/datastore/mapping/model/IdentityMapping.html delete mode 100644 api/org/grails/datastore/mapping/model/IllegalMappingException.html delete mode 100644 api/org/grails/datastore/mapping/model/MappingConfigurationStrategy.html delete mode 100644 api/org/grails/datastore/mapping/model/MappingContext.Listener.html delete mode 100644 api/org/grails/datastore/mapping/model/MappingContext.html delete mode 100644 api/org/grails/datastore/mapping/model/MappingFactory.html delete mode 100644 api/org/grails/datastore/mapping/model/PersistentEntity.html delete mode 100644 api/org/grails/datastore/mapping/model/PersistentProperty.html delete mode 100644 api/org/grails/datastore/mapping/model/PropertyMapping.html delete mode 100644 api/org/grails/datastore/mapping/model/config/DefaultMappingConfigurationStrategy.html delete mode 100644 api/org/grails/datastore/mapping/model/config/GormMappingConfigurationStrategy.html delete mode 100644 api/org/grails/datastore/mapping/model/config/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/model/config/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/model/lifecycle/Initializable.html delete mode 100644 api/org/grails/datastore/mapping/model/lifecycle/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/model/lifecycle/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/model/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/model/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/model/types/Association.html delete mode 100644 api/org/grails/datastore/mapping/model/types/Basic.html delete mode 100644 api/org/grails/datastore/mapping/model/types/Custom.html delete mode 100644 api/org/grails/datastore/mapping/model/types/Embedded.html delete mode 100644 api/org/grails/datastore/mapping/model/types/EmbeddedCollection.html delete mode 100644 api/org/grails/datastore/mapping/model/types/Identity.html delete mode 100644 api/org/grails/datastore/mapping/model/types/ManyToMany.html delete mode 100644 api/org/grails/datastore/mapping/model/types/ManyToOne.html delete mode 100644 api/org/grails/datastore/mapping/model/types/OneToMany.html delete mode 100644 api/org/grails/datastore/mapping/model/types/OneToOne.html delete mode 100644 api/org/grails/datastore/mapping/model/types/Simple.html delete mode 100644 api/org/grails/datastore/mapping/model/types/ToOne.html delete mode 100644 api/org/grails/datastore/mapping/model/types/conversion/StringToBigIntegerConverter.html delete mode 100644 api/org/grails/datastore/mapping/model/types/conversion/StringToShortConverter.html delete mode 100644 api/org/grails/datastore/mapping/model/types/conversion/StringToTimeZoneConverter.html delete mode 100644 api/org/grails/datastore/mapping/model/types/conversion/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/model/types/conversion/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/model/types/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/proxy/EntityProxy.html delete mode 100644 api/org/grails/datastore/mapping/proxy/GroovyObjectMethodHandler.html delete mode 100644 api/org/grails/datastore/mapping/proxy/JavassistProxyFactory.html delete mode 100644 api/org/grails/datastore/mapping/proxy/ProxyFactory.html delete mode 100644 api/org/grails/datastore/mapping/proxy/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/proxy/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/query/AssociationQuery.html delete mode 100644 api/org/grails/datastore/mapping/query/Projections.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.AvgProjection.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.Between.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.Conjunction.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.CountDistinctProjection.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.CountProjection.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.Criterion.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.Disjunction.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.DistinctProjection.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.DistinctPropertyProjection.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.Equals.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.EqualsAll.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.EqualsProperty.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.GreaterThan.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.GreaterThanAll.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.GreaterThanEquals.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.GreaterThanEqualsAll.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.GreaterThanEqualsProperty.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.GreaterThanProperty.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.ILike.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.IdEquals.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.IdProjection.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.In.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.IsEmpty.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.IsNotEmpty.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.IsNotNull.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.IsNull.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.Junction.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.LessThan.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.LessThanAll.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.LessThanEquals.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.LessThanEqualsAll.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.LessThanEqualsProperty.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.LessThanProperty.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.Like.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.MaxProjection.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.MinProjection.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.Negation.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.NotEquals.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.NotEqualsAll.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.NotEqualsProperty.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.Order.Direction.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.Order.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.Projection.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.PropertyComparisonCriterion.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.PropertyProjection.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.RLike.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.SizeEquals.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.SizeGreaterThan.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.SizeGreaterThanEquals.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.SizeLessThan.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.SizeLessThanEquals.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.SizeNotEquals.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.SubqueryCriterion.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.SumProjection.html delete mode 100644 api/org/grails/datastore/mapping/query/Query.html delete mode 100644 api/org/grails/datastore/mapping/query/Restrictions.html delete mode 100644 api/org/grails/datastore/mapping/query/api/AssociationCriteria.html delete mode 100644 api/org/grails/datastore/mapping/query/api/Criteria.html delete mode 100644 api/org/grails/datastore/mapping/query/api/ProjectionList.html delete mode 100644 api/org/grails/datastore/mapping/query/api/QueryArgumentsAware.html delete mode 100644 api/org/grails/datastore/mapping/query/api/QueryableCriteria.html delete mode 100644 api/org/grails/datastore/mapping/query/api/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/query/criteria/FunctionCallingCriterion.html delete mode 100644 api/org/grails/datastore/mapping/query/criteria/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/query/criteria/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/query/event/PostQueryEvent.html delete mode 100644 api/org/grails/datastore/mapping/query/event/PreQueryEvent.html delete mode 100644 api/org/grails/datastore/mapping/query/event/QueryEventType.html delete mode 100644 api/org/grails/datastore/mapping/query/event/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/query/jpa/JpaQueryBuilder.html delete mode 100644 api/org/grails/datastore/mapping/query/jpa/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/query/jpa/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/query/order/ManualEntityOrdering.html delete mode 100644 api/org/grails/datastore/mapping/query/order/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/query/order/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/query/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/query/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/query/projections/ManualProjections.html delete mode 100644 api/org/grails/datastore/mapping/query/projections/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/query/projections/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/rdbms/RelationalDatastore.html delete mode 100644 api/org/grails/datastore/mapping/rdbms/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/rdbms/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/reflect/ClassPropertyFetcher.ReferenceInstanceCallback.html delete mode 100644 api/org/grails/datastore/mapping/reflect/ClassPropertyFetcher.html delete mode 100644 api/org/grails/datastore/mapping/reflect/InstantiationException.html delete mode 100644 api/org/grails/datastore/mapping/reflect/NameUtils.html delete mode 100644 api/org/grails/datastore/mapping/reflect/ReflectionUtils.html delete mode 100644 api/org/grails/datastore/mapping/reflect/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/reflect/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/transactions/DatastoreTransactionManager.html delete mode 100644 api/org/grails/datastore/mapping/transactions/SessionHolder.html delete mode 100644 api/org/grails/datastore/mapping/transactions/SessionOnlyTransaction.html delete mode 100644 api/org/grails/datastore/mapping/transactions/TransactionUtils.html delete mode 100644 api/org/grails/datastore/mapping/transactions/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/transactions/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/transactions/support/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/transactions/support/package-summary.html delete mode 100644 api/org/grails/datastore/mapping/validation/ValidatingEventListener.html delete mode 100644 api/org/grails/datastore/mapping/validation/ValidationErrors.html delete mode 100644 api/org/grails/datastore/mapping/validation/ValidationException.html delete mode 100644 api/org/grails/datastore/mapping/validation/package-frame.html delete mode 100644 api/org/grails/datastore/mapping/validation/package-summary.html diff --git a/api/allclasses-frame.html b/api/allclasses-frame.html index af4611578..52b33ff2c 100644 --- a/api/allclasses-frame.html +++ b/api/allclasses-frame.html @@ -22,467 +22,101 @@ -AbstractAttributeStoringSession +AbstractAggregatePersistenceContextInterceptor
-AbstractClassMapping +AbstractEventTriggeringInterceptor
-AbstractDatastore +AbstractGrailsDomainBinder
-AbstractGormMappingFactory +AbstractGrailsHibernateDomainClass
-AbstractKeyValueEntityPersister +AbstractHibernateCriterionAdapter
-AbstractMappingAwareCustomTypeMarshaller +AbstractHibernateCriterionAdapter.CriterionAdaptor
-AbstractMappingContext +AbstractHibernateDatastore
-AbstractPersistenceEvent +AbstractHibernateGormEnhancer
-AbstractPersistenceEventListener +AbstractHibernateGormInstanceApi
-AbstractPersistentCollection +AbstractHibernateGormValidationApi
-AbstractPersistentEntity +AbstractHibernateQuery
-AbstractPersistentProperty +AbstractHibernateQuery.CriteriaAndAlias
-AbstractQueryEvent +AbstractHibernateQuery.HibernateAssociationQuery
-AbstractSession +AbstractHibernateQuery.HibernateJunction
-AnnotationKeyValueMappingFactory +AbstractHibernateQuery.HibernateProjectionList
-Association +AbstractHibernateSession
-AssociationCriteria +CacheConfig
-AssociationIndexer +ColumnConfig
-AssociationQuery +CompositeIdentity
-Attribute +CouldNotDetermineHibernateDialectException
-Basic +GORMEnhancingBeanPostProcessor
-BasicTypeConverterRegistrar +GORMNamespaceHandler
-CacheException +GORMSessionFactoryDefinitionParser
-ClassMapping +GrailsDomainConfiguration
-ClassPropertyFetcher +GrailsHibernateConfigurationException
-ClassPropertyFetcher.ReferenceInstanceCallback +GrailsHibernateDomainClassProperty
-Collection +GrailsHibernateException
-ColumnDatastore +GrailsQueryException
-ConfigUtils +HibernateBeanWrapper
-ConnectionNotFoundException +HibernateEventListeners
-Criteria +HibernateMappingBuilder
-Custom +HibernateNamedQueriesBuilder
-CustomTypeMarshaller +HibernateProjectionAdapter
-Datastore +HibernateUtilities
-DatastoreAware +IHibernateTemplate
-DatastoreConfigurationException +Identity
-DatastoreException +InstanceProxy
-DatastoreTransactionManager +JoinTable
-DatastoreUtils +Mapping
-DefaultConversionService +NamedCriteriaProxy
-DefaultMappingConfigurationStrategy +NaturalId
-DirtyCheckable +PropertyConfig
-DirtyCheckingSupport +PropertyDefinitionDelegate
-DocumentDatastore +SessionFactoryHolder
-DocumentMappingContext +SoftKey
-DocumentPersistentEntity +SortConfig
-DocumentPersistentEntity.DocumentCollectionMapping +SpringLobHandlerDetectorFactoryBean
-DoubleToFloatConverter -
-Embedded -
-EmbeddedCollection -
-EmbeddedPersistentEntity -
-Entity -
-Entity -
-EntityAccess -
-EntityCreationException -
-EntityPersister -
-EntityProxy -
-EventType -
-Family -
-FunctionCallingCriterion -
-GormDocumentMappingFactory -
-GormKeyValueMappingFactory -
-GormMappingConfigurationStrategy -
-GormProperties -
-GraphDatastore -
-GroovyObjectMethodHandler -
-HashMapTPCacheAdapter -
-Id -
-Identity -
-IdentityGenerationException -
-IdentityMapping -
-IllegalMappingException -
-Index -
-Initializable -
-InstantiationException -
-IntArrayToIntegerArrayConverter -
-IntegerToByteConverter -
-IntegerToShortConverter -
-JavassistProxyFactory -
-JpaQueryBuilder -
-JpaQueryInfo -
-KeyValue -
-KeyValueEntry -
-KeyValueMappingContext -
-KeyValueMappingFactory -
-KeyValuePersistentEntity -
-KeyValuePersistentEntity.KeyValueClassMapping -
-LockableEntityPersister -
-LongArrayToLongArrayConverter -
-ManualEntityOrdering -
-ManualProjections -
-ManyToMany -
-ManyToOne -
-MappingConfigurationBuilder -
-MappingConfigurationStrategy -
-MappingContext -
-MappingContext.Listener -
-MappingFactory -
-MappingUtils -
-NameUtils -
-NativeEntryEntityPersister -
-NativeEntryEntityPersister.NativeEntryModifyingEntityAccess -
-NonPersistentTypeException -
-OneToMany -
-OneToOne -
-OptimisticLockingException -
-PendingInsert -
-PendingInsertAdapter -
-PendingOperation -
-PendingOperationAdapter -
-PendingOperationExecution -
-PendingUpdate -
-PendingUpdateAdapter -
-PersistenceEventListener -
-PersistentCollection -
-PersistentEntity -
-PersistentList -
-PersistentProperty -
-PersistentSet -
-PersistentSortedSet -
-Persister -
-PostDeleteEvent -
-PostInsertEvent -
-PostLoadEvent -
-PostQueryEvent -
-PostUpdateEvent -
-PreDeleteEvent -
-PreInsertEvent -
-PreLoadEvent -
-PreQueryEvent -
-PreUpdateEvent -
-ProjectionList -
-Projections -
-Property -
-PropertyMapping -
-PropertyValueIndexer -
-ProxyFactory -
-Query -
-Query.AvgProjection -
-Query.Between -
-Query.Conjunction -
-Query.CountDistinctProjection -
-Query.CountProjection -
-Query.Criterion -
-Query.Disjunction -
-Query.DistinctProjection -
-Query.DistinctPropertyProjection -
-Query.Equals -
-Query.EqualsAll -
-Query.EqualsProperty -
-Query.GreaterThan -
-Query.GreaterThanAll -
-Query.GreaterThanEquals -
-Query.GreaterThanEqualsAll -
-Query.GreaterThanEqualsProperty -
-Query.GreaterThanProperty -
-Query.ILike -
-Query.IdEquals -
-Query.IdProjection -
-Query.In -
-Query.IsEmpty -
-Query.IsNotEmpty -
-Query.IsNotNull -
-Query.IsNull -
-Query.Junction -
-Query.LessThan -
-Query.LessThanAll -
-Query.LessThanEquals -
-Query.LessThanEqualsAll -
-Query.LessThanEqualsProperty -
-Query.LessThanProperty -
-Query.Like -
-Query.MaxProjection -
-Query.MinProjection -
-Query.Negation -
-Query.NotEquals -
-Query.NotEqualsAll -
-Query.NotEqualsProperty -
-Query.Order -
-Query.Order.Direction -
-Query.Projection -
-Query.ProjectionList -
-Query.PropertyComparisonCriterion -
-Query.PropertyCriterion -
-Query.PropertyNameCriterion -
-Query.PropertyProjection -
-Query.RLike -
-Query.SizeEquals -
-Query.SizeGreaterThan -
-Query.SizeGreaterThanEquals -
-Query.SizeLessThan -
-Query.SizeLessThanEquals -
-Query.SizeNotEquals -
-Query.SubqueryCriterion -
-Query.SumProjection -
-QueryArgumentsAware -
-QueryEventType -
-QueryableCriteria -
-ReflectionUtils -
-RelationalDatastore -
-Restrictions -
-SaveOrUpdateEvent -
-Session -
-SessionCallback -
-SessionCreationEvent -
-SessionHolder -
-SessionImplementor -
-SessionOnlyTransaction -
-Simple -
-SoftThreadLocalMap -
-SpringSessionSynchronization -
-StatelessDatastore -
-StringToBigDecimalConverter -
-StringToBigIntegerConverter -
-StringToCurrencyConverter -
-StringToLocaleConverter -
-StringToShortConverter -
-StringToTimeZoneConverter -
-StringToURLConverter -
-TPCacheAdapter -
-TPCacheAdapterRepository -
-TPCacheAdapterRepositoryImpl -
-ToOne -
-Transaction -
-TransactionObject -
-TransactionUtils -
-ValidatingEventListener -
-ValidationErrors -
-ValidationEvent -
-ValidationException -
-VoidSessionCallback +Table
diff --git a/api/deprecated-list.html b/api/deprecated-list.html index 1b277b62d..f5ce95d75 100644 --- a/api/deprecated-list.html +++ b/api/deprecated-list.html @@ -3,8 +3,8 @@ -Deprecated API (grails-datastore-core 2.0.1.RELEASE API) - +Deprecated API (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + @@ -13,7 +13,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Deprecated API (grails-datastore-core 2.0.1.RELEASE API)"; + parent.document.title="Deprecated API (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API)"; } } diff --git a/api/help-doc.html b/api/help-doc.html index 7d2e70f6f..9b1f43c3c 100644 --- a/api/help-doc.html +++ b/api/help-doc.html @@ -4,17 +4,17 @@ -API Help (grails-datastore-core 2.0.1.RELEASE API) +API Help (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) - + diff --git a/api/index-all.html b/api/index-all.html index ff97c41d3..b93d5759f 100644 --- a/api/index-all.html +++ b/api/index-all.html @@ -3,8 +3,8 @@ -Index (grails-datastore-core 2.0.1.RELEASE API) - +Index (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + @@ -12,7 +12,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Index (grails-datastore-core 2.0.1.RELEASE API)"; + parent.document.title="Index (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API)"; } } @@ -135,2134 +135,1153 @@
-
AbstractAttributeStoringSession - Class in org.grails.datastore.mapping.core +
AbstractAggregatePersistenceContextInterceptor - Class in org.codehaus.groovy.grails.orm.hibernate.support +
@author Burt Beckwith
+
AbstractEventTriggeringInterceptor - Class in org.codehaus.groovy.grails.orm.hibernate
-
AbstractClassMapping - Class in org.grails.datastore.mapping.model -
Abstract implementation of the ClassMapping interface.
-
AbstractClassMapping(PersistentEntity, MappingContext) - Constructor in AbstractClassMapping +
AbstractEventTriggeringInterceptor(Datastore) - Constructor in AbstractEventTriggeringInterceptor
-
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, ConfigurableApplicationContext, TPCacheAdapterRepository) - Constructor in AbstractDatastore +
AbstractGrailsDomainBinder - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
Handles the binding Grails domain classes and properties to the Hibernate runtime meta model. +
+
AbstractGrailsDomainBinder.GrailsCollectionSecondPass(GrailsDomainClassProperty, Mappings, Collection, String) - Constructor in AbstractGrailsDomainBinder.GrailsCollectionSecondPass
-
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 +
AbstractGrailsDomainBinder.ListSecondPass(GrailsDomainClassProperty, Mappings, Collection, String) - Constructor in AbstractGrailsDomainBinder.ListSecondPass
-
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) - Constructor in AbstractMappingAwareCustomTypeMarshaller +
AbstractGrailsDomainBinder.MapSecondPass(GrailsDomainClassProperty, Mappings, Collection, String) - Constructor in AbstractGrailsDomainBinder.MapSecondPass
-
AbstractMappingContext - Class in org.grails.datastore.mapping.model -
Abstract implementation of the MappingContext interface.
-
AbstractPersistenceEvent - Class in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
AbstractPersistenceEvent(Datastore, Object) - Constructor in AbstractPersistenceEvent +
AbstractGrailsHibernateDomainClass - Class in org.codehaus.groovy.grails.orm.hibernate
-
AbstractPersistenceEventListener - Class in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
AbstractPersistenceEventListener(Datastore) - Constructor in AbstractPersistenceEventListener +
AbstractGrailsHibernateDomainClass(Class, SessionFactory, String, GrailsApplication, ClassMetadata) - Constructor in AbstractGrailsHibernateDomainClass +
Contructor to be used by all child classes to create a new instance + and get the name right.
+
AbstractHibernateCriterionAdapter - Class in org.codehaus.groovy.grails.orm.hibernate.query +
@author Graeme Rocher
+
AbstractHibernateCriterionAdapter.CriterionAdaptor - Class in org.codehaus.groovy.grails.orm.hibernate.query
-
AbstractPersistentCollection - Class in org.grails.datastore.mapping.collection -
Abstract base class for persistent collections.
-
AbstractPersistentCollection(Serializable, Session, AssociationIndexer, Collection) - Constructor in AbstractPersistentCollection +
AbstractHibernateCriterionAdapter(PersistentEntity, Criterion, String) - Constructor in AbstractHibernateCriterionAdapter
-
AbstractPersistentEntity - Class in org.grails.datastore.mapping.model -
Abstract implementation to be subclasses on a per datastore basis
-
AbstractPersistentEntity(Class, MappingContext) - Constructor in AbstractPersistentEntity +
AbstractHibernateDatastore - Class in org.codehaus.groovy.grails.orm.hibernate +
Datastore implementation that uses a Hibernate SessionFactory underneath.
+
AbstractHibernateDatastore(MappingContext, SessionFactory, ConfigObject, ApplicationContext) - Constructor in AbstractHibernateDatastore
-
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 +
AbstractHibernateGormEnhancer - Class in org.codehaus.groovy.grails.orm.hibernate
-
AbstractQueryEvent - Class in org.grails.datastore.mapping.query.event -
Base class for query events.
-
AbstractQueryEvent(Query) - Constructor in AbstractQueryEvent +
AbstractHibernateGormEnhancer(AbstractHibernateDatastore, PlatformTransactionManager, GrailsApplication) - Constructor in AbstractHibernateGormEnhancer
-
AbstractSession - Class in org.grails.datastore.mapping.core -
Abstract implementation of the Session interface that uses - a list of Persister instances - to save, update and delete instances
-
AbstractSession(Datastore, MappingContext, ApplicationEventPublisher, TPCacheAdapterRepository, boolean) - Constructor in AbstractSession +
AbstractHibernateGormInstanceApi - Class in org.codehaus.groovy.grails.orm.hibernate
-
add(Object) - Method in AbstractPersistentCollection +
AbstractHibernateGormInstanceApi(Class, AbstractHibernateDatastore, ClassLoader) - Constructor in AbstractHibernateGormInstanceApi
-
add(int, Object) - Method in PersistentList +
AbstractHibernateGormValidationApi - Class in org.codehaus.groovy.grails.orm.hibernate
-
add(Object) - Method in PersistentList.PersistentListIterator +
AbstractHibernateGormValidationApi(Class, AbstractHibernateDatastore, ClassLoader) - Constructor in AbstractHibernateGormValidationApi
-
add(Query.Criterion) - Method in Query -
Adds the specified criterion instance to the query
-
add(Criterion) - Method in Query.Junction +
AbstractHibernateQuery - Class in org.codehaus.groovy.grails.orm.hibernate.query +
Bridges the Query API with the Hibernate Criteria API
+
AbstractHibernateQuery.CriteriaAndAlias - Class in org.codehaus.groovy.grails.orm.hibernate.query
-
add(Projection) - Method in Query.ProjectionList +
AbstractHibernateQuery.CriteriaAndAlias(Criteria, String) - Constructor in AbstractHibernateQuery.CriteriaAndAlias
-
addAll(Collection) - Method in AbstractPersistentCollection +
AbstractHibernateQuery.HibernateAssociationQuery - Class in org.codehaus.groovy.grails.orm.hibernate.query
-
addAll(int, Collection) - Method in PersistentList +
AbstractHibernateQuery.HibernateAssociationQuery(Criteria, AbstractHibernateSession, PersistentEntity, Association, String) - Constructor in AbstractHibernateQuery.HibernateAssociationQuery
-
addCascadeOperation(PendingOperation) - Method in PendingOperation -
Adds an operation that should be executed after this operation
-
addCascadeOperation(PendingOperation) - Method in PendingOperationAdapter +
AbstractHibernateQuery.HibernateJunction - Class in org.codehaus.groovy.grails.orm.hibernate.query
-
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 +
AbstractHibernateQuery.HibernateJunction(Junction, String) - Constructor in AbstractHibernateQuery.HibernateJunction
-
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. -
-
addMappingContextListener(Listener) - Method in AbstractMappingContext +
AbstractHibernateQuery.HibernateProjectionList - Class in org.codehaus.groovy.grails.orm.hibernate.query
-
addMappingContextListener(MappingContext.Listener) - Method in MappingContext -
Adds a new mapping context listener instance
-
addPendingInsert(PendingInsert) - Method in AbstractSession +
AbstractHibernateQuery(Criteria, AbstractHibernateSession, PersistentEntity, String) - Constructor in AbstractHibernateQuery
-
addPendingInsert(PendingInsert) - Method in SessionImplementor -
Adds a pending insert operation
-
addPendingUpdate(PendingUpdate) - Method in AbstractSession +
AbstractHibernateSession - Class in org.codehaus.groovy.grails.orm.hibernate +
Session implementation that wraps a Hibernate Session.
+
AbstractHibernateSession(AbstractHibernateDatastore, SessionFactory) - Constructor in AbstractHibernateSession
-
addPendingUpdate(PendingUpdate) - Method in SessionImplementor -
Adds a pending update operation
-
addPersistentEntities(Class) - Method in AbstractMappingContext +
add(Criterion) - Method in AbstractHibernateQuery
-
addPersistentEntities(Class) - Method in MappingContext -
Adds several PersistentEntity instances
-
addPersistentEntity(Class) - Method in AbstractMappingContext -
Adds a PersistentEntity instance
-
addPersistentEntity(Class, boolean) - Method in MappingContext -
Adds a PersistentEntity instance
-
addPostFlushOperation(Runnable) - Method in AbstractSession +
add(Criterion) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
addPostFlushOperation(Runnable) - Method in SessionImplementor -
Adds an operation to be executed after a flush
-
addPreOperation(PendingOperation) - Method in PendingOperation -
Adds an operation to executed prior to other operations
-
addPreOperation(PendingOperation) - Method in PendingOperationAdapter +
add(Criterion) - Method in AbstractHibernateQuery.HibernateJunction
-
addSession(Session) - Method in SessionHolder +
add(Projection) - Method in AbstractHibernateQuery.HibernateProjectionList
-
addTypeConverter(Converter) - Method in AbstractMappingContext +
addCriterionAdaptor(Class, String, Class) - Method in AbstractHibernateCriterionAdapter
-
addTypeConverter(Converter) - Method in MappingContext -
Add a converter used to convert property values to and from the datastore
-
afterCommit() - Method in SpringSessionSynchronization +
addDomainClass(GrailsDomainClass) - Method in GrailsDomainConfiguration +
Adds a domain class to the configuration.
+
addJunctionCriterionAdaptor(Class, String) - Method in AbstractHibernateCriterionAdapter
-
afterCompletion(int) - Method in SpringSessionSynchronization +
addPropertyComparisonCriterionAdaptor(Class, String) - Method in AbstractHibernateCriterionAdapter
-
allEq(Map) - Method in Query -
Shortcut to restrict the query to multiple given property values
-
and(Query.Criterion, Query.Criterion) - Method in Query -
Creates a conjunction using two specified criterion
-
and(Criterion, Criterion) - Method in Restrictions +
addPropertyCriterionAdaptor(Class, String) - Method in AbstractHibernateCriterionAdapter +
utility methods to group and clean up the initialization of the Criterion Adapters*
+
addPropertyLikeCriterionAdaptor(Class, String) - Method in AbstractHibernateCriterionAdapter
-
AnnotationKeyValueMappingFactory - Class in org.grails.datastore.mapping.keyvalue.mapping.config -
Uses annotations to configure entity mappies
-
AnnotationKeyValueMappingFactory(String) - Constructor in AnnotationKeyValueMappingFactory +
addPropertyNameCriterionAdaptor(Class, String) - Method in AbstractHibernateCriterionAdapter
-
appendCriteriaForOperator(StringBuilder, String, String, int, String, boolean) - Method in JpaQueryBuilder +
addPropertySizeCriterionAdaptor(Class, String) - Method in AbstractHibernateCriterionAdapter
-
appendOrder(StringBuilder, String) - Method in JpaQueryBuilder +
addToCriteria(Criterion) - Method in AbstractHibernateQuery
-
applyOrder(List, Order) - Method in ManualEntityOrdering +
addToCriteria(Criterion) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
areAssociationsDirty(Session, PersistentEntity, Object) - Method in DirtyCheckingSupport -
Checks whether associations are dirty
-
areCollectionsEqual(Object, Object) - Method in NativeEntryEntityPersister +
addUnderscore(String, String) - Method in AbstractGrailsDomainBinder
-
areEqual(Object, Object, String) - Method in NativeEntryEntityPersister +
afterPropertiesSet() - Method in SpringLobHandlerDetectorFactoryBean
-
asc(String) - Method in Query.Order +
alias - Field in AbstractHibernateCriterionAdapter
-
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 +
alias - Field in AbstractHibernateQuery
-
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.
-
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 +
alias - Field in AbstractHibernateQuery.CriteriaAndAlias
-
associations - Field in AbstractPersistentEntity +
alias - Field in AbstractHibernateQuery.HibernateAssociationQuery
-
attach(Object) - Method in AbstractSession +
alias - Field in AbstractHibernateQuery.HibernateJunction
-
attach(Object) - Method in Session -
Attaches an object the current session
-
Attribute - Class in org.grails.datastore.mapping.document.config -
Configures how a Java property maps to a Document attribute
-
attributes - Field in AbstractAttributeStoringSession +
aliasCount - Field in AbstractHibernateQuery
-
avg(String) - Method in ProjectionList -
Computes the average value of a property
-
avg(String) - Method in Projections -
Computes the average value of a property
-
avg(String) - Method in Query.ProjectionList -
Computes the average value of a property
-
- - - -
-

-B

- -
- -
Basic - Class in org.grails.datastore.mapping.model.types -
Models a basic collection type such as a list of Strings
-
Basic(PersistentEntity, MappingContext, String, Class) - Constructor in Basic +
aliasInstanceStack - Field in AbstractHibernateQuery +
+
aliasStack - Field in AbstractHibernateQuery +
+
allEq(Map) - Method in AbstractHibernateQuery +
+
allEq(Map) - Method in AbstractHibernateQuery.HibernateAssociationQuery +
+
and(Criterion, Criterion) - Method in AbstractHibernateQuery
-
BasicTypeConverterRegistrar - Class in org.grails.datastore.mapping.model.types -
A registrar that registers basic type converters
-
beanWrapper - Field in EntityAccess +
and(Criterion, Criterion) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
beforeCommit(boolean) - Method in SpringSessionSynchronization +
application - Field in AbstractGrailsHibernateDomainClass
-
beforeCompletion() - Method in SpringSessionSynchronization +
applicationContext - Field in AbstractAggregatePersistenceContextInterceptor
-
beforeInsert(PersistentEntity, EntityAccess) - Method in ValidatingEventListener +
applyFetchStrategies() - Method in AbstractHibernateQuery
-
beforeUpdate(PersistentEntity, EntityAccess) - Method in ValidatingEventListener +
applySubCriteriaToJunction(PersistentEntity, AbstractHibernateQuery, List, Junction, String) - Method in AbstractHibernateCriterionAdapter
-
beginTransaction() - Method in AbstractSession +
assocationCriteria - Field in AbstractHibernateQuery.HibernateAssociationQuery
-
beginTransaction() - Method in Session -
Starts a transaction
-
beginTransactionInternal() - Method in AbstractSession +
association - Field in GrailsHibernateDomainClassProperty
-
BELONGS_TO - Field in GormProperties +
associationStack - Field in AbstractHibernateQuery
-
between(String, Object, Object) - Method in Criteria -
Restricts the results by the given property value range (inclusive)
-
between(String, Object, Object) - Method in Query -
Restricts the results by the given property value range
-
between(String, Object, Object) - Method in Restrictions -
Restricts the results by the given property value range
-
bindNewSession(Session) - Method in DatastoreUtils +
attach(Object) - Method in AbstractHibernateSession +
+
attemptResolveType() - Method in GrailsHibernateDomainClassProperty +
+
autoImport(boolean) - Method in HibernateMappingBuilder +
+
autoTimestamp(boolean) - Method in HibernateMappingBuilder +
Set whether auto time stamping should occur for last_updated and date_created columns
+
avg(String) - Method in AbstractHibernateQuery.HibernateProjectionList
-
bindSession(Session) - Method in DatastoreUtils -
Bind the session to the thread with a SessionHolder keyed by its Datastore.
-
buildDelete() - Method in JpaQueryBuilder -
Builds a DELETE statement
-
buildSelect() - Method in JpaQueryBuilder -
Builds SELECT statement
-
buildUpdate(Map) - Method in JpaQueryBuilder -
Builds an UPDATE statement.

-

-C

+

+B

-
cache(boolean) - Method in Query -
Specifies whether the query results should be cached (if supported by the underlying datastore)
-
cacheAdapterRepository - Field in AbstractDatastore -
-
cacheAdapterRepository - Field in AbstractSession +
BACKTICK - Field in AbstractGrailsDomainBinder
-
cacheAdapterRepository - Field in NativeEntryEntityPersister +
BAG - Field in CollectionType
-
cacheCollection(PersistentEntity, Serializable, Collection, String) - Method in AbstractSession +
batchSize(Integer) - Method in HibernateMappingBuilder +
Configures the batch-size used for lazy loading
+
BEAN_ID - Field in SessionFactoryHolder
-
cacheCollection(PersistentEntity, Serializable, Collection, String) - Method in SessionImplementor -
Caches a collection
-
cacheEntry(Serializable, Object, Map, boolean) - Method in AbstractSession +
beginTransaction() - Method in AbstractHibernateSession
-
cacheEntry(Serializable, Object) - Method in HashMapTPCacheAdapter -
-
cacheEntry(PersistentEntity, Serializable, Object) - Method in SessionImplementor -
Caches a native entry
-
cacheEntry(Serializable, Object) - 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 +
between(String, Object, Object) - Method in AbstractHibernateQuery
-
cacheInstance(Class, Serializable, Object) - Method in AbstractSession +
between(String, Object, Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
cacheInstance(Class, Serializable, Object) - Method in SessionImplementor -
Caches an instance
-
cacheNativeEntry(PersistentEntity, Serializable, Object) - Method in NativeEntryEntityPersister +
bidirectional - Field in GrailsHibernateDomainClassProperty
-
cacheObject(Serializable, Object) - Method in AbstractSession +
bindClass(GrailsDomainClass, PersistentClass, Mappings) - Method in AbstractGrailsDomainBinder +
Binds a root class (one with no super classes) to the runtime meta model + based on the supplied Grails domain class
+
bindCollection(GrailsDomainClassProperty, Collection, PersistentClass, Mappings, String, String) - Method in AbstractGrailsDomainBinder
-
cancel() - Method in AbstractPersistenceEvent +
bindCollectionForPropertyConfig(Collection, PropertyConfig) - Method in AbstractGrailsDomainBinder
-
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 +
bindCollectionSecondPass(GrailsDomainClassProperty, Mappings, Map, Collection, String) - Method in AbstractGrailsDomainBinder
-
capitalize(String) - Method in NameUtils -
Converts a property name to class name according to the JavaBean convention
-
cascadeAfterDelete(PersistentEntity, EntityAccess, Object, Object) - Method in NativeEntryEntityPersister -
Delete many-to-ones after owner delete.
-
cascadeBeforeDelete(PersistentEntity, EntityAccess, Object, Object) - Method in NativeEntryEntityPersister -
Delete collections before owner delete.
-
cascadeDeleteCollection(EntityAccess, Association) - Method in NativeEntryEntityPersister +
bindCollectionTable(GrailsDomainClassProperty, Mappings, Collection, Table, String) - Method in AbstractGrailsDomainBinder
-
checkCollectionElements() - Method in AbstractPersistentCollection +
bindCollectionWithJoinTable(GrailsDomainClassProperty, Mappings, Collection, PropertyConfig, String) - Method in AbstractGrailsDomainBinder
-
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 +
bindColumn(GrailsDomainClassProperty, GrailsDomainClassProperty, Column, ColumnConfig, String, Table, String) - Method in AbstractGrailsDomainBinder
-
ClassPropertyFetcher - Class in org.grails.datastore.mapping.reflect -
Reads the properties of a class in an optimized manner avoiding exceptions.
-
ClassPropertyFetcher.FieldReaderFetcher(Field, boolean) - Constructor in ClassPropertyFetcher.FieldReaderFetcher +
bindColumnConfigToColumn(Column, ColumnConfig) - Method in AbstractGrailsDomainBinder
-
ClassPropertyFetcher.ReferenceInstanceCallback - Interface in org.grails.datastore.mapping.reflect +
bindComponent(Component, GrailsDomainClassProperty, boolean, Mappings, String) - Method in AbstractGrailsDomainBinder
-
clear() - Method in AbstractPersistentCollection +
bindComponentProperty(Component, GrailsDomainClassProperty, GrailsDomainClassProperty, PersistentClass, String, Table, Mappings, String) - Method in AbstractGrailsDomainBinder
-
clear(Object) - Method in AbstractSession +
bindCompositeId(GrailsDomainClass, RootClass, CompositeIdentity, Mappings, String) - Method in AbstractGrailsDomainBinder +
Creates and binds the properties for the specified Grails domain class and PersistentClass + and binds them to the Hibernate runtime meta model
+
bindCompositeIdentifierToManyToOne(GrailsDomainClassProperty, SimpleValue, CompositeIdentity, GrailsDomainClass, String, String) - Method in AbstractGrailsDomainBinder
-
clear(Object) - Method in Session -
Clear a specific object
-
clearCache() - Method in ClassPropertyFetcher +
bindDependentKeyValue(GrailsDomainClassProperty, DependantValue, Mappings, String) - Method in AbstractGrailsDomainBinder
-
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 +
bindDiscriminatorProperty(Table, RootClass, Mappings) - Method in AbstractGrailsDomainBinder
-
clone() - Method in Query +
bindEnumType(GrailsDomainClassProperty, Class, SimpleValue, String) - Method in AbstractGrailsDomainBinder
-
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.
-
Collection - Class in org.grails.datastore.mapping.document.config -
Configures how an entity is mapped onto a Document collection
-
collection - Field in AbstractPersistentCollection +
binder - Field in CollectionType
-
ColumnDatastore - Interface in org.grails.datastore.mapping.column -
@author Guillaume Laforge
-
commit() - Method in SessionOnlyTransaction +
bindIdentity(GrailsDomainClass, RootClass, Mappings, Mapping, String) - Method in AbstractGrailsDomainBinder
-
commit() - Method in Transaction -
Commit the transaction.
-
comparator() - Method in PersistentSortedSet +
bindIndex(String, Column, ColumnConfig, Table) - Method in AbstractGrailsDomainBinder
-
ConfigUtils - Class in org.grails.datastore.mapping.config.utils -
Used to ease reading of configuration.
-
conjunction() - Method in Query -
Creates a disjunction (OR) query
-
connect(Map) - Method in AbstractDatastore +
bindJoinedSubClass(GrailsDomainClass, JoinedSubclass, Mappings, Mapping, String) - Method in AbstractGrailsDomainBinder
-
connect() - Method in Datastore -
Connects to the datastore with the default connection details, normally provided via the datastore implementations constructor
-
connectionDetails - Field in AbstractDatastore +
bindListSecondPass(GrailsDomainClassProperty, Mappings, Map, List, String) - Method in AbstractGrailsDomainBinder
-
ConnectionNotFoundException - Class in org.grails.datastore.mapping.core -
Thrown when a session cannot be located.
-
ConnectionNotFoundException(String) - Constructor in ConnectionNotFoundException +
bindManyToMany(GrailsDomainClassProperty, ManyToOne, Mappings, String) - Method in AbstractGrailsDomainBinder
-
connectStateless() - Method in AbstractDatastore +
bindManyToOne(GrailsDomainClassProperty, ManyToOne, String, Mappings, String) - Method in AbstractGrailsDomainBinder
-
connectStateless() - Method in StatelessDatastore -
Connect and return a stateless session
-
CONSTRAINTS - Field in GormProperties +
bindManyToOneValues(GrailsDomainClassProperty, ManyToOne) - Method in AbstractGrailsDomainBinder
-
contains(Object) - Method in AbstractPersistentCollection +
bindMapSecondPass(GrailsDomainClassProperty, Mappings, Map, Map, String) - Method in AbstractGrailsDomainBinder
-
contains(Object) - Method in AbstractSession +
bindNaturalIdentifier(Table, Mapping, PersistentClass) - Method in AbstractGrailsDomainBinder
-
contains(Object) - Method in Session -
Whether the object is contained within the first level cache
-
containsAll(Collection) - Method in AbstractPersistentCollection +
bindNumericColumnConstraints(Column, ConstrainedProperty) - Method in AbstractGrailsDomainBinder
-
containsSession(Session) - Method in SessionHolder +
bindOneToMany(GrailsDomainClassProperty, OneToMany, Mappings) - Method in AbstractGrailsDomainBinder
-
context - Field in AbstractClassMapping +
bindOneToOne(GrailsDomainClassProperty, OneToOne, String, String) - Method in AbstractGrailsDomainBinder
-
context - Field in AbstractPersistentEntity +
bindProperty(GrailsDomainClassProperty, Property, Mappings) - Method in AbstractGrailsDomainBinder
-
context - Field in AbstractPersistentProperty +
bindRoot(GrailsDomainClass, Mappings, String) - Method in AbstractGrailsDomainBinder
-
conversionService - Field in AbstractMappingContext +
bindRootPersistentClassCommonValues(GrailsDomainClass, RootClass, Mappings, String) - Method in AbstractGrailsDomainBinder
-
convert(Object, TypeDescriptor, TypeDescriptor) - Method in DefaultConversionService +
bindSimpleId(GrailsDomainClassProperty, RootClass, Mappings, Identity, String) - Method in AbstractGrailsDomainBinder
-
convert(Double) - Method in DoubleToFloatConverter +
bindSimpleValue(String, SimpleValue, boolean, String, Mappings) - Method in AbstractGrailsDomainBinder
-
convert(int[]) - Method in IntArrayToIntegerArrayConverter +
bindStringColumnConstraints(Column, ConstrainedProperty) - Method in AbstractGrailsDomainBinder +
@return the maximum length of the strings in the specified list
+
bindSubClass(GrailsDomainClass, Subclass, Mappings, String) - Method in AbstractGrailsDomainBinder
-
convert(Integer) - Method in IntegerToByteConverter +
bindSubClasses(GrailsDomainClass, PersistentClass, Mappings, String) - Method in AbstractGrailsDomainBinder +
Binds a sub class.
+
bindUnidirectionalOneToMany(GrailsDomainClassProperty, Mappings, Collection) - Method in AbstractGrailsDomainBinder +
Binds a unidirectional one-to-many creating a psuedo back reference property in the process.
+
bindUnidirectionalOneToManyInverseValues(GrailsDomainClassProperty, ManyToOne) - Method in AbstractGrailsDomainBinder
-
convert(Integer) - Method in IntegerToShortConverter +
bindUnionSubclass(GrailsDomainClass, UnionSubclass, Mappings, String) - Method in AbstractGrailsDomainBinder
-
convert(long[]) - Method in LongArrayToLongArrayConverter +
bindVersion(GrailsDomainClassProperty, RootClass, Mappings, String) - Method in AbstractGrailsDomainBinder
-
convert(String) - Method in StringToBigDecimalConverter +
buildDiscriminatorSet(GrailsDomainClass) - Method in AbstractGrailsDomainBinder
-
convert(String) - Method in StringToBigIntegerConverter +
buildOrderByClause(String, PersistentClass, String, String) - Method in AbstractGrailsDomainBinder
-
convert(String) - Method in StringToCurrencyConverter -
-
convert(String) - Method in StringToLocaleConverter +
+ + + +
+

+C

+ +
+ +
cache(boolean) - Method in HibernateMappingBuilder
-
convert(String) - Method in StringToShortConverter +
CacheConfig - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
Defines the cache configuration.
+
cachedShouldTrigger - Field in AbstractEventTriggeringInterceptor
-
convert(String) - Method in StringToTimeZoneConverter +
cacheQueriesByDefault - Field in AbstractHibernateGormInstanceApi
-
convert(String) - Method in StringToURLConverter +
calculatePropertyName(String, String) - Method in AbstractHibernateCriterionAdapter
-
convertBasicEntryValue(PersistentEntity, PersistentProperty, Object) - Method in NativeEntryEntityPersister -
Convert a Basic (collection-style) property native entry value taken from an entity into the target property - type.
-
convertToNativeKey(Serializable) - Method in NativeEntryEntityPersister -
Subclasses should override to provide any conversion necessary to convert to a nativeKey
-
COUNT_PROJECTION - Field in Projections +
calculatePropertyName(String) - Method in AbstractHibernateQuery
-
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 +
calculateTableForMany(GrailsDomainClassProperty, String) - Method in AbstractGrailsDomainBinder
-
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 +
call(Object) - Method in NamedCriteriaProxy
-
create() - Method in AbstractMappingContext.DefaultProxyFactoryCreator +
callRestrictionsMethod(String, Class, Object) - Method in AbstractHibernateCriterionAdapter +
utility method that generically returns a criterion using methods in Restrictions
+
canBindOneToOneWithSingleColumnAndForeignKey(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
createBasicCollection(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory -
Creates a Basic collection type
-
createConcreteCollection(Class) - Method in MappingUtils -
Creates a concrete collection for the supplied interface
-
createCustom(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory -
Creates a custom prpoerty type
-
createDefaultIdentityMapping(ClassMapping) - Method in MappingFactory +
CASCADE_ALL - Field in AbstractGrailsDomainBinder
-
createDocumentMappingFactory(Closure) - Method in DocumentMappingContext +
CASCADE_ALL_DELETE_ORPHAN - Field in AbstractGrailsDomainBinder
-
createEmbedded(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory -
Creates an Embedded type used to model an embedded association (composition)
-
createEmbeddedCollection(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory -
Creates an EmbeddedCollection type used to model an embedded collection association (composition).
-
createEmbeddedEntity(Class) - Method in AbstractMappingContext +
CASCADE_NONE - Field in AbstractGrailsDomainBinder
-
createEmbeddedEntity(Class) - Method in MappingContext +
CASCADE_SAVE_UPDATE - Field in AbstractGrailsDomainBinder
-
createEntityAccess(PersistentEntity, Object) - Method in EntityPersister +
checkHasSingleColumn() - Method in PropertyConfig
-
createEntityAccess(PersistentEntity, Object, Object) - Method in NativeEntryEntityPersister +
classLoader - Field in AbstractHibernateGormEnhancer
-
createIdentity(PersistentEntity, MappingContext, PropertyDescriptor) - Method in MappingFactory -
Creates an identifier property
-
createIdentityMapping(ClassMapping) - Method in AbstractGormMappingFactory +
classLoader - Field in AbstractHibernateGormInstanceApi
-
createIdentityMapping(ClassMapping) - Method in MappingFactory +
classLoader - Field in AbstractHibernateGormValidationApi
-
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 +
clazz - Field in CollectionType
-
createMappedForm(PersistentProperty) - Method in AnnotationKeyValueMappingFactory +
clear() - Method in AbstractAggregatePersistenceContextInterceptor
-
createMappedForm(PersistentProperty) - Method in GormKeyValueMappingFactory +
clear(Object) - Method in AbstractHibernateSession
-
createMappedForm(PersistentProperty) - Method in KeyValueMappingFactory +
clear() - Method in IHibernateTemplate
-
createMappedForm(PersistentProperty) - Method in MappingFactory -
Creates the mapped form of a PersistentProperty instance
-
createNewEntry(String) - Method in NativeEntryEntityPersister +
clearMappingCache(Class) - Method in AbstractGrailsDomainBinder
-
createObjectFromEmbeddedNativeEntry(PersistentEntity, Object) - Method in NativeEntryEntityPersister +
collection - Field in AbstractGrailsDomainBinder.GrailsCollectionSecondPass
-
createObjectFromNativeEntry(PersistentEntity, Serializable, Object) - Method in NativeEntryEntityPersister +
CollectionType(Class, AbstractGrailsDomainBinder) - Constructor in CollectionType
-
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) - Method in AbstractMappingContext +
collectionTypeForClass(Class) - Method in CollectionType
-
createPersistentEntity(Class) - Method in DocumentMappingContext +
column(Map) - Method in PropertyDefinitionDelegate
-
createPersistentEntity(Class) - Method in KeyValueMappingContext +
ColumnConfig - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
Defines a column within the mapping.
+
columnName - Field in GrailsHibernateDomainClassProperty
-
createPersister(Class, MappingContext) - Method in AbstractSession +
columns(Value) - Method in AbstractGrailsDomainBinder.GrailsCollectionSecondPass
-
createPropertyMapping(PersistentProperty, PersistentEntity) - Method in MappingFactory +
columns(Closure) - Method in HibernateMappingBuilder
-
createProxiedInstance(Session, Class, Class, Serializable) - Method in JavassistProxyFactory +
comment(String) - Method in HibernateMappingBuilder
-
createProxy(Session, Class, Serializable) - Method in JavassistProxyFactory +
CompositeIdentity - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
Represents a composite identity, equivalent to Hibernate mapping.
+
config - Field in AbstractHibernateDatastore
-
createProxy(Session, Class, Serializable) - Method in ProxyFactory -
Creates a proxy
-
createQuery(Class) - Method in AbstractSession +
configureDerivedProperties(GrailsDomainClass, Mapping) - Method in AbstractGrailsDomainBinder
-
createQuery() - Method in Persister -
Creates a query for the entity
-
createQuery(String) - Method in Query -
Creates an association query
-
createQuery(Class) - Method in Session -
Creates a query instance for the give type
-
createSession(Map) - 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(Map) - Method in AbstractDatastore -
Creates the native stateless session
-
Criteria - Interface in org.grails.datastore.mapping.query.api -
Interface for the implementations that construct of criteria queries.
-
criteria - Field in Query +
configureNamingStrategy(String, Object) - Method in AbstractGrailsDomainBinder +
Override the default naming strategy given a Class or a full class name, + or an instance of a NamingStrategy.
+
connected - Field in AbstractHibernateSession
-
currentTransaction(Datastore) - Method in TransactionUtils +
constraints - Field in AbstractGrailsHibernateDomainClass
-
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 +
contains(Object) - Method in AbstractHibernateSession
-
CustomTypeMarshaller - Interface in org.grails.datastore.mapping.engine.types -
Interface for defining custom datastore types beyond the simple and association - types supported out of the box.
-
- - - -
-

-D

- -
- -
Datastore - Interface in org.grails.datastore.mapping.core -
The Datastore interface is the basic commom denominator all NoSQL databases should support: -
    -
  • Storing data
  • -
  • Retrieving one or more elements at a time, identified by their keys
  • -
  • Deleting one or more elements
  • -
-
datastore - Field in AbstractPersistenceEventListener +
contains(Object) - Method in IHibernateTemplate
-
DatastoreAware - Interface in org.grails.datastore.mapping.core -
An interface for classes to implement that want access to the Datastore
-
DatastoreConfigurationException - Class in org.grails.datastore.mapping.model -
Exception thrown when something goes wrong configuring a datastore.
-
DatastoreConfigurationException(String, Throwable) - Constructor in DatastoreConfigurationException +
conversionService - Field in AbstractHibernateQuery
-
DatastoreException - Class in org.grails.datastore.mapping.core -
General exception for errors related to the configuration - of the Datastore
-
DatastoreException(String, Throwable) - Constructor in DatastoreException +
conversionService - Field in HibernateNamedQueriesBuilder
-
DatastoreTransactionManager - Class in org.grails.datastore.mapping.transactions -
A org.springframework.transaction.PlatformTransactionManager instance that - works with the Spring datastore abstraction
-
DatastoreUtils - Class in org.grails.datastore.mapping.core -
Helper class for obtaining Datastore sessions.
-
DATE_CREATED - Field in GormProperties +
conversionService - Field in NamedCriteriaProxy
-
decapitalize(String) - Method in NameUtils -
Converts class name to property name using JavaBean decaplization
-
DEFAULT_CHILD_CASCADE - Field in Association +
convertStringValue(Object) - Method in AbstractHibernateCriterionAdapter.CriterionAdaptor
-
DEFAULT_ORDER - Field in PersistenceEventListener +
CouldNotDetermineHibernateDialectException - Class in org.codehaus.groovy.grails.orm.hibernate.exceptions +
Thrown when no Hibernate dialect could be found for a database name.
+
CouldNotDetermineHibernateDialectException(Throwable) - Constructor in CouldNotDetermineHibernateDialectException
-
DEFAULT_OWNER_CASCADE - Field in Association +
count() - Method in AbstractHibernateQuery.HibernateProjectionList
-
DEFAULT_TIMEOUT - Field in LockableEntityPersister +
count(Closure) - Method in NamedCriteriaProxy
-
DefaultConversionService - Class in org.grails.datastore.mapping.model.types.conversion -
Default conversion service th
-
DefaultConversionService() - Constructor in DefaultConversionService +
countDigits(Number) - Method in AbstractGrailsDomainBinder +
A Collection type, for the moment only Set is supported
+
countDistinct(String) - Method in AbstractHibernateQuery.HibernateProjectionList
-
DefaultMappingConfigurationStrategy - Class in org.grails.datastore.mapping.model.config -
@author Graeme Rocher
-
DefaultMappingConfigurationStrategy(MappingFactory) - Constructor in DefaultMappingConfigurationStrategy +
create(GrailsDomainClassProperty, PersistentClass, String, Mappings, String) - Method in CollectionType
-
deindex(Object, Object) - Method in PropertyValueIndexer -
Removes the index for the given value and key
-
delete(Iterable) - Method in AbstractSession +
createClassProperties(GrailsDomainClass, PersistentClass, Mappings, String) - Method in AbstractGrailsDomainBinder
-
DELETE_CLAUSE - Field in JpaQueryBuilder +
createCollectionKeys() - Method in AbstractGrailsDomainBinder.GrailsCollectionSecondPass
-
delete(Object) - Method in EntityPersister +
createdAssociationPaths - Field in AbstractHibernateQuery
-
delete(Object) - Method in Persister -
Deletes a single object
-
delete(Object) - Method in Session -
Deletes a single object
-
deleteAll(QueryableCriteria) - Method in AbstractSession -
This default implementation of the deleteAll method is unlikely to be optimal as it iterates and deletes each object.
-
deleteAll(QueryableCriteria) - Method in Session -
Deletes all objects matching the given criteria
-
deleteEntities(PersistentEntity, Iterable) - Method in EntityPersister +
createHibernateCriterionAdapter(PersistentEntity, Criterion, String) - Method in AbstractHibernateQuery
-
deleteEntities(PersistentEntity, Iterable) - Method in NativeEntryEntityPersister +
createInstances() - Method in CollectionType
-
deleteEntity(PersistentEntity, Object) - Method in EntityPersister +
createKeyForProps(GrailsDomainClassProperty, String, Table, String, List, String) - Method in AbstractGrailsDomainBinder
-
deleteEntity(PersistentEntity, Object) - Method in NativeEntryEntityPersister +
createPrimaryKeyValue(Mappings, GrailsDomainClassProperty, Collection, Map) - Method in AbstractGrailsDomainBinder
-
deleteEntries(String, List) - Method in NativeEntryEntityPersister +
createProperty(Value, PersistentClass, GrailsDomainClassProperty, Mappings) - Method in AbstractGrailsDomainBinder
-
deleteEntry(String, Object, Object) - Method in NativeEntryEntityPersister -
Deletes a single entry
-
desc(String) - Method in Query.Order +
createQuery(String) - Method in AbstractHibernateQuery
-
destroy() - Method in AbstractDatastore +
createRlikeExpression(String, String) - Method in AbstractHibernateCriterionAdapter
-
DirtyCheckable - Interface in org.grails.datastore.mapping.dirty.checking -
Interface to classes that are able to track changes to their internal state.
-
DirtyCheckingSupport - Class in org.grails.datastore.mapping.dirty.checking -
Support methods for dirty checking
-
disconnect() - Method in AbstractAttributeStoringSession -
Performs clear up.
-
disconnect() - Method in Session -
Disconnects from the datastore.
-
discriminatePersistentEntity(PersistentEntity, Object) - Method in NativeEntryEntityPersister +
createRlikeExpression(String, String) - Method in AbstractHibernateQuery
-
disjunction() - Method in Query -
Creates a disjunction (OR) query
-
distinct(Collection, String) - Method in ManualProjections +
createUniqueKeyForColumns(Table, String, List) - Method in AbstractGrailsDomainBinder
-
distinct(String) - Method in ProjectionList -
Projection to return only distinct properties
-
distinct(String) - Method in Projections -
Projection that signifies to return only distinct results
-
distinct(String) - Method in Query.ProjectionList +
criteria - Field in AbstractHibernateQuery
-
doBegin(Object, TransactionDefinition) - Method in DatastoreTransactionManager +
criteria - Field in AbstractHibernateQuery.CriteriaAndAlias
-
doCleanupAfterCompletion(Object) - Method in DatastoreTransactionManager +
criteriaClosure - Field in NamedCriteriaProxy
-
doCommit(DefaultTransactionStatus) - Method in DatastoreTransactionManager +
criterion - Field in AbstractHibernateCriterionAdapter
-
DocumentDatastore - Interface in org.grails.datastore.mapping.document -
@author Guillaume Laforge
-
DocumentMappingContext - Class in org.grails.datastore.mapping.document.config -
Models a MappingContext for a Document store.
-
DocumentMappingContext(String, Closure) - Constructor in DocumentMappingContext +
criterionAdaptors - Field in AbstractHibernateCriterionAdapter
-
DocumentPersistentEntity - Class in org.grails.datastore.mapping.document.config +
CT - Field in AbstractGrailsDomainBinder
-
DocumentPersistentEntity.DocumentCollectionMapping - Class in org.grails.datastore.mapping.document.config -
-
DocumentPersistentEntity.DocumentCollectionMapping(PersistentEntity, MappingContext) - Constructor in DocumentPersistentEntity.DocumentCollectionMapping -
-
DocumentPersistentEntity(Class, MappingContext) - Constructor in DocumentPersistentEntity -
-
doesCascade(CascadeType) - Method in Association -
Returns true if the this association cascade for the given cascade operation
-
doesNotHoldNonDefaultSession() - Method in SessionHolder -
-
doesRequirePropertyIndexing() - Method in NativeEntryEntityPersister -
Subclasses should override to optimize away manual property indexing if it is not required
-
doGetSession(Datastore, boolean) - Method in DatastoreUtils -
Get a Datastore Session for the given Datastore.
-
doGetTransaction() - Method in DatastoreTransactionManager -
-
doInSession(Session) - Method in SessionCallback -
-
doInSession(Session) - Method in VoidSessionCallback -
-
doManualDirtyCheck(Object, Object) - Method in NativeEntryEntityPersister -
-
doRollback(DefaultTransactionStatus) - Method in DatastoreTransactionManager -
-
DoubleToFloatConverter - Class in org.grails.datastore.mapping.model.types.conversion -
@author Stefan Armbruster
-
doWithSession(Datastore, Closure) - Method in DatastoreUtils -
Execute the closure in the current session if it exists, or create a new one and close it otherwise.

-

-E

+

+D

-
Embedded - Class in org.grails.datastore.mapping.model.types -
Models an embedded component
-
Embedded(PersistentEntity, MappingContext, String, Class) - Constructor in Embedded +
datasource(String) - Method in HibernateMappingBuilder
-
EMBEDDED - Field in GormProperties +
dataSourceNames - Field in AbstractAggregatePersistenceContextInterceptor
-
EmbeddedCollection - Class in org.grails.datastore.mapping.model.types -
Models an embedded collection.
-
EmbeddedCollection(PersistentEntity, MappingContext, PropertyDescriptor) - Constructor in EmbeddedCollection +
datasources(List) - Method in HibernateMappingBuilder
-
EmbeddedPersistentEntity - Class in org.grails.datastore.mapping.model -
Models an embedded entity
-
EmbeddedPersistentEntity(Class, MappingContext) - Constructor in EmbeddedPersistentEntity +
datastore - Field in AbstractHibernateSession
-
Entity - Class in org.grails.datastore.mapping.config -
Base class for classes returned from ClassMapping.getMappedForm
-
entity - Field in AbstractClassMapping +
DEFAULT_ENUM_TYPE - Field in AbstractGrailsDomainBinder
-
entity - Field in EntityAccess +
delete(Object) - Method in AbstractHibernateSession
-
entity - Field in PendingOperationAdapter +
delete(Object) - Method in IHibernateTemplate
-
entity - Field in Query +
deleteAll(Collection) - Method in IHibernateTemplate
-
EntityAccess - Class in org.grails.datastore.mapping.engine -
Class used to access properties of an entity.
-
EntityAccess(PersistentEntity, Object) - Constructor in EntityAccess +
destroy() - Method in AbstractAggregatePersistenceContextInterceptor
-
EntityCreationException - Class in org.grails.datastore.mapping.core -
Thrown when there was an error creating an entity.
-
EntityCreationException(String, Throwable) - Constructor in EntityCreationException +
disconnect() - Method in AbstractAggregatePersistenceContextInterceptor
-
entityFamily - Field in AbstractKeyValueEntityPersister +
disconnect() - Method in AbstractHibernateSession
-
EntityPersister - Class in org.grails.datastore.mapping.engine -
A Persister specifically for persisting PersistentEntity instances.
-
EntityPersister(MappingContext, PersistentEntity, Session, ApplicationEventPublisher) - Constructor in EntityPersister +
discriminator(Map) - Method in HibernateMappingBuilder
-
EntityProxy - Interface in org.grails.datastore.mapping.proxy -
@author Graeme Rocher
-
entityToPropertyMap - Field in AbstractGormMappingFactory +
disjunction() - Method in AbstractHibernateQuery
-
entityValidators - Field in AbstractMappingContext +
disjunction() - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
eq(String, Object) - Method in Criteria -
Creates an "equals" Criterion based on the specified property name and value.
-
eq(String, Object) - Method in Query -
Restricts the results by the given properties value
-
eq(String, Object) - Method in Restrictions -
Restricts the property to be equal to the given value
-
eqAll(String, QueryableCriteria) - Method in Criteria -
Creates a subquery criterion that ensures the given property is equal to all the given returned values
-
eqProperty(String, String) - Method in Criteria -
Constraints a property to be equal to a specified other property
-
eqProperty(String, String) - Method in Restrictions -
Constraints a property to be equal to a specified other property
-
equals(Object) - Method in AbstractPersistentCollection +
distinct() - Method in AbstractHibernateQuery.HibernateProjectionList
-
equals(Object) - Method in AbstractPersistentEntity +
domainClass - Field in GrailsHibernateDomainClassProperty
-
equals(Object) - Method in AbstractSession.CollectionKey +
domainClass - Field in HibernateNamedQueriesBuilder
-
evaluate(Closure) - Method in MappingConfigurationBuilder +
domainClass - Field in NamedCriteriaProxy
-
eventListeners - Field in AbstractMappingContext +
doSecondPass(Map) - Method in AbstractGrailsDomainBinder.GrailsCollectionSecondPass
-
EventType - Enum in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
execute(Datastore, VoidSessionCallback) - Method in DatastoreUtils -
Execute the callback in the current session if it exists, or create a new one and close it otherwise.
-
executeInsert(PersistentEntity, NativeEntryEntityPersister.NativeEntryModifyingEntityAccess, Object, Object) - Method in NativeEntryEntityPersister +
doSecondPass(Map) - Method in AbstractGrailsDomainBinder.ListSecondPass
-
executePendingOperation(PendingOperation) - Method in PendingOperationExecution +
doSecondPass(Map) - Method in AbstractGrailsDomainBinder.MapSecondPass
-
executeQuery(PersistentEntity, Junction) - Method in AssociationQuery +
dynamicInsert(boolean) - Method in HibernateMappingBuilder +
Whether to use dynamic update queries
+
dynamicMethods - Field in HibernateNamedQueriesBuilder
-
executeQuery(PersistentEntity, Query.Junction) - Method in Query -
Subclasses should implement this to provide the concrete implementation - of querying
+
dynamicMethods - Field in NamedCriteriaProxy +
+
dynamicUpdate(boolean) - Method in HibernateMappingBuilder +
Whether to use dynamic update queries

-

-F

+

+E

-
Family - Class in org.grails.datastore.mapping.keyvalue.mapping.config +
EMPTY_ARRAY - Field in AbstractHibernateGormInstanceApi
-
Family(String, String) - Constructor in Family +
EMPTY_PATH - Field in AbstractGrailsDomainBinder
-
fetchStrategies - Field in Query +
entityStack - Field in AbstractHibernateQuery
-
find() - Method in QueryableCriteria -
@return Find a single result
-
firePostDeleteEvent(PersistentEntity, EntityAccess) - Method in EntityPersister +
ENUM_CLASS_PROP - Field in AbstractGrailsDomainBinder
-
firePostInsertEvent(PersistentEntity, EntityAccess) - Method in EntityPersister +
ENUM_TYPE_CLASS - Field in AbstractGrailsDomainBinder
-
firePostLoadEvent(PersistentEntity, EntityAccess) - Method in EntityPersister +
ENUM_TYPE_PROP - Field in AbstractGrailsDomainBinder
-
firePostUpdateEvent(PersistentEntity, EntityAccess) - Method in EntityPersister +
eq(String, Object) - Method in AbstractHibernateQuery
-
firePreLoadEvent(PersistentEntity, EntityAccess) - Method in EntityPersister +
eq(String, Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
first() - Method in PersistentSortedSet +
equals(Object) - Method in SoftKey
-
firstLevelCache - Field in AbstractSession +
evaluate(Closure, ApplicationContext) - Method in HibernateMappingBuilder +
Central entry point for the class.
+
evaluate(Closure) - Method in HibernateNamedQueriesBuilder
-
firstLevelCollectionCache - Field in AbstractSession +
evaluateConstraints() - Method in AbstractGrailsHibernateDomainClass
-
firstLevelEntryCache - Field in AbstractSession +
evaluateMapping(GrailsDomainClass, Closure, boolean) - Method in AbstractGrailsDomainBinder
-
firstLevelEntryCacheDirtyCheck - Field in AbstractSession +
eventTriggeringInterceptor - Field in AbstractHibernateDatastore
-
firstResult(int) - Method in Query -
Defines the offset (the first result index) of the query
-
flush() - Method in AbstractSession +
evict(Object) - Method in IHibernateTemplate
-
flush() - Method in Session -
Flushes any pending changes to the datastore
-
flush() - Method in SpringSessionSynchronization +
executeQuery(PersistentEntity, Junction) - Method in AbstractHibernateQuery
-
flushBeforeQuery() - Method in Query -
Default behavior is the flush the session before a query in the case of FlushModeType.AUTO. -
-
flushPendingInserts(Map) - Method in AbstractSession -
The default implementation of flushPendingInserts is to iterate over each insert operations - and execute them one by one.
-
flushPendingUpdates(Map) - Method in AbstractSession -
The default implementation of flushPendingUpdates is to iterate over each update operation - and execute them one by one.
-
forClass(Class) - Method in ClassPropertyFetcher -
-
formatErrors(Errors, String) - Method in ValidationException -
-
formulateDatabaseReference(PersistentEntity, Association, Serializable) - Method in NativeEntryEntityPersister -
-
FunctionCallingCriterion - Class in org.grails.datastore.mapping.query.criteria -
This criterion calls a function on the property before apply the appropriate comparison.
-
FunctionCallingCriterion(String, String, PropertyCriterion, boolean) - Constructor in FunctionCallingCriterion +
explicitSaveUpdateCascade - Field in GrailsHibernateDomainClassProperty

-

-G

+

+F

-
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, Object) - Method in NativeEntryEntityPersister -
-
geProperty(String, String) - Method in Criteria -
Constraints 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
-
get(ReferenceInstanceCallback) - Method in ClassPropertyFetcher.FieldReaderFetcher -
-
get(ReferenceInstanceCallback) - Method in ClassPropertyFetcher.GetterPropertyFetcher -
-
get(ReferenceInstanceCallback) - Method in ClassPropertyFetcher.PropertyFetcher -
-
get(int) - Method in PersistentList -
-
getAllAssociationMap(ClassPropertyFetcher) - Method in GormMappingConfigurationStrategy -
-
getApplicationContext() - Method in AbstractDatastore -
-
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 -
-
getAssociatedEntity() - Method in Basic -
-
getAssociation() - Method in AssociationCriteria -
-
getAssociation() - Method in AssociationQuery -
The association being queried
-
getAssociationIndexer(Object, Association) - Method in NativeEntryEntityPersister +
failOnError - Field in AbstractEventTriggeringInterceptor
-
getAssociationMap(ClassPropertyFetcher) - Method in GormMappingConfigurationStrategy -
Obtains the identity mapping for the specified class mapping
-
getAssociations() - Method in AbstractPersistentEntity +
failOnErrorPackages - Field in AbstractEventTriggeringInterceptor
-
getAssociations() - Method in PersistentEntity -
A list of the associations for this entity.
-
getAt(String) - Method in ValidationErrors +
findAllWhere(Map, Boolean) - Method in NamedCriteriaProxy
-
getAttribute(Object, String) - Method in AbstractAttributeStoringSession +
findWhere(def) - Method in NamedCriteriaProxy
-
getAttribute(Object, String) - Method in Session -
Obtains an attribute for the given entity
-
getCachedCollection(PersistentEntity, Serializable, String) - Method in AbstractSession +
firstResult(int) - Method in AbstractHibernateQuery
-
getCachedCollection(PersistentEntity, Serializable, String) - Method in SessionImplementor -
Obtains a cached collection
-
getCachedEntry(PersistentEntity, Serializable, boolean) - Method in AbstractSession +
flush() - Method in AbstractAggregatePersistenceContextInterceptor
-
getCachedEntry(Serializable) - Method in HashMapTPCacheAdapter +
flush() - Method in AbstractHibernateSession
-
getCachedEntry(PersistentEntity, Serializable, boolean) - Method in SessionImplementor -
Obtains a cached entry
-
getCachedEntry(Serializable) - Method in TPCacheAdapter -
Returns the stored value for the specified key.
-
getCachedInstance(Class, Serializable) - Method in AbstractSession +
flush() - Method in IHibernateTemplate
-
getCachedInstance(Class, Serializable) - Method in SessionImplementor -
Get the cached instance if it exists.
-
getCapitilizedName() - Method in AbstractPersistentProperty +
flushBeforeQuery() - Method in AbstractHibernateQuery
-
getCapitilizedName() - Method in PersistentProperty -
The name with the first letter in upper case as per Java bean conventions
-
getCascadeOperations() - Method in Association +
FOREIGN_KEY_SUFFIX - Field in AbstractGrailsDomainBinder
-
getCascadeOperations() - Method in PendingOperation -
Operations to be executed directly following this operation
-
getCascadeOperations() - Method in PendingOperationAdapter -
-
getChildEntityByDiscriminator(PersistentEntity, String) - Method in AbstractMappingContext +
+ + + +
+

+G

+ +
+ +
ge(String, Object) - Method in AbstractHibernateQuery
-
getChildEntityByDiscriminator(PersistentEntity, String) - Method in MappingContext -
Obtains a child of the given root entity using the given discriminator
-
getClassMapping() - Method in AbstractKeyValueEntityPersister +
ge(String, Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
getClassMapping() - Method in NativeEntryEntityPersister +
generateAlias(String) - Method in AbstractHibernateQuery
-
getClassMapping() - Method in PropertyMapping -
Retrieves the ClassMapping instance of the owning class
-
getCollection() - Method in Collection -
The name of the collection
-
getConversionService() - Method in AbstractMappingContext +
get(Class, Serializable, LockMode) - Method in IHibernateTemplate
-
getConversionService() - Method in MappingContext -
Obtains the ConversionService instance to use for type conversion
-
getConverterRegistry() - Method in AbstractMappingContext +
get(def) - Method in NamedCriteriaProxy
-
getConverterRegistry() - Method in MappingContext -
Obtains the converter registry
-
getCriteria() - Method in AssociationCriteria +
getAssociationDescription(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
getCriteria() - Method in Query -
@return The criteria defined by this query
-
getCriteria() - Method in Query.Junction +
getAssociationMap() - Method in AbstractGrailsHibernateDomainClass
-
getCriteria() - Method in QueryableCriteria -
@return A list of all criteria
-
getCurrentSession() - Method in AbstractDatastore +
getAssociationPath(String) - Method in AbstractHibernateQuery
-
getCurrentSession() - Method in Datastore -
Obtains the current session (if any)
-
getCustomTypeMarshaller() - Method in Custom -
@return The type converter for this custom type
-
getDatastore() - Method in AbstractSession +
getAt(String) - Method in InstanceProxy
-
getDatastore() - Method in DatastoreTransactionManager +
getColumn() - Method in PropertyConfig +
Shortcut to get the column name for this property.
+
getColumnForSimpleValue(SimpleValue) - Method in AbstractGrailsDomainBinder
-
getDatastore() - Method in Session -
The Datastore that created this Session
-
getDecapitalizedName() - Method in AbstractPersistentEntity +
getColumnName() - Method in GrailsHibernateDomainClassProperty
-
getDecapitalizedName() - Method in PersistentEntity -
@return Returns the name of the class decapitalized form
-
getDeclaredField(String) - Method in ClassPropertyFetcher +
getColumnNameForPropertyAndPath(GrailsDomainClassProperty, String, ColumnConfig, String) - Method in AbstractGrailsDomainBinder
-
getDeclaredField(Class, String) - Method in MappingUtils -
Get a declared field, searching super classes for the field if it is not found in the class.
-
getDefaultDatabaseName() - Method in DocumentMappingContext +
getComponent() - Method in GrailsHibernateDomainClassProperty
-
getDefaultIdentityMapping(ClassMapping) - Method in DefaultMappingConfigurationStrategy +
getConstrainedProperties() - Method in AbstractGrailsHibernateDomainClass
-
getDefaultIdentityMapping(ClassMapping) - Method in GormMappingConfigurationStrategy +
getConstrainedProperty(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder +
@return a count of the digits in the specified number
+
getConstraintsEvaluator() - Method in AbstractGrailsHibernateDomainClass
-
getDefaultIdentityMapping(ClassMapping) - Method in MappingConfigurationStrategy -
Obtains the default manner in which identifiers are mapped.
-
getDefaultMapping() - Method in DocumentMappingContext +
getCriteriaAndAlias(Association) - Method in AbstractHibernateQuery
-
getDirection() - Method in Query.Order +
getCurrentAlias() - Method in AbstractHibernateQuery
-
getDiscriminator() - Method in AbstractPersistentEntity +
getDatasourceNames(GrailsDomainClass) - Method in AbstractEventTriggeringInterceptor
-
getDiscriminator() - Method in PersistentEntity -
The discriminator used when persisting subclasses of an inheritance hierarchy
-
getEmbedded(Object, String) - Method in NativeEntryEntityPersister +
getDatasourceNames(GrailsDomainClass, AbstractGrailsDomainBinder) - Method in HibernateUtilities
-
getEntity() - Method in AbstractClassMapping +
getDatastore() - Method in AbstractHibernateSession
-
getEntity() - Method in AbstractPersistenceEvent +
getDefaultColumnName(GrailsDomainClassProperty, String) - Method in AbstractGrailsDomainBinder
-
getEntity() - Method in ClassMapping -
Obtains the PersistentEntity for this class mapping
-
getEntity() - Method in EntityAccess +
getDialect(SessionFactory) - Method in AbstractHibernateQuery
-
getEntity() - Method in ManualEntityOrdering +
getDomainClass() - Method in GrailsHibernateDomainClassProperty
-
getEntity() - Method in PendingOperation -
@return The PersistentEntity being inserted
-
getEntity() - Method in PendingOperationAdapter +
getEntity() - Method in AbstractHibernateQuery
-
getEntity() - Method in Query -
@return The PersistentEntity being query
-
getEntityAccess() - Method in AbstractPersistenceEvent +
getEntityPersister(String, SessionFactory) - Method in AbstractHibernateQuery
-
getEntityAccess() - Method in PendingInsert -
@return The EntityAccess object for the entity to be inserted
-
getEntityAccess() - Method in PendingInsertAdapter +
getEnumType() - Method in PropertyConfig
-
getEntityAccess() - Method in PendingUpdate -
@return The EntityAccess object for the entity to be inserted
-
getEntityAccess() - Method in PendingUpdateAdapter +
getEventTriggeringInterceptor() - Method in AbstractHibernateDatastore
-
getEntityFamily() - Method in AbstractKeyValueEntityPersister +
getFetchMode() - Method in GrailsHibernateDomainClassProperty
-
getEntityFamily() - Method in NativeEntryEntityPersister +
getFieldName(String) - Method in AbstractGrailsHibernateDomainClass
-
getEntityMappedFormType() - Method in AbstractGormMappingFactory +
getFieldName() - Method in GrailsHibernateDomainClassProperty
-
getEntityMappedFormType() - Method in GormDocumentMappingFactory +
getFlushMode() - Method in IHibernateTemplate
-
getEntityMappedFormType() - Method in GormKeyValueMappingFactory +
getForeignKeyForPropertyDomainClass(GrailsDomainClassProperty, String) - Method in AbstractGrailsDomainBinder +
Interrogates the specified constraints looking for any constraints that would limit the + length of the property's value.
+
getGroovyAwareJoinedSubclassEntityPersisterClass() - Method in AbstractGrailsDomainBinder
-
getEntityObject() - Method in AbstractPersistenceEvent +
getGroovyAwareSingleTableEntityPersisterClass() - Method in AbstractGrailsDomainBinder
-
getEntityValidator(PersistentEntity) - Method in AbstractMappingContext -
Retrieves a validator for an entity
-
getEntityValidator(PersistentEntity) - Method in MappingContext -
Obtains a validator for the given entity
-
getEntryValue(Object, String) - Method in NativeEntryEntityPersister +
getHibernateDetachedCriteria(QueryableCriteria) - Method in AbstractHibernateCriterionAdapter
-
getEventType() - Method in AbstractPersistenceEvent +
getHibernateProjectionList() - Method in AbstractHibernateQuery.HibernateProjectionList
-
getEventType() - Method in AbstractQueryEvent -
@return The type of event.
-
getEventType() - Method in PostDeleteEvent +
getIdentifier() - Method in AbstractGrailsHibernateDomainClass
-
getEventType() - Method in PostInsertEvent +
getIndex() - Method in PropertyConfig +
Shortcut to get the index setting for this property's column.
+
getIndexColumnName(GrailsDomainClassProperty, String) - Method in AbstractGrailsDomainBinder
-
getEventType() - Method in PostLoadEvent +
getIndexColumnType(GrailsDomainClassProperty, String) - Method in AbstractGrailsDomainBinder
-
getEventType() - Method in PostQueryEvent -
@return The type of event.
-
getEventType() - Method in PostUpdateEvent +
getInsertableness(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
getEventType() - Method in PreDeleteEvent +
getIterableAsCollection(Iterable) - Method in AbstractHibernateSession
-
getEventType() - Method in PreInsertEvent +
getJoinedSubClassTableName(GrailsDomainClass, PersistentClass, Table, Mappings, String) - Method in AbstractGrailsDomainBinder +
Creates and binds the discriminator property used in table-per-hierarchy inheritance to + discriminate between sub class instances
+
getLaziness(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
getEventType() - Method in PreLoadEvent +
getLength() - Method in PropertyConfig +
Shortcut to get the length of this property's column.
+
getListenerMap() - Method in HibernateEventListeners
-
getEventType() - Method in PreQueryEvent -
@return The type of event.
-
getEventType() - Method in PreUpdateEvent +
getMapElementName(GrailsDomainClassProperty, String) - Method in AbstractGrailsDomainBinder
-
getEventType() - Method in SaveOrUpdateEvent +
getMappedBy() - Method in AbstractGrailsHibernateDomainClass
-
getEventType() - Method in ValidationEvent +
getMapping(GrailsDomainClass) - Method in AbstractGrailsDomainBinder
-
getFamily(PersistentEntity, ClassMapping) - Method in AbstractKeyValueEntityPersister +
getMappingContext() - Method in AbstractHibernateSession
-
getFamily() - Method in Family +
getMappingStrategy() - Method in AbstractGrailsHibernateDomainClass
-
getFamily() - Method in KeyValueEntry +
getMaxSize(List) - Method in AbstractGrailsDomainBinder
-
getFetchStrategy() - Method in Association +
getName() - Method in GrailsHibernateDomainClassProperty
-
getFetchStrategy() - Method in Property +
getNamedCriteriaProxy(def, def) - Method in NamedCriteriaProxy
-
getFlushMode() - Method in AbstractSession +
getNameForPropertyAndPath(GrailsDomainClassProperty, String) - Method in AbstractGrailsDomainBinder
-
getFlushMode() - Method in Session -
Obtains the current FlushModeType
-
getFrom() - Method in Query.Between +
getNamesAndDirections() - Method in SortConfig
-
getFromTPCache(PersistentEntity, Serializable) - Method in NativeEntryEntityPersister +
getNamingStrategy(String) - Method in AbstractGrailsDomainBinder +
Binds a Grails domain class to the Hibernate runtime meta model
+
getNativeInterface() - Method in AbstractHibernateSession
-
getFunctionName() - Method in FunctionCallingCriterion +
getNaturalName() - Method in GrailsHibernateDomainClassProperty
-
getGenerator() - Method in Property -
Get the id generator.
-
getGenericType(Class) - Method in MappingUtils +
getObject() - Method in SpringLobHandlerDetectorFactoryBean
-
getGenericTypeForMapProperty(Class, String, boolean) - Method in MappingUtils +
getObjectType() - Method in SpringLobHandlerDetectorFactoryBean
-
getGenericTypeForProperty(Class, String) - Method in MappingUtils +
getOrCreateAlias(String, String) - Method in AbstractHibernateQuery
-
getGetterName(String) - Method in NameUtils -
Retrieves the name of a setter for the specified property name
-
getIdentifier() - Method in AbstractClassMapping +
getOtherSide() - Method in GrailsHibernateDomainClassProperty
-
getIdentifier() - Method in ClassMapping -
Returns details of the identifier used for this class
-
getIdentifier() - Method in DocumentPersistentEntity.DocumentCollectionMapping +
getPersistantProperties() - Method in AbstractGrailsHibernateDomainClass
-
getIdentifier() - Method in EntityAccess +
getPersistentProperties() - Method in AbstractGrailsHibernateDomainClass
-
getIdentifier(Object) - Method in JavassistProxyFactory +
getPersistentProperty(String) - Method in AbstractGrailsHibernateDomainClass
-
getIdentifier(Object) - Method in ProxyFactory -
Obtains the identifier of an object without initializing the proxy if it is one
-
getIdentifierName() - Method in EntityAccess +
getPersister(Object) - Method in AbstractHibernateSession
-
getIdentifierName() - Method in IdentityMapping -
The identifier property name(s).
-
getIdentifierName(ClassMapping) - Method in NativeEntryEntityPersister +
getPrecision() - Method in PropertyConfig +
Shortcut to get the precision of this property's column.
+
getPreparedCriteriaClosure(def) - Method in NamedCriteriaProxy
-
getIdentity() - Method in AbstractPersistentEntity +
getProperties() - Method in AbstractGrailsHibernateDomainClass +
@deprecated
+
getProperty(PersistentClass, String) - Method in AbstractGrailsDomainBinder +
Links a bidirectional one-to-many, configuring the inverse side and using a column copy to perform the link
+
getProperty(String) - Method in InstanceProxy
-
getIdentity(Class, MappingContext) - Method in DefaultMappingConfigurationStrategy +
getPropertyByName(String) - Method in AbstractGrailsHibernateDomainClass
-
getIdentity(Class, MappingContext) - Method in GormMappingConfigurationStrategy +
getPropertyConfig(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
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, Object) - Method in AbstractGormMappingFactory +
getPropertyConfig(String) - Method in Mapping +
Obtains a PropertyConfig object for the given name
+
getPropertyName(Criterion, String) - Method in AbstractHibernateCriterionAdapter
-
getIdentityMappedForm(ClassMapping, KeyValue) - Method in GormKeyValueMappingFactory +
getPropertyValue(String) - Method in HibernateBeanWrapper +
Checks Hibernate.isInitialized before calling super method.
+
getReferencedDomainClass() - Method in GrailsHibernateDomainClassProperty
-
getIdentityMapping(ClassMapping) - Method in DefaultMappingConfigurationStrategy -
Obtains the identity mapping for the specified class mapping
-
getIdentityMapping(ClassMapping) - Method in GormMappingConfigurationStrategy +
getReferencedPropertyName() - Method in GrailsHibernateDomainClassProperty
-
getIdentityMapping(ClassMapping) - Method in MappingConfigurationStrategy -
Obtains the identity mapping for the specified class mapping
-
getIndexedEntity() - Method in AssociationIndexer +
getReferencedPropertyType() - Method in GrailsHibernateDomainClassProperty
-
getIndexName(Object) - Method in PropertyValueIndexer -
@param value The indexed value
-
getInversePropertyName() - Method in ManyToMany +
getRelatedClassType(String) - Method in AbstractGrailsHibernateDomainClass
-
getInverseSide() - Method in Association +
getRootMapping(GrailsDomainClass) - Method in AbstractGrailsDomainBinder
-
getInverseSide() - Method in Basic +
getScale() - Method in PropertyConfig +
Shortcut to get the scale of this property's column.
+
getSessionFactory() - Method in AbstractGrailsHibernateDomainClass
-
getJavaClass() - Method in AbstractPersistentEntity +
getSessionFactory() - Method in AbstractHibernateDatastore +
@return The Hibernate SessionFactory being used by this datastore instance
+
getSessionFactory() - Method in IHibernateTemplate
-
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 +
getSessionFactory() - Method in SessionFactoryHolder
-
getKey() - Method in OptimisticLockingException +
getSessionFactoryName() - Method in AbstractGrailsHibernateDomainClass +
Evaluates the constraints closure to build the list of constraints.
+
getSingleColumnConfig(PropertyConfig) - Method in AbstractGrailsDomainBinder
-
getKeyspace(ClassMapping, String) - Method in AbstractKeyValueEntityPersister +
getSqlType() - Method in PropertyConfig +
Shortcut to get the SQL type of the corresponding column.
+
getSubClasses() - Method in AbstractGrailsHibernateDomainClass
-
getKeyspace() - Method in Family +
getTableName(GrailsDomainClass, String) - Method in AbstractGrailsDomainBinder
-
getKeyspace() - Method in KeyValueMappingContext +
getTableName() - Method in Mapping +
The table name
+
getTransaction() - Method in AbstractHibernateSession
-
getManyToManyKeys(PersistentEntity, Object, Serializable, Object, ManyToMany) - Method in NativeEntryEntityPersister +
getType() - Method in GrailsHibernateDomainClassProperty
-
getMappedForm() - Method in AbstractClassMapping +
getTypeName(GrailsDomainClassProperty, PropertyConfig, Mapping) - Method in AbstractGrailsDomainBinder
-
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 +
getTypeName(Class) - Method in Mapping +
Return a type name of the known custom user types
+
getTypePropertyName() - Method in GrailsHibernateDomainClassProperty
-
getMappedForm() - Method in KeyValuePersistentEntity.KeyValueClassMapping +
getTypeResolver(SessionFactory) - Method in AbstractHibernateQuery
-
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 +
getUpdateableness(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
getMapping() - Method in DocumentPersistentEntity +
getUserType(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder +
Binds a Hibernate component type using the given GrailsDomainClassProperty instance
+
getValidateMethod() - Method in AbstractHibernateGormValidationApi
-
getMapping() - Method in KeyValuePersistentEntity +
getValidator() - Method in AbstractGrailsHibernateDomainClass
-
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 +
getVersion() - Method in AbstractGrailsHibernateDomainClass
-
getMappingContext() - Method in AbstractPersistentEntity +
GORMEnhancingBeanPostProcessor - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
Enhances an existing SessionFactory with GORM behavior.
+
GORMNamespaceHandler - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
A Spring namespace handler for the namespace tags
+
GORMSessionFactoryDefinitionParser - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
A BeanDefinitionParser that will scan for GORM entities to configure and automatically setup an + appropriate Hibernate SessionFactory for usage with GORM.
+
grailsApplication - Field in AbstractHibernateGormEnhancer
-
getMappingContext() - Method in AbstractSession +
GrailsDomainConfiguration - Interface in org.codehaus.groovy.grails.orm.hibernate.cfg +
@author Graeme Rocher
+
GrailsHibernateConfigurationException - Class in org.codehaus.groovy.grails.orm.hibernate.exceptions +
Thrown when configuration Hibernate for GORM features.
+
GrailsHibernateConfigurationException(Throwable) - Constructor in GrailsHibernateConfigurationException
-
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 +
GrailsHibernateDomainClassProperty - Class in org.codehaus.groovy.grails.orm.hibernate +
An implementation of the GrailsDomainClassProperty interface that allows Classes mapped in + Hibernate to integrate with Grails' validation, dynamic methods etc. seamlessly.
+
GrailsHibernateDomainClassProperty(AbstractGrailsHibernateDomainClass, String) - Constructor in GrailsHibernateDomainClassProperty
-
getMappingFactory() - Method in DocumentMappingContext +
GrailsHibernateException - Class in org.codehaus.groovy.grails.orm.hibernate.exceptions +
Base exception class for errors related to Hibernate configuration in Grails.
+
GrailsHibernateException(Throwable) - Constructor in GrailsHibernateException
-
getMappingFactory() - Method in KeyValueMappingContext +
GrailsQueryException - Class in org.codehaus.groovy.grails.orm.hibernate.exceptions +
Base exception class for errors related to Domain class queries in Grails.
+
GrailsQueryException(Throwable) - Constructor in GrailsQueryException
-
getMappingFactory() - Method in MappingContext -
Obtains the MappingFactory instance
-
getMappingSyntaxStrategy() - Method in DocumentMappingContext +
gt(String, Object) - Method in AbstractHibernateQuery
-
getMappingSyntaxStrategy() - Method in KeyValueMappingContext +
gt(String, Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
getMappingSyntaxStrategy() - Method in MappingContext -
Returns the syntax reader used to interpret the entity - mapping syntax
-
getMessage() - Method in ValidationException +
gte(String, Object) - Method in AbstractHibernateQuery
-
getName() - Method in AbstractPersistentEntity +
gte(String, Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
getName() - Method in AbstractPersistentProperty +
+ + + +
+

+H

+ +
+ +
handleLazyProxy(GrailsDomainClass, GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
getName() - Method in PersistentEntity -
The entity name including any package prefix
-
getName() - Method in PersistentProperty -
The name of the property
-
getName() - Method in Property +
handleMethodMissing - Field in HibernateNamedQueriesBuilder
-
getName() - Method in Query.In +
handleUniqueConstraint(GrailsDomainClassProperty, Column, String, Table, String, String) - Method in AbstractGrailsDomainBinder
-
getNativeEntry() - Method in PendingOperation -
@return The native entry to persist
-
getNativeEntry() - Method in PendingOperationAdapter +
hasCompositeIdentifier(Mapping) - Method in AbstractGrailsDomainBinder
-
getNativeEvent() - Method in AbstractPersistenceEvent +
hashCode() - Method in SoftKey
-
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 +
hasJoinColumnMapping(PropertyConfig) - Method in AbstractGrailsDomainBinder +
@param property
+
hasJoinKeyMapping(PropertyConfig) - Method in AbstractGrailsDomainBinder
-
getNativePropertyKey(PersistentProperty) - Method in AbstractKeyValueEntityPersister +
hasJoinTableColumnNameMapping(PropertyConfig) - Method in AbstractGrailsDomainBinder
-
getNativePropertyKey(PersistentProperty) - Method in NativeEntryEntityPersister +
hasPersistentProperty(String) - Method in AbstractGrailsHibernateDomainClass
-
getNativeTransaction() - Method in SessionOnlyTransaction +
hasSubClasses() - Method in AbstractGrailsHibernateDomainClass
-
getNativeTransaction() - Method in Transaction -
@return the native transaction object.
-
getObjectErrors(Object) - Method in AbstractDatastore +
HIBERNATE - Field in AbstractGrailsHibernateDomainClass
-
getObjectErrors(Object) - Method in Datastore -
Get the validation errors if available.
-
getObjectIdentifier(Object) - Method in AbstractSession +
HibernateBeanWrapper - Class in org.codehaus.groovy.grails.orm.hibernate.support +
BeanWrapper implementaion that will not lazy initialize entity properties.
+
HibernateBeanWrapper(Object, String, Object) - Constructor in HibernateBeanWrapper
-
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
-
getOrCreateAssociatedEntity(PersistentEntity, MappingContext, Class) - Method in GormMappingConfigurationStrategy +
hibernateCustomUserType(Map) - Method in HibernateMappingBuilder
-
getOrCreateEmbeddedEntity(PersistentEntity, MappingContext, Class) - Method in GormMappingConfigurationStrategy -
Retrieves the association map
-
getOrder() - Method in AbstractPersistenceEventListener +
HibernateEventListeners - Class in org.codehaus.groovy.grails.orm.hibernate
-
getOrderBy() - Method in Query -
Gets the Order entries for this query
-
getOriginalValue(String) - Method in DirtyCheckable -
Returns the original value of the property prior to when trackChanges() was called
-
getOtherProperty() - Method in Query.PropertyComparisonCriterion +
hibernateJunction - Field in AbstractHibernateQuery.HibernateAssociationQuery
-
getOwner() - Method in AbstractPersistentProperty +
hibernateJunction - Field in AbstractHibernateQuery.HibernateJunction
-
getOwner() - Method in PersistentProperty -
Obtains the owner of this persistent property
-
getOwningEntities(Class, MappingContext) - Method in DefaultMappingConfigurationStrategy +
HibernateMappingBuilder - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
Implements the ORM mapping DSL constructing a model that can be evaluated by the + GrailsDomainBinder class which maps GORM classes onto the database.
+
HibernateMappingBuilder(String) - Constructor in HibernateMappingBuilder +
Constructor for builder
+
HibernateNamedQueriesBuilder - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
A builder that implements the ORM named queries DSL.
+
HibernateNamedQueriesBuilder(def, List, ConversionService) - Constructor in HibernateNamedQueriesBuilder +
@param domainClass the GrailsDomainClass defining the named queries
+
HibernateProjectionAdapter - Class in org.codehaus.groovy.grails.orm.hibernate.query +
Adapts Grails datastore API to Hibernate projections.
+
HibernateProjectionAdapter(Projection) - Constructor in HibernateProjectionAdapter
-
getOwningEntities(Class, MappingContext) - Method in GormMappingConfigurationStrategy +
hibernateProjectionList - Field in AbstractHibernateQuery
-
getOwningEntities(Class, MappingContext) - Method in MappingConfigurationStrategy -
Returns a set of entities that "own" the given entity.
-
getParameters() - Method in JpaQueryInfo +
hibernateTemplate - Field in AbstractHibernateSession
-
getParentEntity() - Method in AbstractPersistentEntity +
HibernateUtilities - Class in org.codehaus.groovy.grails.orm.hibernate.cfg
-
getParentEntity() - Method in KeyValuePersistentEntity +
HibernateUtils - Field in NamedCriteriaProxy
-
getParentEntity() - Method in PersistentEntity -
Returns the parent entity of this entity
-
getPattern() - Method in Query.Like +
+ + + +
+

+I

+ +
+ +
id() - Method in AbstractHibernateQuery.HibernateProjectionList
-
getPattern() - Method in Query.RLike +
id(Map) - Method in HibernateMappingBuilder
-
getPendingDeletes() - Method in AbstractSession +
identifier - Field in AbstractGrailsHibernateDomainClass
-
getPendingDeletes() - Method in SessionImplementor -
@return The pending deletes
-
getPendingInserts() - Method in AbstractSession +
Identity - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
Defines the identity generation strategy.
+
identity - Field in GrailsHibernateDomainClassProperty
-
getPendingInserts() - Method in SessionImplementor -
@return The pending insert operations
-
getPendingUpdates() - Method in AbstractSession +
identityEnumTypeSupports(Class) - Method in AbstractGrailsDomainBinder
-
getPendingUpdates() - Method in SessionImplementor -
@return The pending updates
-
getPersistentEntities() - Method in AbstractMappingContext +
idEq(Object) - Method in AbstractHibernateQuery
-
getPersistentEntities() - Method in MappingContext -
Obtains a list of PersistentEntity instances
-
getPersistentEntity(String) - Method in AbstractMappingContext +
idEq(Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
getPersistentEntity() - Method in EntityAccess +
IHibernateTemplate - Interface in org.codehaus.groovy.grails.orm.hibernate +
@author Burt Beckwith
+
ilike(String, String) - Method in AbstractHibernateQuery
-
getPersistentEntity() - Method in EntityPersister -
@return The PersistentEntity instance
-
getPersistentEntity(String) - Method in MappingContext -
Obtains a PersistentEntity by name
-
getPersistentEntity() - Method in OptimisticLockingException +
ilike(String, String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
getPersistentEntity() - Method in QueryableCriteria -
@return The target entity
-
getPersistentProperties() - Method in AbstractPersistentEntity +
in(String, List) - Method in AbstractHibernateQuery
-
getPersistentProperties(Class, MappingContext, ClassMapping) - Method in DefaultMappingConfigurationStrategy +
in(String, List) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
getPersistentProperties(PersistentEntity, MappingContext, ClassMapping) - Method in GormMappingConfigurationStrategy +
includes(Closure) - Method in HibernateMappingBuilder +
Include another config in this one
+
inCountMethod - Field in NamedCriteriaProxy
-
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 +
init() - Method in AbstractAggregatePersistenceContextInterceptor
-
getPersistentPropertyNames() - Method in PersistentEntity -
A list of property names that a persistent
-
getPersister(Object) - Method in AbstractSession +
init() - Method in GORMNamespaceHandler
-
getPersister(Object) - Method in Session -
The persister for the given object
-
getPreOperations() - Method in PendingOperation -
Operations to be executed directly prior to this operation
-
getPreOperations() - Method in PendingOperationAdapter +
initialize() - Method in AbstractHibernateCriterionAdapter
-
getProjectionList() - Method in Query.ProjectionList +
initialized - Field in AbstractHibernateCriterionAdapter
-
getProjections() - Method in QueryableCriteria +
initialized - Field in CollectionType
-
getPropertiesAssignableFromType(Class) - Method in ClassPropertyFetcher +
initialized - Field in HibernateNamedQueriesBuilder
-
getPropertiesAssignableToType(Class) - Method in ClassPropertyFetcher +
insert(Object) - Method in AbstractHibernateSession
-
getPropertiesOfType(Class) - Method in ClassPropertyFetcher +
instance - Field in InstanceProxy
-
getPropertiesOfType(Class, Class) - Method in ReflectionUtils -
Retrieves all the properties of the given class for the given type
-
getProperty(String) - Method in EntityAccess +
instanceApi - Field in InstanceProxy
-
getProperty(Object, String) - Method in GroovyObjectMethodHandler +
InstanceProxy - Class in org.codehaus.groovy.grails.orm.hibernate.cfg
-
getProperty() - Method in Query.Between +
InstanceProxy(def, AbstractHibernateGormInstanceApi, AbstractHibernateGormValidationApi) - Constructor in InstanceProxy
-
getProperty() - Method in Query.In +
INSTANCES - Field in CollectionType
-
getProperty() - Method in Query.Order +
interceptors - Field in AbstractAggregatePersistenceContextInterceptor
-
getProperty() - Method in Query.PropertyNameCriterion +
invokeCriteriaClosure(def) - Method in NamedCriteriaProxy
-
getPropertyByName(String) - Method in AbstractPersistentEntity +
invokeMethod(String, def) - Method in InstanceProxy
-
getPropertyByName(String) - Method in KeyValuePersistentEntity +
isAssociation() - Method in GrailsHibernateDomainClassProperty
-
getPropertyByName(String) - Method in PersistentEntity -
Obtains a PersistentProperty instance by name
-
getPropertyCriterion() - Method in FunctionCallingCriterion +
isBasicCollectionType() - Method in GrailsHibernateDomainClassProperty
-
getPropertyDescriptor(String) - Method in ClassPropertyFetcher +
isBidirectional(String) - Method in AbstractGrailsHibernateDomainClass
-
getPropertyDescriptors() - Method in ClassPropertyFetcher +
isBidirectional() - Method in GrailsHibernateDomainClassProperty
-
getPropertyIndexer(PersistentProperty) - Method in NativeEntryEntityPersister -
Reads an objects identifier using the entity access and ClassMapping instance
-
getPropertyKey(PersistentProperty) - Method in NativeEntryEntityPersister +
isBidirectionalManyToOne(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
getPropertyMappedFormType() - Method in AbstractGormMappingFactory +
isBidirectionalManyToOneWithListMapping(GrailsDomainClassProperty, Property) - Method in AbstractGrailsDomainBinder
-
getPropertyMappedFormType() - Method in GormDocumentMappingFactory +
isBidirectionalOneToManyMap(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
getPropertyMappedFormType() - Method in GormKeyValueMappingFactory +
isCircular() - Method in GrailsHibernateDomainClassProperty
-
getPropertyName() - Method in Query.PropertyProjection +
isCircularAssociation(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder +
Binds a simple value to the Hibernate metamodel.
+
isComponentPropertyNullable(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder +
Binds a many-to-one relationship to the
+
isCompositeIdProperty(Mapping, GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
getPropertyNameForGetterOrSetter(String) - Method in NameUtils -
Returns the property name for a getter or setter
-
getPropertyType(String, boolean) - Method in ClassPropertyFetcher +
isConnected() - Method in AbstractHibernateSession
-
getPropertyType(String) - Method in ClassPropertyFetcher.FieldReaderFetcher +
isDefinedByCurrentDataStore(Object, AbstractGrailsDomainBinder) - Method in AbstractEventTriggeringInterceptor
-
getPropertyType(String) - Method in ClassPropertyFetcher.GetterPropertyFetcher +
isDerived() - Method in GrailsHibernateDomainClassProperty
-
getPropertyType(String) - Method in ClassPropertyFetcher.PropertyFetcher +
isDirty(Object) - Method in AbstractHibernateSession
-
getPropertyType(String) - Method in EntityAccess +
isEmbedded() - Method in GrailsHibernateDomainClassProperty
-
getPropertyValue(String, Class) - Method in ClassPropertyFetcher +
isEmpty(String) - Method in AbstractHibernateQuery
-
getProxyClass(Class) - Method in JavassistProxyFactory +
isEmpty(String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
getProxyFactory() - Method in AbstractMappingContext +
isEnum() - Method in GrailsHibernateDomainClassProperty
-
getProxyFactory() - Method in EntityPersister +
isExplicitSaveUpdateCascade() - Method in GrailsHibernateDomainClassProperty
-
getProxyFactory() - Method in MappingContext -
Factory used for creating proxies
-
getProxyInstance(Session, Class, Serializable) - Method in JavassistProxyFactory +
isHasOne() - Method in GrailsHibernateDomainClassProperty
-
getProxyKey() - Method in EntityProxy -
@return The identifier
-
getQuery() - Method in AbstractQueryEvent -
Get the query from the event.
-
getQuery() - Method in JpaQueryInfo +
isIdentity() - Method in GrailsHibernateDomainClassProperty
-
getReference() - Method in ClassPropertyFetcher +
isIdentityProperty(Mapping, GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
getReferencedPropertyName() - Method in Association +
isInherited() - Method in GrailsHibernateDomainClassProperty
-
getReferenceInstance() - Method in ClassPropertyFetcher.ReferenceInstanceCallback +
isManyToMany() - Method in GrailsHibernateDomainClassProperty
-
getResults() - Method in PostQueryEvent -
Returns:
The results of the query.
-
getRootEntity() - Method in AbstractPersistentEntity +
isManyToOne(String) - Method in AbstractGrailsHibernateDomainClass
-
getRootEntity() - Method in PersistentEntity -
Obtains the root entity of an inheritance hierarchy
-
getSession(Datastore, boolean) - Method in DatastoreUtils -
Get a Datastore Session for the given Datastore.
-
getSession() - Method in EntityPersister +
isManyToOne() - Method in GrailsHibernateDomainClassProperty
-
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 +
isMappedWithHibernate(GrailsDomainClass) - Method in HibernateUtilities
-
getSessionHolder() - Method in TransactionObject +
isNonPropertyToken(String) - Method in AbstractGrailsDomainBinder
-
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 NameUtils -
Retrieves the name of a setter for the specified property name
-
getStaticPropertyValue(String, Class) - Method in ClassPropertyFetcher +
isNotEmpty(String) - Method in AbstractGrailsDomainBinder
-
getStaticPropertyValuesFromInheritanceHierarchy(String, Class) - 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.
-
getTarget() - Method in EntityProxy -
Obtains the target performing initialization if necessary
-
getTargetKey(PersistentProperty) - Method in MappingUtils +
isNotEmpty(String) - Method in AbstractHibernateQuery
-
getTargetName() - Method in Property -
The target to map to, could be a database column, document attribute, or hash key
-
getTargetType() - Method in AbstractMappingAwareCustomTypeMarshaller +
isNotEmpty(String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
getTargetType() - Method in CustomTypeMarshaller -
@return The target Java type
-
getThisMetaClass() - Method in GroovyObjectMethodHandler +
isNotNull(String) - Method in AbstractHibernateQuery
-
getTo() - Method in Query.Between +
isNotNull(String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
getTPCacheAdapter(PersistentEntity) - Method in TPCacheAdapterRepository -
Returns TPCacheAdapter for the specified PersistentEntity.
-
getTPCacheAdapter(PersistentEntity) - Method in TPCacheAdapterRepositoryImpl +
isNull(String) - Method in AbstractHibernateQuery
-
getTransaction() - Method in AbstractSession +
isNull(String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
getTransaction() - Method in Session -
Obtains the current transaction instance
-
getTransaction() - Method in SessionHolder +
isOneToMany(String) - Method in AbstractGrailsHibernateDomainClass
-
getTransaction() - Method in TransactionObject +
isOneToMany() - Method in GrailsHibernateDomainClassProperty
-
getTransaction(Datastore) - Method in TransactionUtils +
isOneToOne() - Method in GrailsHibernateDomainClassProperty
-
getType() - Method in AbstractPersistentProperty +
isOpen() - Method in AbstractAggregatePersistenceContextInterceptor
-
getType() - Method in EntityPersister +
isOptional() - Method in GrailsHibernateDomainClassProperty
-
getType() - Method in PersistentProperty -
The type of the property
-
getType() - Method in Persister -
The type this persister persists
-
getValidatedFields() - Method in ValidationEvent +
isOwningClass(Class) - Method in AbstractGrailsHibernateDomainClass
-
getValidatedSession() - Method in SessionHolder +
isOwningSide() - Method in GrailsHibernateDomainClassProperty
-
getValidationErrorsMap() - Method in AbstractDatastore +
isPersistent() - Method in GrailsHibernateDomainClassProperty
-
getValidationSkipMap() - Method in AbstractDatastore +
isRoot() - Method in AbstractGrailsHibernateDomainClass
-
getValue() - Method in Query.PropertyCriterion +
isSaveUpdateCascade(String) - Method in AbstractGrailsDomainBinder +
Obtains a mapping object for the given domain class nam
+
isSingleton() - Method in SpringLobHandlerDetectorFactoryBean
-
getValues() - Method in Query.In +
isSorted(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
getVersion() - Method in AbstractPersistentEntity +
isTablePerConcreteClass() - Method in Mapping
-
getVersion() - Method in PersistentEntity -
Returns the version property.
-
GormDocumentMappingFactory - Class in org.grails.datastore.mapping.document.config +
isUnidirectionalOneToMany(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
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.
-
GraphDatastore - Interface in org.grails.datastore.mapping.graph -
@author Guillaume Laforge
-
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 -
-
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 -
Constraints 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
+
isUnique() - Method in PropertyConfig +
Shortcut to determine whether the property's column is configured + to be unique.

-

-H

+

+J

-
handle(PersistentEntity, Criterion, StringBuilder, StringBuilder, String, int, List, ConversionService, boolean, boolean) - Method in JpaQueryBuilder.QueryHandler -
-
handleEmbeddedInstance(Association, Object) - Method in NativeEntryEntityPersister -
-
handleEmbeddedToMany(EntityAccess, Object, PersistentProperty, String) - Method in NativeEntryEntityPersister -
-
handleEmbeddedToOne(Association, String, EntityAccess, Object) - Method in NativeEntryEntityPersister -
-
handleInvocation(Object, Method, Object) - Method in GroovyObjectMethodHandler -
-
HAS_MANY - Field in GormProperties -
-
HAS_ONE - Field in GormProperties -
-
hasChanged(String) - Method in DirtyCheckable -
@param propertyName The name of the property
-
hasCurrentSession() - Method in AbstractDatastore -
-
hasCurrentSession() - Method in Datastore -
Checks if there is a current session.
-
hashCode() - Method in AbstractPersistentCollection -
-
hashCode() - Method in AbstractPersistentEntity -
-
hashCode() - Method in AbstractSession.CollectionKey -
-
HashMapTPCacheAdapter - Class in org.grails.datastore.mapping.cache.impl -
Simple implementation of TPCacheAdapter backed by a local hash map.
-
hasNext() - Method in PersistentList.PersistentListIterator -
-
hasPrevious() - Method in PersistentList.PersistentListIterator -
-
hasProperty(String, Class) - Method in AbstractPersistentEntity -
-
hasProperty(String, Class) - Method in PersistentEntity -
Checks whether an entity has a bean property of the given name and type
-
headSet(Object) - Method in PersistentSortedSet -
+
JoinTable - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
Represents a Join table in Grails mapping.

-

-I

+

+K

-
Id - Annotation Type in org.grails.datastore.mapping.annotation -
@author Graeme Rocher
-
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 -
-
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
-
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 -
-
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 -
-
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, Collection) - Method in Restrictions -
Restricts the property to be in the list of given values
-
incrementVersion(EntityAccess) - Method in EntityPersister -
-
Index - Annotation Type in org.grails.datastore.mapping.annotation -
@author Graeme Rocher
-
index(Object, Object) - Method in AssociationIndexer -
Index a single foreign key
-
index(Object, Object) - Method in PropertyValueIndexer -
Creates an index for the given value to the specified key
-
indexOf(Object) - Method in PersistentList -
-
inferNativeKey(String, Object) - Method in NativeEntryEntityPersister -
-
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 EntityProxy -
Initializes the proxy if it hasn't been initialized already
-
initialize() - Method in Initializable -
Call to initialize the object
-
initialize() - Method in PersistentCollection -
Initializes the collection if it hasn't already been initialized.
-
initializeConverters(MappingContext) - Method in AbstractDatastore -
-
initializeDefaultMappingFactory(String) - Method in KeyValueMappingContext -
-
initialValue() - Method in SoftThreadLocalMap -
Creates an initial value of a Map.
-
inList(String, Object) - Method in Criteria -
Creates an "in" Criterion based on the specified property name and list of values.
-
insert(Object) - Method in AbstractSession -
-
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) - 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 -
-
invokeMethod(String, def) - Method in MappingConfigurationBuilder -
-
invokeThisMethod(Object, String, Object) - Method in GroovyObjectMethodHandler -
-
isActive() - Method in SessionOnlyTransaction -
-
isActive() - Method in Transaction -
Whether the transaction is active
-
isAssignableFrom(Class, Class) - Method in ReflectionUtils -
-
isAutoTimestamp() - Method in Entity -
@return Whether automatic time stamps should be applied to 'lastUpdate' and 'dateCreated' properties
-
isBidirectional() - Method in Association -
-
isCached(Class, Serializable) - Method in AbstractSession -
-
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 -
-
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) - Method in AbstractSession -
-
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.
-
isEmbeddedEntry(Object) - Method in NativeEntryEntityPersister -
Implementors who want to the ability to read embedded collections should implement this method
-
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(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 -
-
isExternal() - Method in AbstractPersistentEntity -
-
isExternal() - Method in PersistentEntity -
Whether this PersistentEntity is mapped using a different store.
-
isForeignKeyInChild() - Method in ToOne -
-
isIdentityName(String) - Method in AbstractPersistentEntity -
-
isIdentityName(String) - Method in PersistentEntity -
True if the given property is the identifier
-
isIndex() - Method in Property -
@return Whether this property is index
-
isIndexed(PersistentProperty) - Method in AbstractDatastore -
-
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 +
+ + + +
+

+L

+ +
+ +
le(String, Object) - Method in AbstractHibernateQuery
-
isInitialized() - Method in EntityProxy -
Checks whether the proxy has been initialized
-
isInitialized() - Method in Initializable -
-
isInitialized(Object) - Method in JavassistProxyFactory -
Checks whether a given proxy is initialized
-
isInitialized() - Method in PersistentCollection -
Check whether the collection has been loaded.
-
isInitialized(Object) - Method in ProxyFactory -
Checks whether a given proxy is initialized
-
isInstance(Object) - Method in AbstractPersistentEntity +
le(String, Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
isInstance(Object) - Method in PersistentEntity -
Tests whether the given instance is an instance of this persistent entity
-
isIntialized() - Method in AbstractPersistentEntity.MappingProperties +
like(String, String) - Method in AbstractHibernateQuery
-
isList() - Method in Association +
like(String, String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
isListenerExcluded(String) - Method in AbstractPersistenceEvent +
linkBidirectionalOneToMany(Collection, PersistentClass, DependantValue, GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder +
Establish whether a collection property is sorted
+
linkValueUsingAColumnCopy(GrailsDomainClassProperty, Column, DependantValue) - Method in AbstractGrailsDomainBinder
-
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
-
isNewSession() - Method in TransactionObject +
list() - Method in AbstractHibernateQuery
-
isNewSessionHolder() - Method in TransactionObject +
LIST - Field in CollectionType
-
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 +
list(Object, Closure) - Method in NamedCriteriaProxy
-
isNullable() - Method in PersistentProperty -
Whether the property can be set to null
-
isNullable() - Method in Property +
listDistinct(Object, Closure) - Method in NamedCriteriaProxy
-
isOnValue() - Method in FunctionCallingCriterion -
Whether the function is called on the value or on the property
-
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 +
listInternal(Object, Closure, Boolean) - Method in NamedCriteriaProxy
-
isOwningSide() - Method in Embedded -
-
isOwningSide() - Method in EmbeddedCollection +
load(Class, Serializable) - Method in IHibernateTemplate
-
isPersistentEntity(Object) - Method in AbstractMappingContext +
lock(Class, Serializable) - Method in AbstractHibernateSession
-
isPersistentEntity(Class) - Method in DefaultMappingConfigurationStrategy +
lock(Object, LockMode) - Method in IHibernateTemplate
-
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
-
isPropertyIndexed(Property) - Method in NativeEntryEntityPersister -
Implementors should override this method to provide support for embedded objects
-
isProxy(Object) - Method in JavassistProxyFactory -
-
isProxy(Object) - Method in ProxyFactory -
Checks whether the specified instance is a proxy
-
isReadableProperty(String) - Method in ClassPropertyFetcher -
-
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.
-
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.
-
isSimpleType(String) - Method in MappingFactory +
log - Field in AbstractEventTriggeringInterceptor
-
isStateless(PersistentEntity) - Method in AbstractSession -
-
isStateless() - Method in Entity -
@return Whether the entity state should be held in the session or not
-
isStateless(PersistentEntity) - Method in SessionImplementor -
@return Whether the session is stateless
-
isTransactionPresent(Datastore) - Method in TransactionUtils -
-
isVersioned() - Method in AbstractPersistentEntity -
-
isVersioned() - Method in AbstractPersistentEntity.MappingProperties +
LOG - Field in AbstractGrailsDomainBinder
-
isVersioned(EntityAccess) - Method in EntityPersister +
logCascadeMapping(GrailsDomainClassProperty, String, GrailsDomainClass) - Method in AbstractGrailsDomainBinder
-
isVersioned() - Method in PersistentEntity -
Is the entity versioned for optimistic locking.
-
isVetoed() - Method in PendingInsertAdapter +
lt(String, Object) - Method in AbstractHibernateQuery
-
isVetoed() - Method in PendingOperation -
@return Whether the operation has been vetoed
-
isVetoed() - Method in PendingOperationAdapter -
-
isVetoed() - Method in PendingUpdateAdapter -
-
iterator() - Method in AbstractPersistentCollection +
lt(String, Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
- - - -
-

-J

- -
- -
javaClass - Field in AbstractPersistentEntity -
-
JAVASIST_PROXY_FACTORY - Field in AbstractMappingContext -
-
JavassistProxyFactory - Class in org.grails.datastore.mapping.proxy -
A proxy factory that uses Javassist to create proxies
-
join(String) - Method in Query -
Specifies whether a join query should be used (if join queries are supported by the underlying datastore)
-
JpaQueryBuilder - Class in org.grails.datastore.mapping.query.jpa -
Builds JPA 1.0 String-based queries from the Query model
-
JpaQueryBuilder(PersistentEntity, Junction, ProjectionList, List) - Constructor in JpaQueryBuilder +
lte(String, Object) - Method in AbstractHibernateQuery
-
JpaQueryInfo - Class in org.grails.datastore.mapping.query.jpa -
-
JpaQueryInfo(String, List) - Constructor in JpaQueryInfo +
lte(String, Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery

-

-K

+

+M

-
keyspace - Field in KeyValueMappingFactory +
manyToMany - Field in GrailsHibernateDomainClassProperty
-
KeyValue - Class in org.grails.datastore.mapping.keyvalue.mapping.config +
manyToOne - Field in GrailsHibernateDomainClassProperty
-
KeyValue(String) - Constructor in KeyValue -
-
KeyValueEntry - Class in org.grails.datastore.mapping.keyvalue.engine -
@author Graeme Rocher
-
KeyValueEntry(String) - Constructor in KeyValueEntry +
MAP - Field in CollectionType
-
KeyValueMappingContext - Class in org.grails.datastore.mapping.keyvalue.mapping.config -
A MappingContext used to map objects to a Key/Value store
-
KeyValueMappingContext(String) - Constructor in KeyValueMappingContext -
Constructs a context using the given keyspace
-
KeyValueMappingFactory - Class in org.grails.datastore.mapping.keyvalue.mapping.config -
@author Graeme Rocher
-
KeyValueMappingFactory(String) - Constructor in KeyValueMappingFactory -
-
KeyValuePersistentEntity - Class in org.grails.datastore.mapping.keyvalue.mapping.config -
@author Graeme Rocher
-
KeyValuePersistentEntity.KeyValueClassMapping - Class in org.grails.datastore.mapping.keyvalue.mapping.config +
Mapping - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
Models the mapping from GORM classes to the db.
+
MAPPING_CACHE - Field in AbstractGrailsDomainBinder
-
KeyValuePersistentEntity.KeyValueClassMapping(PersistentEntity, MappingContext) - Constructor in KeyValuePersistentEntity.KeyValueClassMapping +
mappings - Field in AbstractGrailsDomainBinder.GrailsCollectionSecondPass
-
KeyValuePersistentEntity(Class, MappingContext) - Constructor in KeyValuePersistentEntity -
-
- - - -
-

-L

- -
- -
last() - Method in PersistentSortedSet -
-
LAST_UPDATED - Field in GormProperties -
-
lastIndexOf(Object) - Method in PersistentList -
-
le(String, Object) - Method in Criteria -
Used to restrict a value to be less than or equal to the given value
-
le(String, Object) - Method in Query -
Used to restrict a value to be less than or equal to the given value
-
leAll(String, QueryableCriteria) - Method in Criteria -
Creates a subquery criterion that ensures the given property is less than all the given returned values
-
leProperty(String, String) - Method in Criteria -
Constraints 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
-
like(String, Object) - Method in Criteria -
Creates an 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() - 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
-
listIterator(int) - Method in PersistentList -
-
loadEmbeddedCollection(EmbeddedCollection, EntityAccess, Object, String) - Method in NativeEntryEntityPersister -
Implementors should override to provide support for embedded objects.
-
loadEmbeddedCollectionKeys(Association, EntityAccess, Object) - Method in NativeEntryEntityPersister -
Implementors who want to support one-to-many associations embedded should implement this method
-
lock(Class, Serializable) - Method in AbstractSession -
-
lock(Serializable, int) - Method in LockableEntityPersister -
Acquire a lock using the given identifier and timeout delay
-
lock(Serializable, int) - Method in NativeEntryEntityPersister -
-
lock(Class, 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 -
-
lockedObjects - Field in AbstractSession -
-
lockEntry(PersistentEntity, String, Serializable, int) - Method in NativeEntryEntityPersister -
Subclasses can override to provide locking semantics
-
logger - Field in DatastoreUtils -
-
LOGICAL_AND - Field in JpaQueryBuilder -
-
LOGICAL_OR - Field in JpaQueryBuilder -
-
LongArrayToLongArrayConverter - Class in org.grails.datastore.mapping.model.types.conversion -
@author Stefan Armbruster
-
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 -
Constraints 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
-
- - - -
-

-M

- -
- -
makeAccessible(Method) - Method in ReflectionUtils -
Make the given method accessible, explicitly setting it accessible if necessary. -
-
ManualEntityOrdering - Class in org.grails.datastore.mapping.query.order -
Manual implementation of query ordering for datastores that don't support native ordering.
-
ManualEntityOrdering(PersistentEntity) - Constructor in ManualEntityOrdering +
max(int) - Method in AbstractHibernateQuery
-
ManualProjections - Class in org.grails.datastore.mapping.query.projections -
Implements common projections in-memory given a set of results.
-
ManualProjections(PersistentEntity) - Constructor in ManualProjections +
max(String) - Method in AbstractHibernateQuery.HibernateProjectionList
-
ManyToMany - Class in org.grails.datastore.mapping.model.types -
Models a many-to-many association between one class and another
-
ManyToMany(PersistentEntity, MappingContext, String, Class) - Constructor in ManyToMany +
maxResults(int) - Method in AbstractHibernateQuery
-
ManyToOne - Class in org.grails.datastore.mapping.model.types -
Models a many-to-one association
-
ManyToOne(PersistentEntity, MappingContext, String, Class) - Constructor in ManyToOne +
methodMissing(String, def) - Method in HibernateMappingBuilder
-
MAPPED_BY - Field in GormProperties +
methodMissing(String, def) - Method in HibernateNamedQueriesBuilder
-
MAPPING - Field in GormProperties +
methodMissing(String, def) - Method in NamedCriteriaProxy
-
MAPPING_STRATEGY - Field in GormProperties +
min(String) - Method in AbstractHibernateQuery.HibernateProjectionList
-
MappingConfigurationBuilder - Class in org.grails.datastore.mapping.config.groovy -
@author Graeme Rocher
-
MappingConfigurationBuilder(def, Class) - Constructor in MappingConfigurationBuilder -
-
MappingConfigurationStrategy - Interface in org.grails.datastore.mapping.model -
-
MappingContext - Interface in org.grails.datastore.mapping.model -
-
MappingContext.Listener - Interface in org.grails.datastore.mapping.model -
Implementors can register for events when the mapping context changes
-
mappingContext - Field in AbstractDatastore -
-
MappingFactory - Class in org.grails.datastore.mapping.model -
-
mappingFactory - Field in KeyValueMappingContext -
-
MappingUtils - Class in org.grails.datastore.mapping.engine.internal -
Utility methods for mapping logic.
-
markDirty() - Method in AbstractPersistentCollection -
-
markDirty(String) - Method in DirtyCheckable -
Marks the given property name as dirty
-
markDirty() - Method in PersistentCollection -
Mark the collection as dirty.
-
max(Collection, String) - Method in ManualProjections -
Calculates the maximum value of a property
-
max(String) - Method in ProjectionList -
Computes the max value of a property
-
max(String) - Method in Projections -
Computes the max value of a property
-
max - Field in Query -
-
max(String) - Method in Query.ProjectionList -
Computes the max value of a property
-
maxResults(int) - Method in Query -
Defines the maximum number of results to return
-
metaClass - Field in GroovyObjectMethodHandler -
-
min(Collection, String) - Method in ManualProjections -
Calculates the minimum value of a property
-
min(String) - Method in ProjectionList -
Computes the min value of a property
-
min(String) - Method in Projections -
Computes the min value of a property
-
min(String) - Method in Query.ProjectionList -
Computes the min value of a property
@@ -2273,52 +1292,23 @@
-
name - Field in AbstractPersistentProperty +
name - Field in GrailsHibernateDomainClassProperty
-
name - Field in Query.PropertyNameCriterion -
-
NAMED_QUERIES - Field in GormProperties -
-
NameUtils - Class in org.grails.datastore.mapping.reflect -
@author Graeme Rocher
-
nativeEntry - Field in PendingOperationAdapter +
namedCriteriaParams - Field in NamedCriteriaProxy
-
NativeEntryEntityPersister - Class in org.grails.datastore.mapping.engine -
Provides an implementation of the EntityPersister class that - reads and writes against a native datastore type specified by the generic type parameter T
-
NativeEntryEntityPersister.NativeEntryModifyingEntityAccess - Class in org.grails.datastore.mapping.engine +
NamedCriteriaProxy - Class in org.codehaus.groovy.grails.orm.hibernate.cfg
-
NativeEntryEntityPersister.NativeEntryModifyingEntityAccess(PersistentEntity, Object) - Constructor in NativeEntryEntityPersister.NativeEntryModifyingEntityAccess +
NamedCriteriaProxy() - Constructor in NamedCriteriaProxy
-
NativeEntryEntityPersister(MappingContext, PersistentEntity, Session, ApplicationEventPublisher, TPCacheAdapterRepository) - Constructor in NativeEntryEntityPersister -
-
nativeKey - Field in PendingOperationAdapter -
-
ne(String, Object) - Method in Criteria -
Creates a "not equals" Criterion based on the specified property name and value.
-
ne(String, Object) - Method in Restrictions -
Restricts the property to be not equal to the given value
-
negation() - Method in Query -
Creates a negation of several criterion
-
neProperty(String, String) - Method in Criteria -
Constraints a property to be not equal to a specified other property
-
neProperty(String, String) - Method in Restrictions -
Constraints a property to be not equal to a specified other property
-
newEntityInstance(PersistentEntity) - Method in EntityPersister -
-
newInstance() - Method in AbstractPersistentEntity -
-
newInstance() - Method in PersistentEntity -
Constructs a new instance
-
next() - Method in PersistentList.PersistentListIterator -
-
nextIndex() - Method in PersistentList.PersistentListIterator +
NAMING_STRATEGIES - Field in AbstractGrailsDomainBinder +
Overrideable naming strategy.
+
NaturalId - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
@author Graeme Rocher
+
naturalName - Field in GrailsHibernateDomainClassProperty
-
NonPersistentTypeException - Class in org.grails.datastore.mapping.engine -
Thrown when an object cannot be persisted.
-
NonPersistentTypeException(String) - Constructor in NonPersistentTypeException +
negation() - Method in AbstractHibernateQuery
-
NOT_CLAUSE - Field in JpaQueryBuilder +
negation() - Method in AbstractHibernateQuery.HibernateAssociationQuery
@@ -2330,43 +1320,29 @@
-
offset - Field in Query +
offset(int) - Method in AbstractHibernateQuery
-
onApplicationEvent(ApplicationEvent) - Method in AbstractPersistenceEventListener -
{@inheritDoc}
-
onErrors(Object, Errors) - Method in ValidatingEventListener -
Sub classes should override to receive error notifications
-
OneToMany - Class in org.grails.datastore.mapping.model.types -
Models a one-to-many association
-
OneToMany(PersistentEntity, MappingContext, String, Class) - Constructor in OneToMany +
oneToMany - Field in GrailsHibernateDomainClassProperty +
+
oneToOne - Field in GrailsHibernateDomainClassProperty
-
OneToOne - Class in org.grails.datastore.mapping.model.types -
Models a one-to-one association
-
OneToOne(PersistentEntity, MappingContext, String, Class) - Constructor in OneToOne +
opField - Field in AbstractHibernateQuery
-
onPersistenceEvent(AbstractPersistenceEvent) - Method in AbstractPersistenceEventListener +
optional - Field in GrailsHibernateDomainClassProperty
-
onPersistenceEvent(AbstractPersistenceEvent) - Method in ValidatingEventListener +
or(Criterion, Criterion) - Method in AbstractHibernateQuery
-
OptimisticLockingException - Class in org.grails.datastore.mapping.core -
Indicates an optimistic locking violation during an update.
-
OptimisticLockingException(PersistentEntity, Object) - Constructor in OptimisticLockingException +
or(Criterion, Criterion) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
or(Query.Criterion, Query.Criterion) - Method in Query -
Creates a disjunction using two specified criterion
-
or(Criterion, Criterion) - Method in Restrictions +
order(Order) - Method in AbstractHibernateQuery
-
order(String, String) - Method in Criteria -
Orders by the specified property name and direction
-
order(Query.Order) - Method in Query -
Specifies the order of results
-
orderBy - Field in Query +
order(String) - Method in HibernateMappingBuilder
-
otherProperty - Field in Query.PropertyComparisonCriterion +
order(String, String) - Method in NamedCriteriaProxy
-
owner - Field in AbstractPersistentProperty +
otherSide - Field in GrailsHibernateDomainClassProperty
-
owners - Field in AbstractPersistentEntity +
owingSide - Field in GrailsHibernateDomainClassProperty
@@ -2378,183 +1354,37 @@
-
pendingDeletes - Field in AbstractSession -
-
PendingInsert - Interface in org.grails.datastore.mapping.core.impl -
An insert that is pending execution in a flush() operation
-
PendingInsertAdapter - Class in org.grails.datastore.mapping.core.impl -
Provides default implementation for most of the methods in the PendingInsert interafce
-
PendingInsertAdapter(PersistentEntity, Object, E, EntityAccess) - Constructor in PendingInsertAdapter -
-
PendingOperation - Interface in org.grails.datastore.mapping.core.impl -
An operation that is pending execution.
-
PendingOperationAdapter - Class in org.grails.datastore.mapping.core.impl -
Base implementation of the PendingOperation interface.
-
PendingOperationAdapter(PersistentEntity, Object, E) - Constructor in PendingOperationAdapter -
-
PendingOperationExecution - Class in org.grails.datastore.mapping.core.impl -
Provides a default implementation to execute a pending operation.
-
PendingUpdate - Interface in org.grails.datastore.mapping.core.impl -
An update that is pending execution in a flush() operation
-
PendingUpdateAdapter - Class in org.grails.datastore.mapping.core.impl -
Provides a default implementation for the PendingUpdate interface
-
PendingUpdateAdapter(PersistentEntity, Object, E, EntityAccess) - Constructor in PendingUpdateAdapter -
-
persist(Iterable) - Method in AbstractSession -
-
persist(Iterable) - Method in EntityPersister -
-
persist(Iterable) - Method in Persister -
Persists a number of objects at the same time and - returns their keys in the order specified by the objs parameter
-
persist(Iterable) - Method in Session -
Persists several objects returning their identifiers in the order specified by the Iterable
-
PersistenceEventListener - Interface in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
PersistentCollection - Interface in org.grails.datastore.mapping.collection -
A lazy loaded collection.
-
persistentEntities - Field in AbstractMappingContext -
-
persistentEntitiesByDiscriminator - Field in AbstractMappingContext -
-
persistentEntitiesByName - Field in AbstractMappingContext -
-
PersistentEntity - Interface in org.grails.datastore.mapping.model -
Represents a persistent entity.
-
persistentEntity - Field in EntityAccess -
-
persistentEntityAdded(PersistentEntity) - Method in MappingContext.Listener -
Fired when a new entity is added
-
persistEntities(PersistentEntity, Iterable) - Method in EntityPersister +
parse(Element, ParserContext) - Method in GORMSessionFactoryDefinitionParser
-
persistEntities(PersistentEntity, Iterable) - Method in NativeEntryEntityPersister +
persist(Iterable) - Method in AbstractHibernateSession
-
persistEntity(PersistentEntity, Object) - Method in EntityPersister -
Persist the given persistent entity
-
persistEntity(PersistentEntity, Object) - Method in NativeEntryEntityPersister +
postProcessAfterInitialization(def, String) - Method in GORMEnhancingBeanPostProcessor
-
PersistentList - Class in org.grails.datastore.mapping.collection -
A lazy loaded list.
-
PersistentList(Serializable, Session, AssociationIndexer) - Constructor in PersistentList +
previousInChain - Field in NamedCriteriaProxy
-
persistentProperties - Field in AbstractPersistentEntity +
projections() - Method in AbstractHibernateQuery
-
PersistentProperty - Interface in org.grails.datastore.mapping.model -
@author Graeme Rocher
-
persistentPropertyNames - Field in AbstractPersistentEntity -
-
PersistentSet - Class in org.grails.datastore.mapping.collection -
A lazy loaded set.
-
PersistentSet(Serializable, Session, AssociationIndexer) - Constructor in PersistentSet -
-
PersistentSortedSet - Class in org.grails.datastore.mapping.collection -
A lazy loaded sorted set.
-
PersistentSortedSet(Serializable, Session, AssociationIndexer) - Constructor in PersistentSortedSet -
-
Persister - Interface in org.grails.datastore.mapping.engine -
A Persister is responsible for persisting and retrieving an object.
-
persisters - Field in AbstractSession -
-
PostDeleteEvent - Class in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
PostDeleteEvent(Datastore, Object) - Constructor in PostDeleteEvent +
properties - Field in AbstractGrailsHibernateDomainClass
-
postFlush(boolean) - Method in AbstractSession +
property - Field in AbstractGrailsDomainBinder.GrailsCollectionSecondPass
-
postFlushOperations - Field in AbstractSession +
property(String) - Method in AbstractHibernateQuery.HibernateProjectionList
-
PostInsertEvent - Class in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
PostInsertEvent(Datastore, Object) - Constructor in PostInsertEvent -
-
PostLoadEvent - Class in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
PostLoadEvent(Datastore, Object) - Constructor in PostLoadEvent -
-
PostQueryEvent - Class in org.grails.datastore.mapping.query.event -
Query fired after a query has run.
-
PostQueryEvent(Query, List) - Constructor in PostQueryEvent -
-
PostUpdateEvent - Class in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
PostUpdateEvent(Datastore, Object) - Constructor in PostUpdateEvent -
-
PreDeleteEvent - Class in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
PreDeleteEvent(Datastore, Object) - Constructor in PreDeleteEvent -
-
preIndex(Object, List) - Method in AssociationIndexer -
Creates an index queryable via the primary key.
-
PreInsertEvent - Class in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
PreInsertEvent(Datastore, Object) - Constructor in PreInsertEvent -
-
PreLoadEvent - Class in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
PreLoadEvent(Datastore, Object) - Constructor in PreLoadEvent -
-
PreQueryEvent - Class in org.grails.datastore.mapping.query.event -
Event fired immediately before a query is executed.
-
PreQueryEvent(Query) - Constructor in PreQueryEvent -
-
PreUpdateEvent - Class in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
PreUpdateEvent(Datastore, Object) - Constructor in PreUpdateEvent -
-
previous() - Method in PersistentList.PersistentListIterator -
-
previousIndex() - Method in PersistentList.PersistentListIterator -
-
PRIMITIVE_TYPE_COMPATIBLE_CLASSES - Field in ReflectionUtils -
-
processDeferredClose(Datastore) - Method in DatastoreUtils -
Process all Datastore Sessions that have been registered for deferred close - for the given SessionFactory.
-
ProjectionList - Interface in org.grails.datastore.mapping.query.api -
Models a list of projections
-
Projections - Class in org.grails.datastore.mapping.query -
Projections used to customize the results of a query
-
projections - Field in Query -
-
propertiesByName - Field in AbstractPersistentEntity -
-
Property - Class in org.grails.datastore.mapping.config -
Base class for classes returned from PropertyMapping.getMappedForm
-
property(Collection, String) - Method in ManualProjections -
Obtains a properties value from the results
-
property(String) - Method in ProjectionList -
A projection that obtains the value of a property of an entity
-
property(String) - Method in Projections -
A projection that obtains the value of a property of an entity
-
property(String) - Method in Query.ProjectionList -
A projection that obtains the value of a property of an entity
-
PropertyMapping - Interface in org.grails.datastore.mapping.model -
Interface for a property mapping which specifies what or where a particular property is mapped to.
-
PropertyValueIndexer - Interface in org.grails.datastore.mapping.engine -
Responsible for creating indices for property values used in queries.
-
proxy(Class, Serializable) - Method in AbstractSession -
-
proxy(Serializable) - Method in EntityPersister -
-
proxy(Serializable) - Method in LockableEntityPersister -
-
proxy(Serializable) - Method in Persister -
Creates a proxy for the given key
-
proxy(Class, Serializable) - Method in Session -
Retrieves a proxy for the given key
-
proxyClass - Field in GroovyObjectMethodHandler -
-
ProxyFactory - Interface in org.grails.datastore.mapping.proxy -
The factory used to create proxies
-
proxyFactory - Field in AbstractMappingContext +
PropertyConfig - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
Custom mapping for a single domain property.
+
PropertyDefinitionDelegate - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
Builder delegate that handles multiple-column definitions for a + single domain property, e.g. +
+
PropertyDefinitionDelegate(PropertyConfig) - Constructor in PropertyDefinitionDelegate
-
proxyFactory - Field in EntityPersister +
propertyMap - Field in AbstractGrailsHibernateDomainClass
-
publisher - Field in AbstractSession +
propertyMissing(String) - Method in NamedCriteriaProxy
-
publisher - Field in EntityPersister +
proxy(Class, Serializable) - Method in AbstractHibernateSession
-
putAt(String, String) - Method in ValidationErrors +
putAt(String, def) - Method in InstanceProxy
@@ -2566,242 +1396,9 @@
-
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) - 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 -
-
Query.Criterion - Interface in org.grails.datastore.mapping.query -
-
Query.Disjunction - Class in org.grails.datastore.mapping.query -
A Criterion used to combine to criterion in a logical OR
-
Query.Disjunction(List) - 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 -
-
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.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 -
-
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 -
-
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.GreaterThanProperty - Class in org.grails.datastore.mapping.query -
-
Query.GreaterThanProperty(String, String) - Constructor in Query.GreaterThanProperty +
qualify(String, String) - Method in AbstractGrailsDomainBinder
-
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 -
-
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, Collection) - 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) - 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 -
-
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 -
-
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.LessThanProperty - Class in org.grails.datastore.mapping.query -
-
Query.LessThanProperty(String, String) - Constructor in Query.LessThanProperty -
-
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 -
-
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.Order - Class in org.grails.datastore.mapping.query -
The ordering of results.
-
Query.Order.Direction - Enum in org.grails.datastore.mapping.query -
-
Query.Order(String, Query.Order.Direction) - Constructor in Query.Order -
-
Query.Projection - Class in org.grails.datastore.mapping.query -
-
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 -
-
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(Object) - Method in AssociationIndexer -
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
-
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 -
-
QueryEventType - Enum in org.grails.datastore.mapping.query.event -
The type of a query event.
-
queryInternal(PersistentProperty, String, PropertyCriterion, Q) - Method in AbstractMappingAwareCustomTypeMarshaller +
queryBuilder - Field in NamedCriteriaProxy
@@ -2813,114 +1410,39 @@
-
read(PersistentProperty, N) - Method in AbstractMappingAwareCustomTypeMarshaller -
-
read(Class, String, Map, Object) - Method in ConfigUtils -
-
read(PersistentProperty, N) - Method in CustomTypeMarshaller -
Converts a value from its native form
-
readIdentifierFromObject(Object) - Method in NativeEntryEntityPersister -
-
readInternal(PersistentProperty, String, N) - Method in AbstractMappingAwareCustomTypeMarshaller -
-
readObjectIdentifier(EntityAccess, ClassMapping) - Method in NativeEntryEntityPersister -
-
ReflectionUtils - Class in org.grails.datastore.mapping.reflect -
Provides methods to help with reflective operations
-
refresh(Object) - Method in AbstractSession -
-
refresh() - Method in EntityAccess -
Refreshes the object from entity state.
-
refresh(Object) - Method in NativeEntryEntityPersister -
-
refresh(Object) - Method in Persister -
Refreshes the given objects state
-
refresh(Object) - Method in Session -
Refreshes the given objects state
-
refreshObjectStateFromNativeEntry(PersistentEntity, Object, Serializable, Object, boolean) - Method in NativeEntryEntityPersister -
-
register(ConverterRegistry) - Method in BasicTypeConverterRegistrar -
-
registerCustomType(CustomTypeMarshaller) - Method in MappingFactory +
reconnect() - Method in AbstractAggregatePersistenceContextInterceptor
-
registerValidationListener() - Method in AbstractDatastore +
referencedDomainClass - Field in GrailsHibernateDomainClassProperty
-
RelationalDatastore - Interface in org.grails.datastore.mapping.rdbms -
@author Guillaume Laforge
-
releaseSession(Session, Datastore) - Method in DatastoreUtils -
Close the given Session, created via the given factory, - if it is not managed externally (i.e. not bound to the thread).
-
remove(Object) - Method in AbstractPersistentCollection +
refresh(Object) - Method in AbstractHibernateSession
-
remove(int) - Method in PersistentList +
refresh(Object) - Method in IHibernateTemplate
-
remove() - Method in PersistentList.PersistentListIterator +
refreshConstraints() - Method in AbstractGrailsHibernateDomainClass
-
removeAll(Collection) - Method in AbstractPersistentCollection +
registerAssociationIdentifierGetter(ProxyFactory, MetaClass, ToOne) - Method in AbstractHibernateGormEnhancer
-
removeAttributesForEntity(Object) - Method in AbstractAttributeStoringSession +
registerConstraints(Datastore) - Method in AbstractHibernateGormEnhancer
-
removeSession(Session) - Method in SessionHolder +
registerNamedQueries(PersistentEntity, def) - Method in AbstractHibernateGormEnhancer
-
resetDirty() - Method in AbstractPersistentCollection +
registerValidationListener() - Method in AbstractHibernateDatastore
-
resetDirty() - Method in PersistentCollection -
Mark the collection as no longer dirty.
-
resolveDelegate(Object) - Method in GroovyObjectMethodHandler +
relatedClassType - Field in GrailsHibernateDomainClassProperty
-
resolveIdentifier() - Method in AbstractPersistentEntity +
removeBackticks(String) - Method in AbstractGrailsDomainBinder
-
resolveIdentifier() - Method in EmbeddedPersistentEntity +
render(BasicType, List, SessionFactory, SQLFunction) - Method in AbstractHibernateQuery
-
resolveIdIfEntity(Object) - Method in Query +
retrieve(Class, Serializable) - Method in AbstractHibernateSession
-
Restrictions - Class in org.grails.datastore.mapping.query -
Factory for creating org.grails.datastore.mapping.query.Query.Criterion instances
-
resume() - Method in SpringSessionSynchronization +
retrieveAll(Class, Serializable) - Method in AbstractHibernateSession
-
retainAll(Collection) - Method in AbstractPersistentCollection +
rlike(String, String) - Method in AbstractHibernateQuery
-
retrieve(Class, Serializable) - Method in AbstractSession +
rlike(String, String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
-
retrieve(Serializable) - Method in EntityPersister -
-
retrieve(Serializable) - Method in Persister -
Retrieves an object for the given context and Key
-
retrieve(Class, Serializable) - Method in Session -
Retrieves an individual object
-
retrieveAll(Class, Serializable) - Method in AbstractSession -
-
retrieveAll(Serializable) - Method in EntityPersister -
-
retrieveAll(Serializable) - Method in Persister -
Batch retrieve several objects in one go
-
retrieveAll(Class, Serializable) - Method in Session -
Retrieves several objects for the specified keys
-
retrieveAllEntities(PersistentEntity, Iterable) - Method in EntityPersister -
-
retrieveAllEntities(PersistentEntity, Serializable) - Method in NativeEntryEntityPersister -
Reads a value for the given key from the native entry
-
retrieveEntity(PersistentEntity, Serializable) - Method in EntityPersister -
Retrieve a PersistentEntity for the given mappingContext and key
-
retrieveEntity(PersistentEntity, Serializable) - Method in NativeEntryEntityPersister -
-
retrieveEntry(PersistentEntity, String, Serializable) - Method in NativeEntryEntityPersister -
-
retrieveSession(Class) - Method in AbstractDatastore -
Static way to retrieve the session
-
rlike(String, Object) - Method in Criteria -
Creates an rlike Criterion based on the specified property name and value.
-
rlike(String, String) - Method in Query -
Restricts the results by the given properties value
-
rlike(String, String) - Method in Restrictions -
Restricts the property match the given regular expressions.
-
rollback() - Method in SessionOnlyTransaction -
-
rollback() - Method in Transaction -
Rollback the transaction.
-
rowCount() - Method in ProjectionList -
Count the number of records returned
-
rowCount() - Method in Query.ProjectionList +
rowCount() - Method in AbstractHibernateQuery.HibernateProjectionList
@@ -2932,309 +1454,130 @@
-
SaveOrUpdateEvent - Class in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
SaveOrUpdateEvent(Datastore, Object) - Constructor in SaveOrUpdateEvent -
-
select(String) - Method in Query -
Specifies whether a select (lazy) query should be used (if join queries are supported by the underlying datastore)
-
Session - Interface in org.grails.datastore.mapping.core -
The Session represents the active interaction with a datastore.
-
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 -
-
SessionHolder - Class in org.grails.datastore.mapping.transactions -
Holds a reference to one or more sessions.
-
SessionHolder(Session) - Constructor in SessionHolder +
save(Object) - Method in IHibernateTemplate
-
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 +
sessionFactory - Field in AbstractGrailsHibernateDomainClass
-
SessionOnlyTransaction(Object, Session) - Constructor in SessionOnlyTransaction +
sessionFactory - Field in AbstractHibernateDatastore
-
sessionPropertyMap - Field in AbstractAttributeStoringSession +
sessionFactory - Field in AbstractHibernateGormInstanceApi
-
set(int, Object) - Method in PersistentList +
sessionFactoryBeanName - Field in AbstractGrailsDomainBinder.GrailsCollectionSecondPass
-
set(Object) - Method in PersistentList.PersistentListIterator +
SessionFactoryHolder - Class in org.codehaus.groovy.grails.orm.hibernate +
Holds a reference to the SessionFactory, used to allow proxying of the + session factory in development mode.
+
sessionFactoryName - Field in AbstractGrailsHibernateDomainClass
-
setApplicationContext(ApplicationContext) - Method in AbstractDatastore +
SET - Field in CollectionType
-
setArguments(Map) - Method in QueryArgumentsAware -
@param arguments The query arguments
-
setAssociatedEntity(PersistentEntity) - Method in Association +
setApplicationContext(ApplicationContext) - Method in AbstractAggregatePersistenceContextInterceptor
-
setAttr(String) - Method in Attribute +
setAssociation(boolean) - Method in GrailsHibernateDomainClassProperty
-
setAttribute(Object, String, Object) - Method in AbstractAttributeStoringSession +
setBidirectional(boolean) - Method in GrailsHibernateDomainClassProperty
-
setAttribute(String) - Method in Attribute +
setCascadeBehaviour(GrailsDomainClassProperty, Property) - Method in AbstractGrailsDomainBinder
-
setAttribute(Object, String, Object) - Method in Session -
Associates an attribute with the given persistent entity.
-
setAutoTimestamp(boolean) - Method in Entity +
setColumnName(String) - Method in GrailsHibernateDomainClassProperty
-
setCanExpandMappingContext(boolean) - Method in DefaultMappingConfigurationStrategy +
setDataSource(DataSource) - Method in SpringLobHandlerDetectorFactoryBean
-
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 +
setDataSourceName(String) - Method in GrailsDomainConfiguration +
The Spring bean name of the DataSource.
+
setDataSourceNames(List) - Method in AbstractAggregatePersistenceContextInterceptor +
Dependency injection for the datasource names.
+
setDerived(boolean) - Method in GrailsHibernateDomainClassProperty
-
setCanInitializeEntities(boolean) - Method in KeyValueMappingContext +
setDetachedCriteriaValue(QueryableCriteria, PropertyCriterion) - Method in AbstractHibernateQuery
-
setCollection(String) - Method in Collection -
Sets the name of the collection
-
setConnectionDetails(Map) - Method in AbstractDatastore +
setExplicitSaveUpdateCascade(boolean) - Method in GrailsHibernateDomainClassProperty
-
setConversionService(ConversionService) - Method in EntityAccess +
setFlushMode(int) - Method in IHibernateTemplate
-
setConversionService(ConversionService) - Method in JpaQueryBuilder +
setGrailsApplication(GrailsApplication) - Method in GrailsDomainConfiguration +
Sets the grails application instance.
+
setIdentity(boolean) - Method in GrailsHibernateDomainClassProperty
-
setDatastore(Datastore) - Method in DatastoreAware -
Sets the datastore on this instance
-
setDatastore(Datastore) - Method in DatastoreTransactionManager +
setListenerMap(Map) - Method in HibernateEventListeners
-
setDatastoreManagedSession(boolean) - Method in DatastoreTransactionManager +
setManyToMany(boolean) - Method in GrailsHibernateDomainClassProperty
-
setDateVersion(EntityAccess) - Method in EntityPersister +
setManyToOne(boolean) - Method in GrailsHibernateDomainClassProperty
-
setDefaultMapping(Closure) - Method in AbstractGormMappingFactory +
setMappingStrategy(String) - Method in AbstractGrailsHibernateDomainClass
-
setEmbedded(Object, String, Object) - Method in NativeEntryEntityPersister +
setNativeJdbcExtractor(NativeJdbcExtractor) - Method in SpringLobHandlerDetectorFactoryBean
-
setEmbeddedCollection(Object, String, Collection, List) - Method in NativeEntryEntityPersister +
setOneToMany(boolean) - Method in GrailsHibernateDomainClassProperty
-
setEmbeddedCollectionKeys(Association, EntityAccess, Object, List) - Method in NativeEntryEntityPersister +
setOneToOne(boolean) - Method in GrailsHibernateDomainClassProperty
-
setEntryValue(Object, String, Object) - Method in NativeEntryEntityPersister +
setOptional(boolean) - Method in GrailsHibernateDomainClassProperty
-
setExistingSession(Session) - Method in TransactionObject +
setOtherSide(GrailsDomainClassProperty) - Method in GrailsHibernateDomainClassProperty
-
setExternal(boolean) - Method in AbstractPersistentEntity +
setOwningSide(boolean) - Method in GrailsHibernateDomainClassProperty
-
setExternal(boolean) - Method in PersistentEntity -
Whether this PersistentEntity is mapped using a different store.
-
setFamily(String) - Method in Family +
setPooledConnection(boolean) - Method in SpringLobHandlerDetectorFactoryBean
-
setFetchStrategy(FetchType) - Method in Association +
setProperty(String, def) - Method in InstanceProxy
-
setFetchStrategy(FetchType) - Method in Property +
setReadOnly() - Method in AbstractAggregatePersistenceContextInterceptor
-
setFlushMode(FlushModeType) - Method in AbstractSession +
setReadWrite() - Method in AbstractAggregatePersistenceContextInterceptor
-
setFlushMode(FlushModeType) - Method in Session -
The flush mode, defaults to FlushModeType.AUTO
-
setForeignKeyInChild(boolean) - Method in ToOne +
setReferencedDomainClass(GrailsDomainClass) - Method in GrailsHibernateDomainClassProperty
-
setGenerator(String) - Method in Property -
Set the id generator name or class.
-
setHibernateCompatible(boolean) - Method in JpaQueryBuilder +
setRelatedClassType(GrailsHibernateDomainClassProperty, AssociationType, Type) - Method in AbstractGrailsHibernateDomainClass
-
setIdentifier(Object) - Method in EntityAccess +
setRelatedClassType(Class) - Method in GrailsHibernateDomainClassProperty
-
setIndex(boolean) - Method in Property -
Whether this property is index
-
setIntialized(boolean) - Method in AbstractPersistentEntity.MappingProperties +
setSessionFactory(SessionFactory) - Method in SessionFactoryHolder
-
setInversePropertyName(String) - Method in ManyToMany +
setSessionFactoryBeanName(String) - Method in GrailsDomainConfiguration +
The Spring bean name of the SessionFactory.
+
setTableName(String) - Method in Mapping +
Set the table name
+
setTablePerConcreteClass(boolean) - Method in Mapping
-
setKey(String) - Method in KeyValue +
setType(Class) - Method in GrailsHibernateDomainClassProperty
-
setKeyspace(String) - Method in Family +
setTypeForPropertyConfig(GrailsDomainClassProperty, SimpleValue, PropertyConfig) - Method in AbstractGrailsDomainBinder +
Binds a value for the specified parameters to the meta model.
+
setUniqueName(UniqueKey) - Method in AbstractGrailsDomainBinder
-
setManyToMany(PersistentEntity, Object, Object, ManyToMany, Collection, Map) - Method in NativeEntryEntityPersister +
setValidator(Validator) - Method in AbstractGrailsHibernateDomainClass
-
setMappingFactory(MappingFactory) - Method in KeyValueMappingContext +
shouldBindCollectionWithForeignKey(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
setName(String) - Method in Property +
shouldCollectionBindWithJoinColumn(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
-
setNativeEntry(Object) - Method in NativeEntryEntityPersister.NativeEntryModifyingEntityAccess +
shouldFlush(Map) - Method in AbstractHibernateGormInstanceApi
-
setNativeEvent(Serializable) - Method in AbstractPersistenceEvent +
singleResult() - Method in AbstractHibernateQuery
-
setNullable(boolean) - Method in Property +
SIZE_CONSTRAINT_PREFIX - Field in AbstractHibernateQuery
-
setObjectErrors(Object, Errors) - Method in AbstractDatastore +
SoftKey - Class in org.codehaus.groovy.grails.orm.hibernate.support +
SoftReference key to be used with ConcurrentHashMap.
+
SoftKey(Object) - Constructor in SoftKey
-
setObjectErrors(Object, Errors) - Method in Datastore -
Register validation errors for an instance.
-
setObjectIdentifier(Object, Serializable) - Method in EntityPersister -
Obtains an objects identifer
-
setOwningSide(boolean) - Method in Association +
sort(Map) - Method in HibernateMappingBuilder
-
setOwningSide(boolean) - Method in Basic +
SortConfig - Class in org.codehaus.groovy.grails.orm.hibernate.cfg
-
setProperty(String, Object) - Method in EntityAccess +
SpringLobHandlerDetectorFactoryBean - Class in org.codehaus.groovy.grails.orm.hibernate.support +
Attempts to auto-detect the LobHandler to use from the db meta data.
+
STRING_TYPE - Field in AbstractGrailsDomainBinder
-
setProperty(Object, String, Object) - Method in GroovyObjectMethodHandler +
subClasses - Field in AbstractGrailsHibernateDomainClass
-
setProperty(String, Object) - Method in NativeEntryEntityPersister.NativeEntryModifyingEntityAccess +
sum(String) - Method in AbstractHibernateQuery.HibernateProjectionList
-
setPropertyNoConversion(String, Object) - Method in EntityAccess -
-
setProxyFactory(ProxyFactory) - Method in AbstractMappingContext -
-
setProxyFactory(ProxyFactory) - Method in MappingContext -
Factory to use for creating proxies
-
setReferencedPropertyName(String) - Method in Association -
-
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.
-
setSkipValidation(Object, boolean) - Method in AbstractDatastore -
-
setSkipValidation(Object, boolean) - Method in Datastore -
Register that validation should be skipped or not.
-
setStateless(boolean) - Method in Entity -
-
setSyntaxStrategy(MappingConfigurationStrategy) - Method in KeyValueMappingContext -
-
setTargetName(String) - Method in Property -
-
setThisMetaClass(MetaClass) - Method in GroovyObjectMethodHandler -
-
setTimeout(int) - Method in SessionOnlyTransaction -
-
setTimeout(int) - Method in Transaction -
Sets the transaction timeout period
-
setToIndex(Map) - Method in NativeEntryEntityPersister.NativeEntryModifyingEntityAccess -
-
setTPCacheAdapter(String, TPCacheAdapter) - Method in TPCacheAdapterRepository -
Sets TPCacheAdapter for the specified FQN java class of PersistentEntity. -
-
setTPCacheAdapter(String, TPCacheAdapter) - Method in TPCacheAdapterRepositoryImpl -
-
setTransaction(Transaction) - Method in SessionHolder -
-
setTransaction(Transaction) - Method in TransactionObject -
-
setUniqueResult(boolean) - Method in Query -
Here purely for compatibility
-
setValidatedFields(List) - Method in ValidationEvent -
-
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(boolean) - Method in AbstractPersistentEntity.MappingProperties -
-
setVersion(EntityAccess) - Method in EntityPersister -
-
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
-
size() - Method in AbstractPersistentCollection -
-
size() - Method in SessionHolder -
-
sizeEq(String, int) - Method in Criteria -
Creates a Criterion that contrains 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 contrains 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 contrains 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 contrains 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 contrains 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 contrains 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
-
skipValidation(Object) - Method in AbstractDatastore -
-
skipValidation(Object) - Method in Datastore -
Check if validation should be skipped.
-
SoftThreadLocalMap - Class in org.grails.datastore.mapping.core -
Creates a InheritableThreadLocal with an intial value of a Map.
-
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 -
-
stateless - Field in AbstractSession -
-
StatelessDatastore - Interface in org.grails.datastore.mapping.core -
For Datastores that support stateless connectivity
-
storeEntry(PersistentEntity, EntityAccess, Object, Object) - Method in NativeEntryEntityPersister -
-
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
-
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(Datastore) - Method in AbstractMappingAwareCustomTypeMarshaller -
-
supports(Datastore) - Method in CustomTypeMarshaller -
Whether the marshaller supports the given datastore type
-
supportsEventType(Class) - Method in ValidatingEventListener -
-
supportsSourceType(Class) - Method in AbstractPersistenceEventListener -
-
suspend() - Method in SpringSessionSynchronization -
-
syntaxStrategy - Field in KeyValueMappingContext +
supportsEventType(Class) - Method in AbstractEventTriggeringInterceptor +
{@inheritDoc}
+
supportsJoinColumnMapping(GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder
@@ -3246,43 +1589,37 @@
-
tailSet(Object) - Method in PersistentSortedSet +
Table - Class in org.codehaus.groovy.grails.orm.hibernate.cfg +
Represents a table definition in GORM.
+
table(Map) - Method in HibernateMappingBuilder
-
toArray(Object) - Method in AbstractPersistentCollection +
tablePerConcreteClass(boolean) - Method in HibernateMappingBuilder +
If true the class and its subclasses will be mapped with table per subclass mapping
+
tablePerHierarchy(boolean) - Method in HibernateMappingBuilder +
If true the class and its sub classes will be mapped with table per hierarchy mapping
+
tablePerSubclass(boolean) - Method in HibernateMappingBuilder +
If true the class and its subclasses will be mapped with table per subclass mapping
+
toHibernateCriterion(AbstractHibernateQuery) - Method in AbstractHibernateCriterionAdapter
-
ToOne - Class in org.grails.datastore.mapping.model.types -
@author Graeme Rocher
-
ToOne(PersistentEntity, MappingContext, String, Class) - Constructor in ToOne +
toHibernateCriterion(AbstractHibernateQuery, Criterion, String) - Method in AbstractHibernateCriterionAdapter.CriterionAdaptor
-
toString() - Method in AbstractPersistentCollection +
toHibernateProjection() - Method in HibernateProjectionAdapter
-
toString() - Method in AbstractPersistentEntity +
toHibernateProjection(Projection) - Method in HibernateProjectionAdapter.ProjectionAdapter
-
toString() - Method in AbstractPersistentProperty +
toString() - Method in CollectionType
-
toString() - Method in AbstractSession.CollectionKey +
toString() - Method in ColumnConfig
-
toString() - Method in Association +
toString() - Method in Identity
-
TPCacheAdapter - Interface in org.grails.datastore.mapping.cache -
Third party cache adapter responsible for handling put and get cache operations - for concrete third party cache such as infinispan or coherence. -
-
TPCacheAdapterRepository - Interface in org.grails.datastore.mapping.cache -
A repository of TPCacheAdapters.
-
TPCacheAdapterRepositoryImpl - Class in org.grails.datastore.mapping.cache.impl -
Simple implementation of TPCacheAdapterRepository
-
trackChanges() - Method in DirtyCheckable -
Indicates that the instance should start tacking changes.
-
Transaction - Interface in org.grails.datastore.mapping.transactions -
Class giving the ability to start, commit and rollback a transaction.
-
TransactionObject - Class in org.grails.datastore.mapping.transactions -
A transaction object returned when the transaction is created.
-
TransactionUtils - Class in org.grails.datastore.mapping.transactions -
Utility methods for Transactions.
-
TRANSIENT - Field in GormProperties -
-
type - Field in AbstractPersistentProperty +
toString() - Method in PropertyConfig +
+
trackCustomCascadingSaves(Mapping, GrailsDomainClassProperty) - Method in AbstractGrailsDomainBinder +
Checks for any custom cascading saves set up via the mapping DSL and records them within the persistent property.
+
trimBackTigs(String) - Method in AbstractGrailsDomainBinder +
Evaluates the table name for the given property
+
type - Field in GrailsHibernateDomainClassProperty
@@ -3294,33 +1631,13 @@
-
unbindSession(Session) - Method in DatastoreUtils -
Unbinds and closes a session.
-
uniqueResult - Field in Query -
-
unlock(Object) - Method in AbstractSession -
-
unlock(Object) - Method in LockableEntityPersister -
Unlocks a locked object
-
unlock(Object) - Method in NativeEntryEntityPersister +
UNDERSCORE - Field in AbstractGrailsDomainBinder
-
unlock(Object) - Method in Session -
Releases a lock, if not called all locked objects should be released by disconnect()
-
unlockEntry(PersistentEntity, String, Serializable) - Method in NativeEntryEntityPersister -
Subclasses to override to provide locking semantics
-
unwrap(Object) - Method in JavassistProxyFactory -
Unwraps the given proxy if it is one
-
unwrap(Object) - Method in ProxyFactory -
Unwraps the given proxy if it is one
-
UPDATE_CLAUSE - Field in JpaQueryBuilder +
unlock(Object) - Method in AbstractHibernateSession
-
updateAll(QueryableCriteria, Map) - Method in AbstractSession -
This default implementation of updateAll is unlikely to be optimal as it iterates and updates each object one by one.
-
updateAll(QueryableCriteria, Map) - Method in Session -
Updates all objects matching the given criteria and property values
-
updateEntry(PersistentEntity, EntityAccess, Object, Object) - Method in NativeEntryEntityPersister +
unqualify(String) - Method in AbstractGrailsDomainBinder
-
updateTPCache(PersistentEntity, Object, Serializable) - Method in NativeEntryEntityPersister +
usesDatasource(GrailsDomainClass, String, AbstractGrailsDomainBinder) - Method in HibernateUtilities
@@ -3332,33 +1649,18 @@
-
ValidatingEventListener - Class in org.grails.datastore.mapping.validation -
A PersistenceEventListener that uses - Spring's validation mechanism to evict objects if an error occurs
-
ValidatingEventListener(Datastore) - Constructor in ValidatingEventListener +
validate(D, List) - Method in AbstractHibernateGormValidationApi
-
ValidationErrors - Class in org.grails.datastore.mapping.validation -
Models validation errors
-
ValidationErrors(Object) - Constructor in ValidationErrors -
Creates a new instance of the org.springframework.validation.BeanPropertyBindingResult class.
-
ValidationEvent - Class in org.grails.datastore.mapping.engine.event -
@author Burt Beckwith
-
ValidationEvent(Datastore, Object) - Constructor in ValidationEvent -
-
ValidationException - Class in org.grails.datastore.mapping.validation -
Exception thrown when a validation error occurs
-
ValidationException(String, Errors) - Constructor in ValidationException +
validateApi - Field in InstanceProxy
-
value - Field in Query.PropertyCriterion +
validateMethods - Field in InstanceProxy
-
version - Field in AbstractPersistentEntity +
validator - Field in AbstractGrailsHibernateDomainClass
-
VERSION - Field in GormProperties +
version - Field in AbstractGrailsHibernateDomainClass
-
VERSION_KEY - Field in MappingConfigurationBuilder +
version(String) - Method in HibernateMappingBuilder
-
VoidSessionCallback - Interface in org.grails.datastore.mapping.core -
@author Burt Beckwith
@@ -3369,14 +1671,6 @@
-
wasHandled(Object) - Method in GroovyObjectMethodHandler -
-
write(PersistentProperty, Object, N) - Method in AbstractMappingAwareCustomTypeMarshaller -
-
write(PersistentProperty, Object, N) - Method in CustomTypeMarshaller -
Converts a value to its native form
-
writeInternal(PersistentProperty, String, Object, N) - Method in AbstractMappingAwareCustomTypeMarshaller -
diff --git a/api/index.html b/api/index.html index 9fcfad3bd..58ed1bc42 100644 --- a/api/index.html +++ b/api/index.html @@ -2,7 +2,7 @@ -Index (grails-datastore-core 2.0.1.RELEASE API) +Index (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) diff --git a/api/org/grails/datastore/mapping/transactions/support/SpringSessionSynchronization.html b/api/org/codehaus/groovy/grails/orm/hibernate/AbstractEventTriggeringInterceptor.html similarity index 57% rename from api/org/grails/datastore/mapping/transactions/support/SpringSessionSynchronization.html rename to api/org/codehaus/groovy/grails/orm/hibernate/AbstractEventTriggeringInterceptor.html index ad93f6b4e..a5f2505c6 100644 --- a/api/org/grails/datastore/mapping/transactions/support/SpringSessionSynchronization.html +++ b/api/org/codehaus/groovy/grails/orm/hibernate/AbstractEventTriggeringInterceptor.html @@ -6,9 +6,9 @@ - -SpringSessionSynchronization (grails-datastore-core 2.0.1.RELEASE API) - + +AbstractEventTriggeringInterceptor (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + @@ -17,7 +17,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="SpringSessionSynchronization (grails-datastore-core 2.0.1.RELEASE API)"; + parent.document.title="AbstractEventTriggeringInterceptor (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API)"; } } @@ -58,8 +58,8 @@  NEXT CLASS
--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -35,15 +35,15 @@ - + - - - + + +
@@ -54,21 +54,21 @@ NEXT CLASS
--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -89,24 +89,20 @@

-org.grails.datastore.mapping.model +org.codehaus.groovy.grails.orm.hibernate
-[Java] Class AbstractPersistentEntity

+[Java] Class AbstractGrailsHibernateDomainClass
java.lang.Object
-  org.grails.datastore.mapping.model.AbstractPersistentEntity
-
All Implemented Interfaces:
PersistentEntity

-
@java.lang.SuppressWarnings({"rawtypes", "unchecked"})
-public abstract class AbstractPersistentEntity
+  org.codehaus.groovy.grails.commons.AbstractGrailsClass
+      org.codehaus.groovy.grails.orm.hibernate.AbstractGrailsHibernateDomainClass
+
All Implemented Interfaces:
ExternalGrailsDomainClass

+
@java.lang.SuppressWarnings("rawtypes")
+public abstract class AbstractGrailsHibernateDomainClass
+extends AbstractGrailsClass
 
 
-

- Abstract implementation to be subclasses on a per datastore basis -

Authors:
Graeme Rocher
Since:
1.0
-

-
- @@ -130,9 +126,9 @@

- protected java.util.List + static java.lang.String - associations + HIBERNATE

@@ -140,9 +136,9 @@

- protected MappingContext + protected GrailsApplication - context + application

@@ -150,9 +146,9 @@

- protected PersistentProperty + protected java.util.Map - identity + constraints

@@ -160,9 +156,9 @@

- protected java.lang.Class + protected GrailsHibernateDomainClassProperty - javaClass + identifier

@@ -170,9 +166,9 @@

- protected java.util.Set + protected GrailsDomainClassProperty[] - owners + properties

@@ -180,9 +176,9 @@

- protected java.util.List + protected java.util.Map - persistentProperties + propertyMap

@@ -190,9 +186,9 @@

- protected java.util.List + protected SessionFactory - persistentPropertyNames + sessionFactory

@@ -200,9 +196,29 @@

- protected java.util.Map + protected java.lang.String + + sessionFactoryName +
+

+ + + + + + protected java.util.Set + + subClasses +
+

+ + + + + + protected Validator - propertiesByName + validator

@@ -210,7 +226,7 @@

- protected PersistentProperty + protected GrailsHibernateDomainClassProperty version
@@ -243,9 +259,10 @@

- AbstractPersistentEntity(java.lang.Class javaClass, MappingContext context) + AbstractGrailsHibernateDomainClass(java.lang.Class clazz, SessionFactory sessionFactory, java.lang.String sessionFactoryName, GrailsApplication application, ClassMetadata metaData)
-

+

Contructor to be used by all child classes to create a new instance + and get the name right.

@@ -265,10 +282,10 @@

- boolean + protected void - equals(java.lang.Object o) + evaluateConstraints()

@@ -276,10 +293,10 @@

- java.util.List + java.util.Map - getAssociations() + getAssociationMap()

@@ -287,10 +304,10 @@

- java.lang.String + java.util.Map - getDecapitalizedName() + getConstrainedProperties()

@@ -298,10 +315,10 @@

- java.lang.String + protected ConstraintsEvaluator - getDiscriminator() + getConstraintsEvaluator()

@@ -309,10 +326,10 @@

- PersistentProperty + java.lang.String - getIdentity() + getFieldName(java.lang.String propertyName)

@@ -320,10 +337,10 @@

- java.lang.Class + GrailsDomainClassProperty - getJavaClass() + getIdentifier()

@@ -331,10 +348,10 @@

- ClassMapping + java.util.Map - getMapping() + getMappedBy()

@@ -342,10 +359,10 @@

- MappingContext + java.lang.String - getMappingContext() + getMappingStrategy()

@@ -353,10 +370,10 @@

- java.lang.String + GrailsDomainClassProperty[] - getName() + getPersistantProperties()

@@ -364,10 +381,10 @@

- PersistentEntity + GrailsDomainClassProperty[] - getParentEntity() + getPersistentProperties()

@@ -375,10 +392,10 @@

- java.util.List + GrailsDomainClassProperty - getPersistentProperties() + getPersistentProperty(java.lang.String name)

@@ -386,18 +403,18 @@

- java.util.List + GrailsDomainClassProperty[] - getPersistentPropertyNames() + getProperties()
-

+

@deprecated

- PersistentProperty + GrailsDomainClassProperty getPropertyByName(java.lang.String name) @@ -408,10 +425,10 @@

- PersistentEntity + java.lang.Class - getRootEntity() + getRelatedClassType(java.lang.String propertyName)

@@ -419,10 +436,10 @@

- PersistentProperty + SessionFactory - getVersion() + getSessionFactory()

@@ -430,10 +447,21 @@

- boolean + java.lang.String + + + getSessionFactoryName() +
+

Evaluates the constraints closure to build the list of constraints.

+ + + + + + java.util.Set - hasProperty(java.lang.String name, java.lang.Class type) + getSubClasses()

@@ -441,10 +469,10 @@

- int + Validator - hashCode() + getValidator()

@@ -452,10 +480,10 @@

- void + GrailsDomainClassProperty - initialize() + getVersion()

@@ -466,7 +494,7 @@

boolean - isExternal() + hasPersistentProperty(java.lang.String propertyName)

@@ -477,7 +505,7 @@

boolean - isIdentityName(java.lang.String propertyName) + hasSubClasses()

@@ -488,7 +516,7 @@

boolean - isInitialized() + isBidirectional(java.lang.String propertyName)

@@ -499,7 +527,7 @@

boolean - isInstance(java.lang.Object obj) + isManyToOne(java.lang.String propertyName)

@@ -510,7 +538,7 @@

boolean - isOwningEntity(PersistentEntity owner) + isOneToMany(java.lang.String propertyName)

@@ -521,7 +549,7 @@

boolean - isRoot() + isOwningClass(java.lang.Class domainClass)

@@ -532,7 +560,7 @@

boolean - isVersioned() + isRoot()

@@ -540,10 +568,10 @@

- java.lang.Object + void - newInstance() + refreshConstraints()

@@ -551,10 +579,10 @@

- protected PersistentProperty + void - resolveIdentifier() + setMappingStrategy(java.lang.String strategy)

@@ -562,10 +590,10 @@

- void + protected void - setExternal(boolean external) + setRelatedClassType(GrailsHibernateDomainClassProperty prop, AssociationType assType, Type hibernateType)

@@ -573,10 +601,10 @@

- java.lang.String + void - toString() + setValidator(Validator validator)

@@ -584,13 +612,7 @@

  - - - -
- Methods inherited from class java.lang.Object -
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
-   +

@@ -610,8 +632,26 @@

-

associations

-
protected java.util.List associations
+

HIBERNATE

+
public static final java.lang.String HIBERNATE
+
+
+
+

+

+
+ +

application

+
protected GrailsApplication application
+
+
+
+

+

+
+ +

constraints

+
protected java.util.Map constraints
@@ -619,8 +659,8 @@


-

context

-
protected MappingContext context
+

identifier

+
protected GrailsHibernateDomainClassProperty identifier
@@ -628,8 +668,8 @@


-

identity

-
protected PersistentProperty identity
+

properties

+
protected GrailsDomainClassProperty[] properties
@@ -637,8 +677,8 @@


-

javaClass

-
protected java.lang.Class javaClass
+

propertyMap

+
protected java.util.Map propertyMap
@@ -646,8 +686,8 @@


-

owners

-
protected java.util.Set owners
+

sessionFactory

+
protected SessionFactory sessionFactory
@@ -655,8 +695,8 @@


-

persistentProperties

-
protected java.util.List persistentProperties
+

sessionFactoryName

+
protected java.lang.String sessionFactoryName
@@ -664,8 +704,8 @@


-

persistentPropertyNames

-
protected java.util.List persistentPropertyNames
+

subClasses

+
protected java.util.Set subClasses
@@ -673,8 +713,8 @@


-

propertiesByName

-
protected java.util.Map propertiesByName
+

validator

+
protected Validator validator
@@ -683,7 +723,7 @@


version

-
protected PersistentProperty version
+
protected GrailsHibernateDomainClassProperty version
@@ -715,11 +755,13 @@

-

- AbstractPersistentEntity

-
public AbstractPersistentEntity(java.lang.Class javaClass, MappingContext context)
+

+ AbstractGrailsHibernateDomainClass

+
public AbstractGrailsHibernateDomainClass(java.lang.Class clazz, SessionFactory sessionFactory, java.lang.String sessionFactoryName, GrailsApplication application, ClassMetadata metaData)
-
+
Contructor to be used by all child classes to create a new instance + and get the name right. +
Parameters:
clazz - the Grails class
sessionFactory - The Hibernate SessionFactory instance
sessionFactoryName
application
metaData - The ClassMetaData for this class retrieved from the SF

@@ -739,10 +781,9 @@

-

- equals

-
@java.lang.Overridepublic boolean equals(Object o) {
-public boolean equals(java.lang.Object o)
+

+ evaluateConstraints

+
protected void evaluateConstraints()
@@ -750,9 +791,9 @@


-

- getAssociations

-
public java.util.List getAssociations()
+

+ getAssociationMap

+
public java.util.Map getAssociationMap()
@@ -760,9 +801,9 @@


-

- getDecapitalizedName

-
public java.lang.String getDecapitalizedName()
+

+ getConstrainedProperties

+
public java.util.Map getConstrainedProperties()
@@ -770,9 +811,9 @@


-

- getDiscriminator

-
public java.lang.String getDiscriminator()
+

+ getConstraintsEvaluator

+
protected ConstraintsEvaluator getConstraintsEvaluator()
@@ -780,9 +821,9 @@


-

- getIdentity

-
public PersistentProperty getIdentity()
+

+ getFieldName

+
public java.lang.String getFieldName(java.lang.String propertyName)
@@ -790,9 +831,9 @@


-

- getJavaClass

-
public java.lang.Class getJavaClass()
+

+ getIdentifier

+
public GrailsDomainClassProperty getIdentifier()
@@ -800,9 +841,9 @@


-

- getMapping

-
public ClassMapping getMapping()
+

+ getMappedBy

+
public java.util.Map getMappedBy()
@@ -810,9 +851,9 @@


-

- getMappingContext

-
public MappingContext getMappingContext()
+

+ getMappingStrategy

+
public java.lang.String getMappingStrategy()
@@ -820,9 +861,10 @@


-

- getName

-
public java.lang.String getName()
+

+ getPersistantProperties

+
@java.lang.Deprecated}
+public GrailsDomainClassProperty[] getPersistantProperties()
@@ -830,9 +872,9 @@


-

- getParentEntity

-
public PersistentEntity getParentEntity()
+

+ getPersistentProperties

+
public GrailsDomainClassProperty[] getPersistentProperties()
@@ -840,9 +882,9 @@


-

- getPersistentProperties

-
public java.util.List getPersistentProperties()
+

+ getPersistentProperty

+
public GrailsDomainClassProperty getPersistentProperty(java.lang.String name)
@@ -850,11 +892,11 @@


-

- getPersistentPropertyNames

-
public java.util.List getPersistentPropertyNames()
+

+ getProperties

+
public GrailsDomainClassProperty[] getProperties()
-
+
deprecated:

@@ -862,7 +904,7 @@

getPropertyByName

-
public PersistentProperty getPropertyByName(java.lang.String name)
+
public GrailsDomainClassProperty getPropertyByName(java.lang.String name)
@@ -870,9 +912,9 @@


-

- getRootEntity

-
public PersistentEntity getRootEntity()
+

+ getRelatedClassType

+
public java.lang.Class getRelatedClassType(java.lang.String propertyName)
@@ -880,9 +922,9 @@


-

- getVersion

-
public PersistentProperty getVersion()
+

+ getSessionFactory

+
public SessionFactory getSessionFactory()
@@ -890,9 +932,21 @@


-

- hasProperty

-
public boolean hasProperty(java.lang.String name, java.lang.Class type)
+

+ getSessionFactoryName

+
public java.lang.String getSessionFactoryName()
+
+
Evaluates the constraints closure to build the list of constraints. + +
+

+

+
+ +

+ getSubClasses

+
@java.lang.SuppressWarnings
+public java.util.Set getSubClasses()
@@ -900,10 +954,9 @@


-

- hashCode

-
@java.lang.Overridepublic int hashCode() {
-public int hashCode()
+

+ getValidator

+
public Validator getValidator()
@@ -911,9 +964,9 @@


-

- initialize

-
public void initialize()
+

+ getVersion

+
public GrailsDomainClassProperty getVersion()
@@ -921,9 +974,9 @@


-

- isExternal

-
public boolean isExternal()
+

+ hasPersistentProperty

+
public boolean hasPersistentProperty(java.lang.String propertyName)
@@ -931,9 +984,9 @@


-

- isIdentityName

-
public boolean isIdentityName(java.lang.String propertyName)
+

+ hasSubClasses

+
public boolean hasSubClasses()
@@ -941,9 +994,9 @@


-

- isInitialized

-
public boolean isInitialized()
+

+ isBidirectional

+
public boolean isBidirectional(java.lang.String propertyName)
@@ -951,9 +1004,9 @@


-

- isInstance

-
public boolean isInstance(java.lang.Object obj)
+

+ isManyToOne

+
public boolean isManyToOne(java.lang.String propertyName)
@@ -961,9 +1014,9 @@


-

- isOwningEntity

-
public boolean isOwningEntity(PersistentEntity owner)
+

+ isOneToMany

+
public boolean isOneToMany(java.lang.String propertyName)
@@ -971,9 +1024,9 @@


-

- isRoot

-
public boolean isRoot()
+

+ isOwningClass

+
public boolean isOwningClass(java.lang.Class domainClass)
@@ -981,9 +1034,9 @@


-

- isVersioned

-
public boolean isVersioned()
+

+ isRoot

+
public boolean isRoot()
@@ -991,9 +1044,9 @@


-

- newInstance

-
public java.lang.Object newInstance()
+

+ refreshConstraints

+
public void refreshConstraints()
@@ -1001,9 +1054,9 @@


-

- resolveIdentifier

-
protected PersistentProperty resolveIdentifier()
+

+ setMappingStrategy

+
public void setMappingStrategy(java.lang.String strategy)
@@ -1011,9 +1064,9 @@


-

- setExternal

-
public void setExternal(boolean external)
+

+ setRelatedClassType

+
protected void setRelatedClassType(GrailsHibernateDomainClassProperty prop, AssociationType assType, Type hibernateType)
@@ -1021,10 +1074,9 @@


-

- toString

-
@java.lang.Overridepublic String toString() {
-public java.lang.String toString()
+

+ setValidator

+
public void setValidator(Validator validator)
diff --git a/api/org/codehaus/groovy/grails/orm/hibernate/AbstractHibernateDatastore.html b/api/org/codehaus/groovy/grails/orm/hibernate/AbstractHibernateDatastore.html new file mode 100644 index 000000000..5cc831bad --- /dev/null +++ b/api/org/codehaus/groovy/grails/orm/hibernate/AbstractHibernateDatastore.html @@ -0,0 +1,395 @@ + + + + + + + + + +AbstractHibernateDatastore (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate +
+ +[Java] Class AbstractHibernateDatastore

+
java.lang.Object
+  org.grails.datastore.mapping.core.AbstractDatastore
+      org.codehaus.groovy.grails.orm.hibernate.AbstractHibernateDatastore
+
All Implemented Interfaces:
ApplicationContextAware

+
public abstract class AbstractHibernateDatastore
+extends AbstractDatastore
+
+
+ +

+ Datastore implementation that uses a Hibernate SessionFactory underneath. +

Authors:
Graeme Rocher
Since:
2.0
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Field Summary
+ protected groovy.util.ConfigObject + config +
+

+
+ protected AbstractEventTriggeringInterceptor + eventTriggeringInterceptor +
+

+
+ protected SessionFactory + sessionFactory +
+

+
+   + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary
+ protected AbstractHibernateDatastore(MappingContext mappingContext, SessionFactory sessionFactory, groovy.util.ConfigObject config) +
+

+
+ AbstractHibernateDatastore(MappingContext mappingContext, SessionFactory sessionFactory, groovy.util.ConfigObject config, ApplicationContext applicationContext) +
+

+
+   + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Method Summary
+ AbstractEventTriggeringInterceptor + + getEventTriggeringInterceptor() +
+

+
+ SessionFactory + + getSessionFactory() +
+

@return The Hibernate SessionFactory being used by this datastore instance

+
+ protected boolean + + registerValidationListener() +
+

+
+   + + +

+ + + + + + + + + + + + + + +
+ Field Detail
+ +

config

+
protected groovy.util.ConfigObject config
+
+
+
+

+

+
+ +

eventTriggeringInterceptor

+
protected AbstractEventTriggeringInterceptor eventTriggeringInterceptor
+
+
+
+

+

+
+ +

sessionFactory

+
protected SessionFactory sessionFactory
+
+
+
+

+

+
+ +   + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail
+ +

+ AbstractHibernateDatastore

+
protected AbstractHibernateDatastore(MappingContext mappingContext, SessionFactory sessionFactory, groovy.util.ConfigObject config)
+
+
+
+

+

+
+ +

+ AbstractHibernateDatastore

+
public AbstractHibernateDatastore(MappingContext mappingContext, SessionFactory sessionFactory, groovy.util.ConfigObject config, ApplicationContext applicationContext)
+
+
+
+

+

+
+ +   + + + + + + + + + + +
+ Method Detail
+ +

+ getEventTriggeringInterceptor

+
public AbstractEventTriggeringInterceptor getEventTriggeringInterceptor()
+
+
+
+

+

+
+ +

+ getSessionFactory

+
public SessionFactory getSessionFactory()
+
+
+
Returns:
The Hibernate SessionFactory being used by this datastore instance
+
+

+

+
+ +

+ registerValidationListener

+
@java.lang.Override
+protected boolean registerValidationListener()
+
+
+
+

+

+
+ +   + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/grails/datastore/mapping/query/event/AbstractQueryEvent.html b/api/org/codehaus/groovy/grails/orm/hibernate/AbstractHibernateGormEnhancer.html similarity index 58% rename from api/org/grails/datastore/mapping/query/event/AbstractQueryEvent.html rename to api/org/codehaus/groovy/grails/orm/hibernate/AbstractHibernateGormEnhancer.html index 153295d3c..52ad49d44 100644 --- a/api/org/grails/datastore/mapping/query/event/AbstractQueryEvent.html +++ b/api/org/codehaus/groovy/grails/orm/hibernate/AbstractHibernateGormEnhancer.html @@ -6,9 +6,9 @@ - -AbstractQueryEvent (grails-datastore-core 2.0.1.RELEASE API) - + +AbstractHibernateGormEnhancer (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + @@ -17,7 +17,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="AbstractQueryEvent (grails-datastore-core 2.0.1.RELEASE API)"; + parent.document.title="AbstractHibernateGormEnhancer (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API)"; } } @@ -58,8 +58,8 @@  NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -58,8 +58,8 @@  NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -58,8 +58,8 @@  NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate +
+ +[Java] Class AbstractHibernateSession

+
java.lang.Object
+  org.grails.datastore.mapping.core.AbstractAttributeStoringSession
+      org.codehaus.groovy.grails.orm.hibernate.AbstractHibernateSession
+

+
@java.lang.SuppressWarnings("rawtypes")
+public abstract class AbstractHibernateSession
+extends AbstractAttributeStoringSession
+
+
+ +

+ Session implementation that wraps a Hibernate Session. +

Authors:
Graeme Rocher
Since:
1.0
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Field Summary
+ protected boolean + connected +
+

+
+ protected AbstractHibernateDatastore + datastore +
+

+
+ protected IHibernateTemplate + hibernateTemplate +
+

+
+   + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary
+ protected AbstractHibernateSession(AbstractHibernateDatastore hibernateDatastore, SessionFactory sessionFactory) +
+

+
+   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Method Summary
+ void + + attach(java.lang.Object o) +
+

+
+ Transaction + + beginTransaction() +
+

+
+ void + + clear() +
+

+
+ void + + clear(java.lang.Object o) +
+

+
+ boolean + + contains(java.lang.Object o) +
+

+
+ void + + delete(java.lang.Iterable objects) +
+

+
+ void + + delete(java.lang.Object obj) +
+

+
+ void + + disconnect() +
+

+
+ void + + flush() +
+

+
+ Datastore + + getDatastore() +
+

+
+ protected java.util.Collection + + getIterableAsCollection(java.lang.Iterable objects) +
+

+
+ MappingContext + + getMappingContext() +
+

+
+ java.lang.Object + + getNativeInterface() +
+

+
+ Persister + + getPersister(java.lang.Object o) +
+

+
+ Transaction + + getTransaction() +
+

+
+ java.io.Serializable + + insert(java.lang.Object o) +
+

+
+ boolean + + isConnected() +
+

+
+ boolean + + isDirty(java.lang.Object o) +
+

+
+ void + + lock(java.lang.Object o) +
+

+
+ java.lang.Object + + lock(java.lang.Class type, java.io.Serializable key) +
+

+
+ java.io.Serializable + + persist(java.lang.Object o) +
+

+
+ java.util.List + + persist(java.lang.Iterable objects) +
+

+
+ java.lang.Object + + proxy(java.lang.Class type, java.io.Serializable key) +
+

+
+ void + + refresh(java.lang.Object o) +
+

+
+ java.lang.Object + + retrieve(java.lang.Class type, java.io.Serializable key) +
+

+
+ java.util.List + + retrieveAll(java.lang.Class type, java.io.Serializable... keys) +
+

+
+ void + + unlock(java.lang.Object o) +
+

+
+   + + +

+ + + + + + + + + + + + + + +
+ Field Detail
+ +

connected

+
protected boolean connected
+
+
+
+

+

+
+ +

datastore

+
protected AbstractHibernateDatastore datastore
+
+
+
+

+

+
+ +

hibernateTemplate

+
protected IHibernateTemplate hibernateTemplate
+
+
+
+

+

+
+ +   + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail
+ +

+ AbstractHibernateSession

+
protected AbstractHibernateSession(AbstractHibernateDatastore hibernateDatastore, SessionFactory sessionFactory)
+
+
+
+

+

+
+ +   + + + + + + + + + + +
+ Method Detail
+ +

+ attach

+
public void attach(java.lang.Object o)
+
+
+
+

+

+
+ +

+ beginTransaction

+
public Transaction beginTransaction()
+
+
+
+

+

+
+ +

+ clear

+
public void clear()
+
+
+
+

+

+
+ +

+ clear

+
public void clear(java.lang.Object o)
+
+
+
+

+

+
+ +

+ contains

+
public boolean contains(java.lang.Object o)
+
+
+
+

+

+
+ +

+ delete

+
public void delete(java.lang.Iterable objects)
+
+
+
+

+

+
+ +

+ delete

+
public void delete(java.lang.Object obj)
+
+
+
+

+

+
+ +

+ disconnect

+
@java.lang.Override
+public void disconnect()
+
+
+
+

+

+
+ +

+ flush

+
public void flush()
+
+
+
+

+

+
+ +

+ getDatastore

+
public Datastore getDatastore()
+
+
+
+

+

+
+ +

+ getIterableAsCollection

+
@java.lang.SuppressWarningsCollection list;
+protected java.util.Collection getIterableAsCollection(java.lang.Iterable objects)
+
+
+
+

+

+
+ +

+ getMappingContext

+
public MappingContext getMappingContext()
+
+
+
+

+

+
+ +

+ getNativeInterface

+
public java.lang.Object getNativeInterface()
+
+
+
+

+

+
+ +

+ getPersister

+
public Persister getPersister(java.lang.Object o)
+
+
+
+

+

+
+ +

+ getTransaction

+
public Transaction getTransaction()
+
+
+
+

+

+
+ +

+ insert

+
public java.io.Serializable insert(java.lang.Object o)
+
+
+
+

+

+
+ +

+ isConnected

+
@java.lang.Override
+public boolean isConnected()
+
+
+
+

+

+
+ +

+ isDirty

+
public boolean isDirty(java.lang.Object o)
+
+
+
+

+

+
+ +

+ lock

+
public void lock(java.lang.Object o)
+
+
+
+

+

+
+ +

+ lock

+
public java.lang.Object lock(java.lang.Class type, java.io.Serializable key)
+
+
+
+

+

+
+ +

+ persist

+
public java.io.Serializable persist(java.lang.Object o)
+
+
+
+

+

+
+ +

+ persist

+
public java.util.List persist(java.lang.Iterable objects)
+
+
+
+

+

+
+ +

+ proxy

+
public java.lang.Object proxy(java.lang.Class type, java.io.Serializable key)
+
+
+
+

+

+
+ +

+ refresh

+
public void refresh(java.lang.Object o)
+
+
+
+

+

+
+ +

+ retrieve

+
public java.lang.Object retrieve(java.lang.Class type, java.io.Serializable key)
+
+
+
+

+

+
+ +

+ retrieveAll

+
public java.util.List retrieveAll(java.lang.Class type, java.io.Serializable... keys)
+
+
+
+

+

+
+ +

+ unlock

+
public void unlock(java.lang.Object o)
+
+
+
+

+

+
+ +   + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/codehaus/groovy/grails/orm/hibernate/GrailsHibernateDomainClassProperty.html b/api/org/codehaus/groovy/grails/orm/hibernate/GrailsHibernateDomainClassProperty.html new file mode 100644 index 000000000..4fa45ad43 --- /dev/null +++ b/api/org/codehaus/groovy/grails/orm/hibernate/GrailsHibernateDomainClassProperty.html @@ -0,0 +1,1610 @@ + + + + + + + + + +GrailsHibernateDomainClassProperty (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate +
+ +[Java] Class GrailsHibernateDomainClassProperty

+
java.lang.Object
+  org.codehaus.groovy.grails.orm.hibernate.GrailsHibernateDomainClassProperty
+
All Implemented Interfaces:
GrailsDomainClassProperty

+
public class GrailsHibernateDomainClassProperty
+
+
+ +

+ An implementation of the GrailsDomainClassProperty interface that allows Classes mapped in + Hibernate to integrate with Grails' validation, dynamic methods etc. seamlessly. +

Authors:
Graeme Rocher
Since:
0.1
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Field Summary
+ protected boolean + association +
+

+
+ protected boolean + bidirectional +
+

+
+ protected java.lang.String + columnName +
+

+
+ protected AbstractGrailsHibernateDomainClass + domainClass +
+

+
+ protected boolean + explicitSaveUpdateCascade +
+

+
+ protected boolean + identity +
+

+
+ protected boolean + manyToMany +
+

+
+ protected boolean + manyToOne +
+

+
+ protected java.lang.String + name +
+

+
+ protected java.lang.String + naturalName +
+

+
+ protected boolean + oneToMany +
+

+
+ protected boolean + oneToOne +
+

+
+ protected boolean + optional +
+

+
+ protected GrailsDomainClassProperty + otherSide +
+

+
+ protected boolean + owingSide +
+

+
+ protected GrailsDomainClass + referencedDomainClass +
+

+
+ protected java.lang.Class + relatedClassType +
+

+
+ protected java.lang.Class + type +
+

+
+   + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary
+ GrailsHibernateDomainClassProperty(AbstractGrailsHibernateDomainClass domainClass, java.lang.String propertyName) +
+

+
+   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Method Summary
+ protected void + + attemptResolveType() +
+

+
+ java.lang.String + + getColumnName() +
+

+
+ GrailsDomainClass + + getComponent() +
+

+
+ GrailsDomainClass + + getDomainClass() +
+

+
+ int + + getFetchMode() +
+

+
+ java.lang.String + + getFieldName() +
+

+
+ java.lang.String + + getName() +
+

+
+ java.lang.String + + getNaturalName() +
+

+
+ GrailsDomainClassProperty + + getOtherSide() +
+

+
+ GrailsDomainClass + + getReferencedDomainClass() +
+

+
+ java.lang.String + + getReferencedPropertyName() +
+

+
+ java.lang.Class + + getReferencedPropertyType() +
+

+
+ java.lang.Class + + getType() +
+

+
+ java.lang.String + + getTypePropertyName() +
+

+
+ boolean + + isAssociation() +
+

+
+ boolean + + isBasicCollectionType() +
+

+
+ boolean + + isBidirectional() +
+

+
+ boolean + + isCircular() +
+

+
+ boolean + + isDerived() +
+

+
+ boolean + + isEmbedded() +
+

+
+ boolean + + isEnum() +
+

+
+ boolean + + isExplicitSaveUpdateCascade() +
+

+
+ boolean + + isHasOne() +
+

+
+ boolean + + isIdentity() +
+

+
+ boolean + + isInherited() +
+

+
+ boolean + + isManyToMany() +
+

+
+ boolean + + isManyToOne() +
+

+
+ boolean + + isOneToMany() +
+

+
+ boolean + + isOneToOne() +
+

+
+ boolean + + isOptional() +
+

+
+ boolean + + isOwningSide() +
+

+
+ boolean + + isPersistent() +
+

+
+ void + + setAssociation(boolean association) +
+

+
+ void + + setBidirectional(boolean bidirectional) +
+

+
+ void + + setColumnName(java.lang.String columnName) +
+

+
+ void + + setDerived(boolean derived) +
+

+
+ void + + setExplicitSaveUpdateCascade(boolean explicitSaveUpdateCascade) +
+

+
+ void + + setIdentity(boolean identity) +
+

+
+ void + + setManyToMany(boolean manyToMany) +
+

+
+ void + + setManyToOne(boolean manyToOne) +
+

+
+ void + + setOneToMany(boolean oneToMany) +
+

+
+ void + + setOneToOne(boolean oneToOne) +
+

+
+ void + + setOptional(boolean optional) +
+

+
+ void + + setOtherSide(GrailsDomainClassProperty referencedProperty) +
+

+
+ void + + setOwningSide(boolean b) +
+

+
+ void + + setReferencedDomainClass(GrailsDomainClass referencedGrailsDomainClass) +
+

+
+ void + + setRelatedClassType(java.lang.Class relatedType) +
+

+
+ void + + setType(java.lang.Class type) +
+

+
+   + + + +
+ Methods inherited from class java.lang.Object +
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
+   + +

+ + + + + + + + + + + + + + +
+ Field Detail
+ +

association

+
protected boolean association
+
+
+
+

+

+
+ +

bidirectional

+
protected boolean bidirectional
+
+
+
+

+

+
+ +

columnName

+
protected java.lang.String columnName
+
+
+
+

+

+
+ +

domainClass

+
protected AbstractGrailsHibernateDomainClass domainClass
+
+
+
+

+

+
+ +

explicitSaveUpdateCascade

+
protected boolean explicitSaveUpdateCascade
+
+
+
+

+

+
+ +

identity

+
protected boolean identity
+
+
+
+

+

+
+ +

manyToMany

+
protected boolean manyToMany
+
+
+
+

+

+
+ +

manyToOne

+
protected boolean manyToOne
+
+
+
+

+

+
+ +

name

+
protected java.lang.String name
+
+
+
+

+

+
+ +

naturalName

+
protected java.lang.String naturalName
+
+
+
+

+

+
+ +

oneToMany

+
protected boolean oneToMany
+
+
+
+

+

+
+ +

oneToOne

+
protected boolean oneToOne
+
+
+
+

+

+
+ +

optional

+
protected boolean optional
+
+
+
+

+

+
+ +

otherSide

+
protected GrailsDomainClassProperty otherSide
+
+
+
+

+

+
+ +

owingSide

+
protected boolean owingSide
+
+
+
+

+

+
+ +

referencedDomainClass

+
protected GrailsDomainClass referencedDomainClass
+
+
+
+

+

+
+ +

relatedClassType

+
protected java.lang.Class relatedClassType
+
+
+
+

+

+
+ +

type

+
protected java.lang.Class type
+
+
+
+

+

+
+ +   + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail
+ +

+ GrailsHibernateDomainClassProperty

+
public GrailsHibernateDomainClassProperty(AbstractGrailsHibernateDomainClass domainClass, java.lang.String propertyName)
+
+
+
+

+

+
+ +   + + + + + + + + + + +
+ Method Detail
+ +

+ attemptResolveType

+
protected void attemptResolveType()
+
+
+
+

+

+
+ +

+ getColumnName

+
public java.lang.String getColumnName()
+
+
+
+

+

+
+ +

+ getComponent

+
public GrailsDomainClass getComponent()
+
+
+
+

+

+
+ +

+ getDomainClass

+
public GrailsDomainClass getDomainClass()
+
+
+
+

+

+
+ +

+ getFetchMode

+
public int getFetchMode()
+
+
+
+

+

+
+ +

+ getFieldName

+
public java.lang.String getFieldName()
+
+
+
+

+

+
+ +

+ getName

+
public java.lang.String getName()
+
+
+
+

+

+
+ +

+ getNaturalName

+
public java.lang.String getNaturalName()
+
+
+
+

+

+
+ +

+ getOtherSide

+
public GrailsDomainClassProperty getOtherSide()
+
+
+
+

+

+
+ +

+ getReferencedDomainClass

+
public GrailsDomainClass getReferencedDomainClass()
+
+
+
+

+

+
+ +

+ getReferencedPropertyName

+
public java.lang.String getReferencedPropertyName()
+
+
+
+

+

+
+ +

+ getReferencedPropertyType

+
public java.lang.Class getReferencedPropertyType()
+
+
+
+

+

+
+ +

+ getType

+
public java.lang.Class getType()
+
+
+
+

+

+
+ +

+ getTypePropertyName

+
public java.lang.String getTypePropertyName()
+
+
+
+

+

+
+ +

+ isAssociation

+
public boolean isAssociation()
+
+
+
+

+

+
+ +

+ isBasicCollectionType

+
public boolean isBasicCollectionType()
+
+
+
+

+

+
+ +

+ isBidirectional

+
public boolean isBidirectional()
+
+
+
+

+

+
+ +

+ isCircular

+
public boolean isCircular()
+
+
+
+

+

+
+ +

+ isDerived

+
public boolean isDerived()
+
+
+
+

+

+
+ +

+ isEmbedded

+
public boolean isEmbedded()
+
+
+
+

+

+
+ +

+ isEnum

+
public boolean isEnum()
+
+
+
+

+

+
+ +

+ isExplicitSaveUpdateCascade

+
public boolean isExplicitSaveUpdateCascade()
+
+
+
+

+

+
+ +

+ isHasOne

+
public boolean isHasOne()
+
+
+
+

+

+
+ +

+ isIdentity

+
public boolean isIdentity()
+
+
+
+

+

+
+ +

+ isInherited

+
public boolean isInherited()
+
+
+
+

+

+
+ +

+ isManyToMany

+
public boolean isManyToMany()
+
+
+
+

+

+
+ +

+ isManyToOne

+
public boolean isManyToOne()
+
+
+
+

+

+
+ +

+ isOneToMany

+
public boolean isOneToMany()
+
+
+
+

+

+
+ +

+ isOneToOne

+
public boolean isOneToOne()
+
+
+
+

+

+
+ +

+ isOptional

+
public boolean isOptional()
+
+
+
+

+

+
+ +

+ isOwningSide

+
public boolean isOwningSide()
+
+
+
+

+

+
+ +

+ isPersistent

+
public boolean isPersistent()
+
+
+
+

+

+
+ +

+ setAssociation

+
public void setAssociation(boolean association)
+
+
+
+

+

+
+ +

+ setBidirectional

+
public void setBidirectional(boolean bidirectional)
+
+
+
+

+

+
+ +

+ setColumnName

+
public void setColumnName(java.lang.String columnName)
+
+
+
+

+

+
+ +

+ setDerived

+
public void setDerived(boolean derived)
+
+
+
+

+

+
+ +

+ setExplicitSaveUpdateCascade

+
public void setExplicitSaveUpdateCascade(boolean explicitSaveUpdateCascade)
+
+
+
+

+

+
+ +

+ setIdentity

+
public void setIdentity(boolean identity)
+
+
+
+

+

+
+ +

+ setManyToMany

+
public void setManyToMany(boolean manyToMany)
+
+
+
+

+

+
+ +

+ setManyToOne

+
public void setManyToOne(boolean manyToOne)
+
+
+
+

+

+
+ +

+ setOneToMany

+
public void setOneToMany(boolean oneToMany)
+
+
+
+

+

+
+ +

+ setOneToOne

+
public void setOneToOne(boolean oneToOne)
+
+
+
+

+

+
+ +

+ setOptional

+
public void setOptional(boolean optional)
+
+
+
+

+

+
+ +

+ setOtherSide

+
public void setOtherSide(GrailsDomainClassProperty referencedProperty)
+
+
+
+

+

+
+ +

+ setOwningSide

+
public void setOwningSide(boolean b)
+
+
+
+

+

+
+ +

+ setReferencedDomainClass

+
public void setReferencedDomainClass(GrailsDomainClass referencedGrailsDomainClass)
+
+
+
+

+

+
+ +

+ setRelatedClassType

+
public void setRelatedClassType(java.lang.Class relatedType)
+
+
+
+

+

+
+ +

+ setType

+
public void setType(java.lang.Class type)
+
+
+
+

+

+
+ +   + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/grails/datastore/mapping/model/types/BasicTypeConverterRegistrar.html b/api/org/codehaus/groovy/grails/orm/hibernate/HibernateEventListeners.html similarity index 78% rename from api/org/grails/datastore/mapping/model/types/BasicTypeConverterRegistrar.html rename to api/org/codehaus/groovy/grails/orm/hibernate/HibernateEventListeners.html index a9ba4bc05..9dc00547e 100644 --- a/api/org/grails/datastore/mapping/model/types/BasicTypeConverterRegistrar.html +++ b/api/org/codehaus/groovy/grails/orm/hibernate/HibernateEventListeners.html @@ -6,9 +6,9 @@ - -BasicTypeConverterRegistrar (grails-datastore-core 2.0.1.RELEASE API) - + +HibernateEventListeners (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + @@ -17,7 +17,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="BasicTypeConverterRegistrar (grails-datastore-core 2.0.1.RELEASE API)"; + parent.document.title="HibernateEventListeners (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API)"; } } @@ -58,8 +58,8 @@  NEXT CLASS
--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -58,8 +58,8 @@  NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -58,8 +58,8 @@  NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate.cfg +
+ +[Java] Class AbstractGrailsDomainBinder

+
java.lang.Object
+  org.codehaus.groovy.grails.orm.hibernate.cfg.AbstractGrailsDomainBinder
+

+
public abstract class AbstractGrailsDomainBinder
+
+
+ +

+ Handles the binding Grails domain classes and properties to the Hibernate runtime meta model. + Based on the HbmBinder code in Hibernate core and influenced by AnnotationsBinder. +

Authors:
Graeme Rocher
Since:
0.1
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Field Summary
+ protected static java.lang.String + BACKTICK +
+

+
+ protected static java.lang.String + CASCADE_ALL +
+

+
+ protected static java.lang.String + CASCADE_ALL_DELETE_ORPHAN +
+

+
+ protected static java.lang.String + CASCADE_NONE +
+

+
+ protected static java.lang.String + CASCADE_SAVE_UPDATE +
+

+
+ protected CollectionType + CT +
+

+
+ protected static java.lang.String + DEFAULT_ENUM_TYPE +
+

+
+ protected static java.lang.String + EMPTY_PATH +
+

+
+ protected static java.lang.String + ENUM_CLASS_PROP +
+

+
+ protected static java.lang.String + ENUM_TYPE_CLASS +
+

+
+ protected static java.lang.String + ENUM_TYPE_PROP +
+

+
+ protected static java.lang.String + FOREIGN_KEY_SUFFIX +
+

+
+ protected Logger + LOG +
+

+
+ protected static java.util.Map + MAPPING_CACHE +
+

+
+ static java.util.Map + NAMING_STRATEGIES +
+

Overrideable naming strategy.

+
+ protected static java.lang.String + STRING_TYPE +
+

+
+ protected static char + UNDERSCORE +
+

+
+   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Method Summary
+ protected java.lang.String + + addUnderscore(java.lang.String s1, java.lang.String s2) +
+

+
+ void + + bindClass(GrailsDomainClass domainClass, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindClass(GrailsDomainClass domainClass, PersistentClass persistentClass, Mappings mappings) +
+

Binds a root class (one with no super classes) to the runtime meta model + based on the supplied Grails domain class

+
+ protected void + + bindCollection(GrailsDomainClassProperty property, Collection collection, PersistentClass owner, Mappings mappings, java.lang.String path, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindCollectionForPropertyConfig(Collection collection, PropertyConfig config) +
+

+
+ protected void + + bindCollectionSecondPass(GrailsDomainClassProperty property, Mappings mappings, java.util.Map persistentClasses, Collection collection, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindCollectionTable(GrailsDomainClassProperty property, Mappings mappings, Collection collection, Table ownerTable, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindCollectionWithJoinTable(GrailsDomainClassProperty property, Mappings mappings, Collection collection, PropertyConfig config, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindColumn(GrailsDomainClassProperty property, GrailsDomainClassProperty parentProperty, Column column, ColumnConfig cc, java.lang.String path, Table table, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindColumnConfigToColumn(Column column, ColumnConfig columnConfig) +
+

+
+ protected void + + bindComponent(Component component, GrailsDomainClassProperty property, boolean isNullable, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindComponentProperty(Component component, GrailsDomainClassProperty componentProperty, GrailsDomainClassProperty currentGrailsProp, PersistentClass persistentClass, java.lang.String path, Table table, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindCompositeId(GrailsDomainClass domainClass, RootClass root, CompositeIdentity compositeIdentity, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

Creates and binds the properties for the specified Grails domain class and PersistentClass + and binds them to the Hibernate runtime meta model

+
+ protected void + + bindCompositeIdentifierToManyToOne(GrailsDomainClassProperty property, SimpleValue value, CompositeIdentity compositeId, GrailsDomainClass refDomainClass, java.lang.String path, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindDependentKeyValue(GrailsDomainClassProperty property, DependantValue key, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindDiscriminatorProperty(Table table, RootClass entity, Mappings mappings) +
+

+
+ protected void + + bindEnumType(GrailsDomainClassProperty property, SimpleValue simpleValue, java.lang.String path, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindEnumType(GrailsDomainClassProperty property, java.lang.Class propertyType, SimpleValue simpleValue, java.lang.String columnName) +
+

+
+ protected void + + bindIdentity(GrailsDomainClass domainClass, RootClass root, Mappings mappings, Mapping gormMapping, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindIndex(java.lang.String columnName, Column column, ColumnConfig cc, Table table) +
+

+
+ protected void + + bindJoinedSubClass(GrailsDomainClass sub, JoinedSubclass joinedSubclass, Mappings mappings, Mapping gormMapping, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindListSecondPass(GrailsDomainClassProperty property, Mappings mappings, java.util.Map persistentClasses, List list, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindManyToMany(GrailsDomainClassProperty property, ManyToOne element, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindManyToOne(GrailsDomainClassProperty property, ManyToOne manyToOne, java.lang.String path, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindManyToOneValues(GrailsDomainClassProperty property, ManyToOne manyToOne) +
+

+
+ protected void + + bindMapSecondPass(GrailsDomainClassProperty property, Mappings mappings, java.util.Map persistentClasses, Map map, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindNaturalIdentifier(Table table, Mapping mapping, PersistentClass persistentClass) +
+

+
+ protected void + + bindNumericColumnConstraints(Column column, ConstrainedProperty constrainedProperty) +
+

+
+ protected void + + bindOneToMany(GrailsDomainClassProperty currentGrailsProp, OneToMany one, Mappings mappings) +
+

+
+ protected void + + bindOneToOne(GrailsDomainClassProperty property, OneToOne oneToOne, java.lang.String path, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindProperty(GrailsDomainClassProperty grailsProperty, Property prop, Mappings mappings) +
+

+
+ void + + bindRoot(GrailsDomainClass domainClass, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindRootPersistentClassCommonValues(GrailsDomainClass domainClass, RootClass root, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindSimpleId(GrailsDomainClassProperty identifier, RootClass entity, Mappings mappings, Identity mappedId, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindSimpleValue(GrailsDomainClassProperty property, GrailsDomainClassProperty parentProperty, SimpleValue simpleValue, java.lang.String path, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindSimpleValue(GrailsDomainClassProperty grailsProp, SimpleValue simpleValue, java.lang.String path, PropertyConfig propertyConfig, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindSimpleValue(GrailsDomainClassProperty grailsProp, GrailsDomainClassProperty parentProperty, SimpleValue simpleValue, java.lang.String path, PropertyConfig propertyConfig, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindSimpleValue(java.lang.String type, SimpleValue simpleValue, boolean nullable, java.lang.String columnName, Mappings mappings) +
+

+
+ protected void + + bindStringColumnConstraints(Column column, ConstrainedProperty constrainedProperty) +
+

@return the maximum length of the strings in the specified list

+
+ protected void + + bindSubClass(GrailsDomainClass sub, PersistentClass parent, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindSubClass(GrailsDomainClass sub, Subclass subClass, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindSubClasses(GrailsDomainClass domainClass, PersistentClass parent, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

Binds a sub class.

+
+ protected void + + bindUnidirectionalOneToMany(GrailsDomainClassProperty property, Mappings mappings, Collection collection) +
+

Binds a unidirectional one-to-many creating a psuedo back reference property in the process.

+
+ protected void + + bindUnidirectionalOneToManyInverseValues(GrailsDomainClassProperty property, ManyToOne manyToOne) +
+

+
+ void + + bindUnionSubclass(GrailsDomainClass subClass, UnionSubclass unionSubclass, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + bindVersion(GrailsDomainClassProperty version, RootClass entity, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected java.util.Set + + buildDiscriminatorSet(GrailsDomainClass domainClass) +
+

+
+ protected java.lang.String + + buildOrderByClause(java.lang.String hqlOrderBy, PersistentClass associatedClass, java.lang.String role, java.lang.String defaultOrder) +
+

+
+ protected java.lang.String + + calculateTableForMany(GrailsDomainClassProperty property, java.lang.String sessionFactoryBeanName) +
+

+
+ protected boolean + + canBindOneToOneWithSingleColumnAndForeignKey(GrailsDomainClassProperty currentGrailsProp) +
+

+
+ void + + clearMappingCache() +
+

+
+ void + + clearMappingCache(java.lang.Class theClass) +
+

+
+ protected void + + configureDerivedProperties(GrailsDomainClass domainClass, Mapping m) +
+

+
+ void + + configureNamingStrategy(java.lang.Object strategy) +
+

Override the default naming strategy for the default datasource given a Class or a full class name.

+
+ void + + configureNamingStrategy(java.lang.String datasourceName, java.lang.Object strategy) +
+

Override the default naming strategy given a Class or a full class name, + or an instance of a NamingStrategy.

+
+ protected int + + countDigits(java.lang.Number number) +
+

A Collection type, for the moment only Set is supported

+
+ protected void + + createClassProperties(GrailsDomainClass domainClass, PersistentClass persistentClass, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

+
+ protected void + + createKeyForProps(GrailsDomainClassProperty grailsProp, java.lang.String path, Table table, java.lang.String columnName, java.util.List propertyNames, java.lang.String sessionFactoryBeanName) +
+

+
+ protected DependantValue + + createPrimaryKeyValue(Mappings mappings, GrailsDomainClassProperty property, Collection collection, java.util.Map persistentClasses) +
+

+
+ protected Property + + createProperty(Value value, PersistentClass persistentClass, GrailsDomainClassProperty grailsProperty, Mappings mappings) +
+

+
+ protected void + + createUniqueKeyForColumns(Table table, java.lang.String columnName, java.util.List keyList) +
+

+
+ Mapping + + evaluateMapping(GrailsDomainClass domainClass) +
+

+
+ Mapping + + evaluateMapping(GrailsDomainClass domainClass, groovy.lang.Closure defaultMapping) +
+

+
+ Mapping + + evaluateMapping(GrailsDomainClass domainClass, groovy.lang.Closure defaultMapping, boolean cache) +
+

+
+ protected java.lang.String + + getAssociationDescription(GrailsDomainClassProperty grailsProperty) +
+

+
+ protected Column + + getColumnForSimpleValue(SimpleValue element) +
+

+
+ protected java.lang.String + + getColumnNameForPropertyAndPath(GrailsDomainClassProperty grailsProp, java.lang.String path, ColumnConfig cc, java.lang.String sessionFactoryBeanName) +
+

+
+ protected ConstrainedProperty + + getConstrainedProperty(GrailsDomainClassProperty grailsProp) +
+

@return a count of the digits in the specified number

+
+ protected java.lang.String + + getDefaultColumnName(GrailsDomainClassProperty property, java.lang.String sessionFactoryBeanName) +
+

+
+ protected java.lang.String + + getForeignKeyForPropertyDomainClass(GrailsDomainClassProperty property, java.lang.String sessionFactoryBeanName) +
+

Interrogates the specified constraints looking for any constraints that would limit the + length of the property's value.

+
+ protected java.lang.Class + + getGroovyAwareJoinedSubclassEntityPersisterClass() +
+

+
+ protected java.lang.Class + + getGroovyAwareSingleTableEntityPersisterClass() +
+

+
+ protected java.lang.String + + getIndexColumnName(GrailsDomainClassProperty property, java.lang.String sessionFactoryBeanName) +
+

+
+ protected java.lang.String + + getIndexColumnType(GrailsDomainClassProperty property, java.lang.String defaultType) +
+

+
+ protected boolean + + getInsertableness(GrailsDomainClassProperty grailsProperty) +
+

+
+ protected java.lang.String + + getJoinedSubClassTableName(GrailsDomainClass sub, PersistentClass model, Table denormalizedSuperTable, Mappings mappings, java.lang.String sessionFactoryBeanName) +
+

Creates and binds the discriminator property used in table-per-hierarchy inheritance to + discriminate between sub class instances

+
+ protected boolean + + getLaziness(GrailsDomainClassProperty grailsProperty) +
+

+
+ protected java.lang.String + + getMapElementName(GrailsDomainClassProperty property, java.lang.String sessionFactoryBeanName) +
+

+
+ Mapping + + getMapping(java.lang.Class theClass) +
+

+
+ Mapping + + getMapping(GrailsDomainClass domainClass) +
+

+
+ protected int + + getMaxSize(java.util.List inListValues) +
+

+
+ protected java.lang.String + + getNameForPropertyAndPath(GrailsDomainClassProperty property, java.lang.String path) +
+

+
+ protected NamingStrategy + + getNamingStrategy(java.lang.String sessionFactoryBeanName) +
+

Binds a Grails domain class to the Hibernate runtime meta model

+
+ protected Property + + getProperty(PersistentClass associatedClass, java.lang.String propertyName) +
+

Links a bidirectional one-to-many, configuring the inverse side and using a column copy to perform the link

+
+ PropertyConfig + + getPropertyConfig(GrailsDomainClassProperty property) +
+

+
+ protected Mapping + + getRootMapping(GrailsDomainClass referenced) +
+

+
+ protected ColumnConfig + + getSingleColumnConfig(PropertyConfig propertyConfig) +
+

+
+ protected java.lang.String + + getTableName(GrailsDomainClass domainClass, java.lang.String sessionFactoryBeanName) +
+

+
+ protected java.lang.String + + getTypeName(GrailsDomainClassProperty property, PropertyConfig config, Mapping mapping) +
+

+
+ protected boolean + + getUpdateableness(GrailsDomainClassProperty grailsProperty) +
+

+
+ protected java.lang.Class + + getUserType(GrailsDomainClassProperty currentGrailsProp) +
+

Binds a Hibernate component type using the given GrailsDomainClassProperty instance

+
+ protected void + + handleLazyProxy(GrailsDomainClass domainClass, GrailsDomainClassProperty grailsProperty) +
+

+
+ protected void + + handleUniqueConstraint(GrailsDomainClassProperty property, Column column, java.lang.String path, Table table, java.lang.String columnName, java.lang.String sessionFactoryBeanName) +
+

+
+ protected boolean + + hasCompositeIdentifier(Mapping mapping) +
+

+
+ protected boolean + + hasJoinColumnMapping(PropertyConfig config) +
+

@param property

+
+ protected boolean + + hasJoinKeyMapping(PropertyConfig c) +
+

+
+ protected boolean + + hasJoinTableColumnNameMapping(PropertyConfig pc) +
+

+
+ protected boolean + + identityEnumTypeSupports(java.lang.Class propertyType) +
+

+
+ protected boolean + + isBidirectionalManyToOne(GrailsDomainClassProperty currentGrailsProp) +
+

+
+ protected boolean + + isBidirectionalManyToOneWithListMapping(GrailsDomainClassProperty grailsProperty, Property prop) +
+

+
+ protected boolean + + isBidirectionalOneToManyMap(GrailsDomainClassProperty property) +
+

+
+ protected boolean + + isCircularAssociation(GrailsDomainClassProperty grailsProperty) +
+

Binds a simple value to the Hibernate metamodel.

+
+ protected boolean + + isComponentPropertyNullable(GrailsDomainClassProperty componentProperty) +
+

Binds a many-to-one relationship to the

+
+ protected boolean + + isCompositeIdProperty(Mapping gormMapping, GrailsDomainClassProperty currentGrailsProp) +
+

+
+ protected boolean + + isIdentityProperty(Mapping gormMapping, GrailsDomainClassProperty currentGrailsProp) +
+

+
+ protected boolean + + isNonPropertyToken(java.lang.String token) +
+

+
+ protected boolean + + isNotEmpty(java.lang.String s) +
+

+
+ protected boolean + + isSaveUpdateCascade(java.lang.String cascade) +
+

Obtains a mapping object for the given domain class nam

+
+ protected boolean + + isSorted(GrailsDomainClassProperty property) +
+

+
+ protected boolean + + isUnidirectionalOneToMany(GrailsDomainClassProperty property) +
+

+
+ protected void + + linkBidirectionalOneToMany(Collection collection, PersistentClass associatedClass, DependantValue key, GrailsDomainClassProperty otherSide) +
+

Establish whether a collection property is sorted

+
+ protected void + + linkValueUsingAColumnCopy(GrailsDomainClassProperty prop, Column column, DependantValue key) +
+

+
+ protected void + + logCascadeMapping(GrailsDomainClassProperty grailsProperty, java.lang.String cascadeStrategy, GrailsDomainClass referenced) +
+

+
+ protected java.lang.String + + qualify(java.lang.String prefix, java.lang.String name) +
+

+
+ protected java.lang.String + + removeBackticks(java.lang.String s) +
+

+
+ protected void + + setCascadeBehaviour(GrailsDomainClassProperty grailsProperty, Property prop) +
+

+
+ protected void + + setTypeForPropertyConfig(GrailsDomainClassProperty grailsProp, SimpleValue simpleValue, PropertyConfig config) +
+

Binds a value for the specified parameters to the meta model.

+
+ protected void + + setUniqueName(UniqueKey uk) +
+

+
+ protected boolean + + shouldBindCollectionWithForeignKey(GrailsDomainClassProperty property) +
+

+
+ protected boolean + + shouldCollectionBindWithJoinColumn(GrailsDomainClassProperty property) +
+

+
+ protected boolean + + supportsJoinColumnMapping(GrailsDomainClassProperty grailsProp) +
+

+
+ protected void + + trackCustomCascadingSaves(Mapping mapping, GrailsDomainClassProperty[] persistentProperties) +
+

Checks for any custom cascading saves set up via the mapping DSL and records them within the persistent property.

+
+ protected java.lang.String + + trimBackTigs(java.lang.String tableName) +
+

Evaluates the table name for the given property

+
+ protected java.lang.String + + unqualify(java.lang.String qualifiedName) +
+

+
+   + + + +
+ Methods inherited from class java.lang.Object +
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
+   + +

+ + + + + + + + + + + + + + +
+ Field Detail
+ +

BACKTICK

+
protected static final java.lang.String BACKTICK
+
+
+
+

+

+
+ +

CASCADE_ALL

+
protected static final java.lang.String CASCADE_ALL
+
+
+
+

+

+
+ +

CASCADE_ALL_DELETE_ORPHAN

+
protected static final java.lang.String CASCADE_ALL_DELETE_ORPHAN
+
+
+
+

+

+
+ +

CASCADE_NONE

+
protected static final java.lang.String CASCADE_NONE
+
+
+
+

+

+
+ +

CASCADE_SAVE_UPDATE

+
protected static final java.lang.String CASCADE_SAVE_UPDATE
+
+
+
+

+

+
+ +

CT

+
protected final CollectionType CT
+
+
+
+

+

+
+ +

DEFAULT_ENUM_TYPE

+
protected static final java.lang.String DEFAULT_ENUM_TYPE
+
+
+
+

+

+
+ +

EMPTY_PATH

+
protected static final java.lang.String EMPTY_PATH
+
+
+
+

+

+
+ +

ENUM_CLASS_PROP

+
protected static final java.lang.String ENUM_CLASS_PROP
+
+
+
+

+

+
+ +

ENUM_TYPE_CLASS

+
protected static final java.lang.String ENUM_TYPE_CLASS
+
+
+
+

+

+
+ +

ENUM_TYPE_PROP

+
protected static final java.lang.String ENUM_TYPE_PROP
+
+
+
+

+

+
+ +

FOREIGN_KEY_SUFFIX

+
protected static final java.lang.String FOREIGN_KEY_SUFFIX
+
+
+
+

+

+
+ +

LOG

+
protected final Logger LOG
+
+
+
+

+

+
+ +

MAPPING_CACHE

+
protected static final java.util.Map MAPPING_CACHE
+
+
+
+

+

+
+ +

NAMING_STRATEGIES

+
public static java.util.Map NAMING_STRATEGIES
+
+
Overrideable naming strategy. Defaults to ImprovedNamingStrategy but can + be configured in DataSource.groovy via hibernate.naming_strategy = .... + +
+

+

+
+ +

STRING_TYPE

+
protected static final java.lang.String STRING_TYPE
+
+
+
+

+

+
+ +

UNDERSCORE

+
protected static final char UNDERSCORE
+
+
+
+

+

+
+ +   + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Method Detail
+ +

+ addUnderscore

+
protected java.lang.String addUnderscore(java.lang.String s1, java.lang.String s2)
+
+
+
+

+

+
+ +

+ bindClass

+
public void bindClass(GrailsDomainClass domainClass, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindClass

+
protected void bindClass(GrailsDomainClass domainClass, PersistentClass persistentClass, Mappings mappings)
+
+
Binds a root class (one with no super classes) to the runtime meta model + based on the supplied Grails domain class +
Parameters:
domainClass - The Grails domain class
mappings - The Hibernate Mappings object
sessionFactoryBeanName - the session factory bean name
+
+

+

+
+ +

+ bindCollection

+
protected void bindCollection(GrailsDomainClassProperty property, Collection collection, PersistentClass owner, Mappings mappings, java.lang.String path, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindCollectionForPropertyConfig

+
protected void bindCollectionForPropertyConfig(Collection collection, PropertyConfig config)
+
+
+
+

+

+
+ +

+ bindCollectionSecondPass

+
protected void bindCollectionSecondPass(GrailsDomainClassProperty property, Mappings mappings, java.util.Map persistentClasses, Collection collection, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindCollectionTable

+
protected void bindCollectionTable(GrailsDomainClassProperty property, Mappings mappings, Collection collection, Table ownerTable, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindCollectionWithJoinTable

+
protected void bindCollectionWithJoinTable(GrailsDomainClassProperty property, Mappings mappings, Collection collection, PropertyConfig config, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindColumn

+
protected void bindColumn(GrailsDomainClassProperty property, GrailsDomainClassProperty parentProperty, Column column, ColumnConfig cc, java.lang.String path, Table table, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindColumnConfigToColumn

+
protected void bindColumnConfigToColumn(Column column, ColumnConfig columnConfig)
+
+
+
+

+

+
+ +

+ bindComponent

+
protected void bindComponent(Component component, GrailsDomainClassProperty property, boolean isNullable, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindComponentProperty

+
protected void bindComponentProperty(Component component, GrailsDomainClassProperty componentProperty, GrailsDomainClassProperty currentGrailsProp, PersistentClass persistentClass, java.lang.String path, Table table, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindCompositeId

+
protected void bindCompositeId(GrailsDomainClass domainClass, RootClass root, CompositeIdentity compositeIdentity, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
Creates and binds the properties for the specified Grails domain class and PersistentClass + and binds them to the Hibernate runtime meta model +
Parameters:
domainClass - The Grails domain class
persistentClass - The Hibernate PersistentClass instance
mappings - The Hibernate Mappings instance
sessionFactoryBeanName - the session factory bean name
+
+

+

+
+ +

+ bindCompositeIdentifierToManyToOne

+
protected void bindCompositeIdentifierToManyToOne(GrailsDomainClassProperty property, SimpleValue value, CompositeIdentity compositeId, GrailsDomainClass refDomainClass, java.lang.String path, java.lang.String sessionFactoryBeanName)
+
+
+ +
+

+

+
+ +

+ bindDependentKeyValue

+
protected void bindDependentKeyValue(GrailsDomainClassProperty property, DependantValue key, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindDiscriminatorProperty

+
protected void bindDiscriminatorProperty(Table table, RootClass entity, Mappings mappings)
+
+
+
+

+

+
+ +

+ bindEnumType

+
protected void bindEnumType(GrailsDomainClassProperty property, SimpleValue simpleValue, java.lang.String path, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindEnumType

+
protected void bindEnumType(GrailsDomainClassProperty property, java.lang.Class propertyType, SimpleValue simpleValue, java.lang.String columnName)
+
+
+
+

+

+
+ +

+ bindIdentity

+
protected void bindIdentity(GrailsDomainClass domainClass, RootClass root, Mappings mappings, Mapping gormMapping, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindIndex

+
protected void bindIndex(java.lang.String columnName, Column column, ColumnConfig cc, Table table)
+
+
+
+

+

+
+ +

+ bindJoinedSubClass

+
protected void bindJoinedSubClass(GrailsDomainClass sub, JoinedSubclass joinedSubclass, Mappings mappings, Mapping gormMapping, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindListSecondPass

+
protected void bindListSecondPass(GrailsDomainClassProperty property, Mappings mappings, java.util.Map persistentClasses, List list, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindManyToMany

+
protected void bindManyToMany(GrailsDomainClassProperty property, ManyToOne element, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindManyToOne

+
@java.lang.SuppressWarnings
+protected void bindManyToOne(GrailsDomainClassProperty property, ManyToOne manyToOne, java.lang.String path, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindManyToOneValues

+
protected void bindManyToOneValues(GrailsDomainClassProperty property, ManyToOne manyToOne)
+
+
+
+

+

+
+ +

+ bindMapSecondPass

+
protected void bindMapSecondPass(GrailsDomainClassProperty property, Mappings mappings, java.util.Map persistentClasses, Map map, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindNaturalIdentifier

+
protected void bindNaturalIdentifier(Table table, Mapping mapping, PersistentClass persistentClass)
+
+
+
+

+

+
+ +

+ bindNumericColumnConstraints

+
protected void bindNumericColumnConstraints(Column column, ConstrainedProperty constrainedProperty)
+
+
+
+

+

+
+ +

+ bindOneToMany

+
protected void bindOneToMany(GrailsDomainClassProperty currentGrailsProp, OneToMany one, Mappings mappings)
+
+
+
+

+

+
+ +

+ bindOneToOne

+
protected void bindOneToOne(GrailsDomainClassProperty property, OneToOne oneToOne, java.lang.String path, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindProperty

+
protected void bindProperty(GrailsDomainClassProperty grailsProperty, Property prop, Mappings mappings)
+
+
+
+

+

+
+ +

+ bindRoot

+
public void bindRoot(GrailsDomainClass domainClass, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindRootPersistentClassCommonValues

+
protected void bindRootPersistentClassCommonValues(GrailsDomainClass domainClass, RootClass root, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindSimpleId

+
@java.lang.SuppressWarnings*/
+protected void bindSimpleId(GrailsDomainClassProperty identifier, RootClass entity, Mappings mappings, Identity mappedId, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindSimpleValue

+
protected void bindSimpleValue(GrailsDomainClassProperty property, GrailsDomainClassProperty parentProperty, SimpleValue simpleValue, java.lang.String path, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindSimpleValue

+
protected void bindSimpleValue(GrailsDomainClassProperty grailsProp, SimpleValue simpleValue, java.lang.String path, PropertyConfig propertyConfig, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindSimpleValue

+
protected void bindSimpleValue(GrailsDomainClassProperty grailsProp, GrailsDomainClassProperty parentProperty, SimpleValue simpleValue, java.lang.String path, PropertyConfig propertyConfig, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindSimpleValue

+
protected void bindSimpleValue(java.lang.String type, SimpleValue simpleValue, boolean nullable, java.lang.String columnName, Mappings mappings)
+
+
+
+

+

+
+ +

+ bindStringColumnConstraints

+
protected void bindStringColumnConstraints(Column column, ConstrainedProperty constrainedProperty)
+
+
+
Returns:
the maximum length of the strings in the specified list
+
+

+

+
+ +

+ bindSubClass

+
protected void bindSubClass(GrailsDomainClass sub, PersistentClass parent, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindSubClass

+
protected void bindSubClass(GrailsDomainClass sub, Subclass subClass, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindSubClasses

+
protected void bindSubClasses(GrailsDomainClass domainClass, PersistentClass parent, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
Binds a sub class. +
Parameters:
sub - The sub domain class instance
parent - The parent persistent class instance
mappings - The mappings instance
sessionFactoryBeanName - the session factory bean name
+
+

+

+
+ +

+ bindUnidirectionalOneToMany

+
protected void bindUnidirectionalOneToMany(GrailsDomainClassProperty property, Mappings mappings, Collection collection)
+
+
Binds a unidirectional one-to-many creating a psuedo back reference property in the process. +
Parameters:
property
mappings
collection
+
+

+

+
+ +

+ bindUnidirectionalOneToManyInverseValues

+
protected void bindUnidirectionalOneToManyInverseValues(GrailsDomainClassProperty property, ManyToOne manyToOne)
+
+
+
+

+

+
+ +

+ bindUnionSubclass

+
public void bindUnionSubclass(GrailsDomainClass subClass, UnionSubclass unionSubclass, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ bindVersion

+
protected void bindVersion(GrailsDomainClassProperty version, RootClass entity, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ buildDiscriminatorSet

+
protected java.util.Set buildDiscriminatorSet(GrailsDomainClass domainClass)
+
+
+
+

+

+
+ +

+ buildOrderByClause

+
@java.lang.SuppressWarningsSelectable col = (Selectable) it.next();
+protected java.lang.String buildOrderByClause(java.lang.String hqlOrderBy, PersistentClass associatedClass, java.lang.String role, java.lang.String defaultOrder)
+
+
+
+

+

+
+ +

+ calculateTableForMany

+
protected java.lang.String calculateTableForMany(GrailsDomainClassProperty property, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ canBindOneToOneWithSingleColumnAndForeignKey

+
protected boolean canBindOneToOneWithSingleColumnAndForeignKey(GrailsDomainClassProperty currentGrailsProp)
+
+
+
+

+

+
+ +

+ clearMappingCache

+
public void clearMappingCache()
+
+
+
+

+

+
+ +

+ clearMappingCache

+
public void clearMappingCache(java.lang.Class theClass)
+
+
+
+

+

+
+ +

+ configureDerivedProperties

+
protected void configureDerivedProperties(GrailsDomainClass domainClass, Mapping m)
+
+
+
+

+

+
+ +

+ configureNamingStrategy

+
public void configureNamingStrategy(java.lang.Object strategy)
+
+
Override the default naming strategy for the default datasource given a Class or a full class name.
throws:
ClassNotFoundException
throws:
InstantiationException
throws:
IllegalAccessException
+
Parameters:
strategy - the class or name
+
+

+

+
+ +

+ configureNamingStrategy

+
public void configureNamingStrategy(java.lang.String datasourceName, java.lang.Object strategy)
+
+
Override the default naming strategy given a Class or a full class name, + or an instance of a NamingStrategy.
throws:
ClassNotFoundException
throws:
InstantiationException
throws:
IllegalAccessException
+
Parameters:
datasourceName - the datasource name
strategy - the class, name, or instance
+
+

+

+
+ +

+ countDigits

+
protected int countDigits(java.lang.Number number)
+
+
A Collection type, for the moment only Set is supported +
Authors:
Graeme
+
+

+

+
+ +

+ createClassProperties

+
protected void createClassProperties(GrailsDomainClass domainClass, PersistentClass persistentClass, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ createKeyForProps

+
protected void createKeyForProps(GrailsDomainClassProperty grailsProp, java.lang.String path, Table table, java.lang.String columnName, java.util.List propertyNames, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ createPrimaryKeyValue

+
protected DependantValue createPrimaryKeyValue(Mappings mappings, GrailsDomainClassProperty property, Collection collection, java.util.Map persistentClasses)
+
+
+
+

+

+
+ +

+ createProperty

+
protected Property createProperty(Value value, PersistentClass persistentClass, GrailsDomainClassProperty grailsProperty, Mappings mappings)
+
+
+
+

+

+
+ +

+ createUniqueKeyForColumns

+
protected void createUniqueKeyForColumns(Table table, java.lang.String columnName, java.util.List keyList)
+
+
+
+

+

+
+ +

+ evaluateMapping

+
public Mapping evaluateMapping(GrailsDomainClass domainClass)
+
+
+
+

+

+
+ +

+ evaluateMapping

+
public Mapping evaluateMapping(GrailsDomainClass domainClass, groovy.lang.Closure defaultMapping)
+
+
+
+

+

+
+ +

+ evaluateMapping

+
public Mapping evaluateMapping(GrailsDomainClass domainClass, groovy.lang.Closure defaultMapping, boolean cache)
+
+
+
+

+

+
+ +

+ getAssociationDescription

+
protected java.lang.String getAssociationDescription(GrailsDomainClassProperty grailsProperty)
+
+
+
+

+

+
+ +

+ getColumnForSimpleValue

+
protected Column getColumnForSimpleValue(SimpleValue element)
+
+
+
+

+

+
+ +

+ getColumnNameForPropertyAndPath

+
protected java.lang.String getColumnNameForPropertyAndPath(GrailsDomainClassProperty grailsProp, java.lang.String path, ColumnConfig cc, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ getConstrainedProperty

+
protected ConstrainedProperty getConstrainedProperty(GrailsDomainClassProperty grailsProp)
+
+
+
Returns:
a count of the digits in the specified number
+
+

+

+
+ +

+ getDefaultColumnName

+
protected java.lang.String getDefaultColumnName(GrailsDomainClassProperty property, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ getForeignKeyForPropertyDomainClass

+
protected java.lang.String getForeignKeyForPropertyDomainClass(GrailsDomainClassProperty property, java.lang.String sessionFactoryBeanName)
+
+
Interrogates the specified constraints looking for any constraints that would limit the + length of the property's value. If such constraints exist, this method adjusts the length + of the column accordingly. +
Parameters:
column - the column that corresponds to the property
constrainedProperty - the property's constraints
+
+

+

+
+ +

+ getGroovyAwareJoinedSubclassEntityPersisterClass

+
protected java.lang.Class getGroovyAwareJoinedSubclassEntityPersisterClass()
+
+
+
+

+

+
+ +

+ getGroovyAwareSingleTableEntityPersisterClass

+
protected java.lang.Class getGroovyAwareSingleTableEntityPersisterClass()
+
+
+
+

+

+
+ +

+ getIndexColumnName

+
protected java.lang.String getIndexColumnName(GrailsDomainClassProperty property, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ getIndexColumnType

+
protected java.lang.String getIndexColumnType(GrailsDomainClassProperty property, java.lang.String defaultType)
+
+
+
+

+

+
+ +

+ getInsertableness

+
protected boolean getInsertableness(GrailsDomainClassProperty grailsProperty)
+
+
+
+

+

+
+ +

+ getJoinedSubClassTableName

+
protected java.lang.String getJoinedSubClassTableName(GrailsDomainClass sub, PersistentClass model, Table denormalizedSuperTable, Mappings mappings, java.lang.String sessionFactoryBeanName)
+
+
Creates and binds the discriminator property used in table-per-hierarchy inheritance to + discriminate between sub class instances +
Parameters:
table - The table to bind onto
entity - The root class entity
mappings - The mappings instance
+
+

+

+
+ +

+ getLaziness

+
protected boolean getLaziness(GrailsDomainClassProperty grailsProperty)
+
+
+
+

+

+
+ +

+ getMapElementName

+
protected java.lang.String getMapElementName(GrailsDomainClassProperty property, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ getMapping

+
public Mapping getMapping(java.lang.Class theClass)
+
+
+
+

+

+
+ +

+ getMapping

+
public Mapping getMapping(GrailsDomainClass domainClass)
+
+
+
+

+

+
+ +

+ getMaxSize

+
protected int getMaxSize(java.util.List inListValues)
+
+
+
+

+

+
+ +

+ getNameForPropertyAndPath

+
protected java.lang.String getNameForPropertyAndPath(GrailsDomainClassProperty property, java.lang.String path)
+
+
+
+

+

+
+ +

+ getNamingStrategy

+
protected NamingStrategy getNamingStrategy(java.lang.String sessionFactoryBeanName)
+
+
Binds a Grails domain class to the Hibernate runtime meta model
throws:
MappingException Thrown if the domain class uses inheritance which is not supported
+
Parameters:
domainClass - The domain class to bind
mappings - The existing mappings
sessionFactoryBeanName - the session factory bean name
+
+

+

+
+ +

+ getProperty

+
protected Property getProperty(PersistentClass associatedClass, java.lang.String propertyName)
+
+
Links a bidirectional one-to-many, configuring the inverse side and using a column copy to perform the link +
Parameters:
collection - The collection one-to-many
associatedClass - The associated class
key - The key
otherSide - The other side of the relationship
+
+

+

+
+ +

+ getPropertyConfig

+
public PropertyConfig getPropertyConfig(GrailsDomainClassProperty property)
+
+
+
+

+

+
+ +

+ getRootMapping

+
protected Mapping getRootMapping(GrailsDomainClass referenced)
+
+
+
+

+

+
+ +

+ getSingleColumnConfig

+
protected ColumnConfig getSingleColumnConfig(PropertyConfig propertyConfig)
+
+
+
+

+

+
+ +

+ getTableName

+
protected java.lang.String getTableName(GrailsDomainClass domainClass, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ getTypeName

+
protected java.lang.String getTypeName(GrailsDomainClassProperty property, PropertyConfig config, Mapping mapping)
+
+
+
+

+

+
+ +

+ getUpdateableness

+
protected boolean getUpdateableness(GrailsDomainClassProperty grailsProperty)
+
+
+
+

+

+
+ +

+ getUserType

+
protected java.lang.Class getUserType(GrailsDomainClassProperty currentGrailsProp)
+
+
Binds a Hibernate component type using the given GrailsDomainClassProperty instance +
Parameters:
component - The component to bind
property - The property
isNullable - Whether it is nullable or not
mappings - The Hibernate Mappings object
sessionFactoryBeanName - the session factory bean name
+
+

+

+
+ +

+ handleLazyProxy

+
protected void handleLazyProxy(GrailsDomainClass domainClass, GrailsDomainClassProperty grailsProperty)
+
+
+
+

+

+
+ +

+ handleUniqueConstraint

+
protected void handleUniqueConstraint(GrailsDomainClassProperty property, Column column, java.lang.String path, Table table, java.lang.String columnName, java.lang.String sessionFactoryBeanName)
+
+
+
+

+

+
+ +

+ hasCompositeIdentifier

+
protected boolean hasCompositeIdentifier(Mapping mapping)
+
+
+
+

+

+
+ +

+ hasJoinColumnMapping

+
protected boolean hasJoinColumnMapping(PropertyConfig config)
+
+
+
Parameters:
property
manyToOne
+
+

+

+
+ +

+ hasJoinKeyMapping

+
protected boolean hasJoinKeyMapping(PropertyConfig c)
+
+
+
+

+

+
+ +

+ hasJoinTableColumnNameMapping

+
protected boolean hasJoinTableColumnNameMapping(PropertyConfig pc)
+
+
+
+

+

+
+ +

+ identityEnumTypeSupports

+
protected boolean identityEnumTypeSupports(java.lang.Class propertyType)
+
+
+
+

+

+
+ +

+ isBidirectionalManyToOne

+
protected boolean isBidirectionalManyToOne(GrailsDomainClassProperty currentGrailsProp)
+
+
+
+

+

+
+ +

+ isBidirectionalManyToOneWithListMapping

+
protected boolean isBidirectionalManyToOneWithListMapping(GrailsDomainClassProperty grailsProperty, Property prop)
+
+
+
+

+

+
+ +

+ isBidirectionalOneToManyMap

+
protected boolean isBidirectionalOneToManyMap(GrailsDomainClassProperty property)
+
+
+
+

+

+
+ +

+ isCircularAssociation

+
protected boolean isCircularAssociation(GrailsDomainClassProperty grailsProperty)
+
+
Binds a simple value to the Hibernate metamodel. A simple value is + any type within the Hibernate type system +
Parameters:
property
parentProperty
simpleValue - The simple value to bind
path
mappings - The Hibernate mappings instance
sessionFactoryBeanName - the session factory bean name
+
+

+

+
+ +

+ isComponentPropertyNullable

+
protected boolean isComponentPropertyNullable(GrailsDomainClassProperty componentProperty)
+
+
Binds a many-to-one relationship to the + + +
+

+

+
+ +

+ isCompositeIdProperty

+
protected boolean isCompositeIdProperty(Mapping gormMapping, GrailsDomainClassProperty currentGrailsProp)
+
+
+
+

+

+
+ +

+ isIdentityProperty

+
protected boolean isIdentityProperty(Mapping gormMapping, GrailsDomainClassProperty currentGrailsProp)
+
+
+
+

+

+
+ +

+ isNonPropertyToken

+
protected boolean isNonPropertyToken(java.lang.String token)
+
+
+
+

+

+
+ +

+ isNotEmpty

+
protected boolean isNotEmpty(java.lang.String s)
+
+
+
+

+

+
+ +

+ isSaveUpdateCascade

+
protected boolean isSaveUpdateCascade(java.lang.String cascade)
+
+
Obtains a mapping object for the given domain class nam +
Parameters:
domainClass - The domain class in question
Returns:
A Mapping object or null
+
+

+

+
+ +

+ isSorted

+
protected boolean isSorted(GrailsDomainClassProperty property)
+
+
+
+

+

+
+ +

+ isUnidirectionalOneToMany

+
protected boolean isUnidirectionalOneToMany(GrailsDomainClassProperty property)
+
+
+
+

+

+
+ +

+ linkBidirectionalOneToMany

+
protected void linkBidirectionalOneToMany(Collection collection, PersistentClass associatedClass, DependantValue key, GrailsDomainClassProperty otherSide)
+
+
Establish whether a collection property is sorted +
Parameters:
property - The property
Returns:
true if sorted
+
+

+

+
+ +

+ linkValueUsingAColumnCopy

+
protected void linkValueUsingAColumnCopy(GrailsDomainClassProperty prop, Column column, DependantValue key)
+
+
+
+

+

+
+ +

+ logCascadeMapping

+
protected void logCascadeMapping(GrailsDomainClassProperty grailsProperty, java.lang.String cascadeStrategy, GrailsDomainClass referenced)
+
+
+
+

+

+
+ +

+ qualify

+
protected java.lang.String qualify(java.lang.String prefix, java.lang.String name)
+
+
+
+

+

+
+ +

+ removeBackticks

+
protected java.lang.String removeBackticks(java.lang.String s)
+
+
+
+

+

+
+ +

+ setCascadeBehaviour

+
protected void setCascadeBehaviour(GrailsDomainClassProperty grailsProperty, Property prop)
+
+
+
+

+

+
+ +

+ setTypeForPropertyConfig

+
protected void setTypeForPropertyConfig(GrailsDomainClassProperty grailsProp, SimpleValue simpleValue, PropertyConfig config)
+
+
Binds a value for the specified parameters to the meta model. +
Parameters:
type - The type of the property
simpleValue - The simple value instance
nullable - Whether it is nullable
columnName - The property name
mappings - The mappings
+
+

+

+
+ +

+ setUniqueName

+
protected void setUniqueName(UniqueKey uk)
+
+
+
+

+

+
+ +

+ shouldBindCollectionWithForeignKey

+
protected boolean shouldBindCollectionWithForeignKey(GrailsDomainClassProperty property)
+
+
+
+

+

+
+ +

+ shouldCollectionBindWithJoinColumn

+
protected boolean shouldCollectionBindWithJoinColumn(GrailsDomainClassProperty property)
+
+
+
+

+

+
+ +

+ supportsJoinColumnMapping

+
protected boolean supportsJoinColumnMapping(GrailsDomainClassProperty grailsProp)
+
+
+
+

+

+
+ +

+ trackCustomCascadingSaves

+
protected void trackCustomCascadingSaves(Mapping mapping, GrailsDomainClassProperty[] persistentProperties)
+
+
Checks for any custom cascading saves set up via the mapping DSL and records them within the persistent property. +
Parameters:
mapping - The Mapping.
persistentProperties - The persistent properties of the domain class.
+
+

+

+
+ +

+ trimBackTigs

+
protected java.lang.String trimBackTigs(java.lang.String tableName)
+
+
Evaluates the table name for the given property +
Parameters:
domainClass - The domain class to evaluate
Returns:
The table name
+
+

+

+
+ +

+ unqualify

+
protected java.lang.String unqualify(java.lang.String qualifiedName)
+
+
+
+

+

+
+ +   + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/codehaus/groovy/grails/orm/hibernate/cfg/CacheConfig.html b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/CacheConfig.html new file mode 100644 index 000000000..fe4251c95 --- /dev/null +++ b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/CacheConfig.html @@ -0,0 +1,306 @@ + + + + + + + + + +CacheConfig (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate.cfg +
+ +[Groovy] Class CacheConfig

+
java.lang.Object
+  org.codehaus.groovy.grails.orm.hibernate.cfg.CacheConfig
+

+
class CacheConfig
+
+
+ +

+ Defines the cache configuration. +

Authors:
Graeme Rocher
Since:
1.0
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Property Summary
+ static java.util.List + INCLUDE_OPTIONS +
+

+
+ static java.util.List + USAGE_OPTIONS +
+

+
+ boolean + enabled +
+

+
+ java.lang.String + include +
+

+
+ java.lang.String + usage +
+

+
+   + + + + + + + + + + + + + + + + + + +
+ Method Summary
+   + + +
+ Methods inherited from class java.lang.Object +
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
+   + +

+ + + + + + + + + + + + + + + + + + + +
+ Property Detail
+ +

INCLUDE_OPTIONS

+
static final java.util.List INCLUDE_OPTIONS
+
+
+
+

+

+
+ +

USAGE_OPTIONS

+
static final java.util.List USAGE_OPTIONS
+
+
+
+

+

+
+ +

enabled

+
boolean enabled
+
+
+
+

+

+
+ +

include

+
java.lang.String include
+
+
+
+

+

+
+ +

usage

+
java.lang.String usage
+
+
+
+

+

+
+ +   + + + + + + + + + + + + + + + + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/grails/datastore/mapping/model/config/GormProperties.html b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/ColumnConfig.html similarity index 55% rename from api/org/grails/datastore/mapping/model/config/GormProperties.html rename to api/org/codehaus/groovy/grails/orm/hibernate/cfg/ColumnConfig.html index 185f60030..ac32df788 100644 --- a/api/org/grails/datastore/mapping/model/config/GormProperties.html +++ b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/ColumnConfig.html @@ -6,18 +6,18 @@ - -GormProperties (grails-datastore-core 2.0.1.RELEASE API) - + +ColumnConfig (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + - - - + + + @@ -35,15 +35,15 @@ - + - - - + + +
@@ -54,21 +54,21 @@ NEXT CLASS
--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -76,9 +76,9 @@ -SUMMARY: NESTED | FIELD | METHOD +SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD -DETAIL: FIELD | METHOD +DETAIL: FIELD | PROPERTY | CONSTR | METHOD @@ -89,17 +89,19 @@

-org.grails.datastore.mapping.model.config +org.codehaus.groovy.grails.orm.hibernate.cfg
-[Java] Interface GormProperties

-
-
public interface GormProperties
+[Groovy] Class ColumnConfig
+
java.lang.Object
+  org.codehaus.groovy.grails.orm.hibernate.cfg.ColumnConfig
+

+
class ColumnConfig
 
 

- Reserved static property names used by GORM to evaluate GORM-style syntax. + Defines a column within the mapping.

Authors:
Graeme Rocher
Since:
1.0


@@ -119,27 +121,22 @@

+ + + + + + Property Summary - - - - - @@ -149,7 +146,7 @@

@@ -159,7 +156,7 @@

@@ -167,9 +164,9 @@

+ java.lang.Object @@ -177,9 +174,9 @@

+ int @@ -189,7 +186,7 @@

@@ -197,9 +194,9 @@

+ int @@ -207,9 +204,9 @@

+ int @@ -219,7 +216,7 @@

@@ -227,39 +224,9 @@

+ boolean - - - - - - - - - - - - - - - @@ -269,11 +236,6 @@

  - - - - - @@ -287,6 +249,32 @@

+

- Field Summary
java.lang.String - BELONGS_TO -
-

-
- java.lang.String - CONSTRAINTS + comment

java.lang.String - DATE_CREATED + defaultValue

java.lang.String - EMBEDDED + enumType

- java.lang.String - HAS_MANY + index

- java.lang.String - HAS_ONE + length

java.lang.String - IDENTITY + name

- java.lang.String - LAST_UPDATED + precision

- java.lang.String - MAPPED_BY + scale

java.lang.String - MAPPING + sqlType

- java.lang.String - MAPPING_STRATEGY -
-

-
- java.lang.String - NAMED_QUERIES -
-

-
- java.lang.String - TRANSIENT -
-

-
- java.lang.String - VERSION + unique

+ + + + + + + + + +
+ Method Summary
+ java.lang.String + + toString() +
+

+
+   + + + +
+ Methods inherited from class java.lang.Object +
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
+  

@@ -299,42 +287,20 @@

+ + + + + + Property Detail
- Field Detail
-

BELONGS_TO

-
public java.lang.String BELONGS_TO
-
-
-
-

-

-
- -

CONSTRAINTS

-
public java.lang.String CONSTRAINTS
-
-
-
-

-

-
- -

DATE_CREATED

-
public java.lang.String DATE_CREATED
-
-
-
-

-

-
- -

EMBEDDED

-
public java.lang.String EMBEDDED
+

comment

+
java.lang.String comment
@@ -342,8 +308,8 @@


-

HAS_MANY

-
public java.lang.String HAS_MANY
+

defaultValue

+
java.lang.String defaultValue
@@ -351,8 +317,8 @@


-

HAS_ONE

-
public java.lang.String HAS_ONE
+

enumType

+
java.lang.String enumType
@@ -360,8 +326,8 @@


-

IDENTITY

-
public java.lang.String IDENTITY
+

index

+
java.lang.Object index
@@ -369,8 +335,8 @@


-

LAST_UPDATED

-
public java.lang.String LAST_UPDATED
+

length

+
int length
@@ -378,8 +344,8 @@


-

MAPPED_BY

-
public java.lang.String MAPPED_BY
+

name

+
java.lang.String name
@@ -387,8 +353,8 @@


-

MAPPING

-
public java.lang.String MAPPING
+

precision

+
int precision
@@ -396,8 +362,8 @@


-

MAPPING_STRATEGY

-
public java.lang.String MAPPING_STRATEGY
+

scale

+
int scale
@@ -405,8 +371,8 @@


-

NAMED_QUERIES

-
public java.lang.String NAMED_QUERIES
+

sqlType

+
java.lang.String sqlType
@@ -414,17 +380,8 @@


-

TRANSIENT

-
public java.lang.String TRANSIENT
-
-
-
-

-

-
- -

VERSION

-
public java.lang.String VERSION
+

unique

+
boolean unique
@@ -435,11 +392,6 @@

  - - - - - @@ -454,6 +406,25 @@

+ + + + +
+ Method Detail
+ +

+ toString

+
java.lang.String toString()
+
+
+
+

+

+
+ +   +

Groovy Documentation

diff --git a/api/org/grails/datastore/mapping/model/types/conversion/IntArrayToIntegerArrayConverter.html b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/CompositeIdentity.html similarity index 69% rename from api/org/grails/datastore/mapping/model/types/conversion/IntArrayToIntegerArrayConverter.html rename to api/org/codehaus/groovy/grails/orm/hibernate/cfg/CompositeIdentity.html index 6b9932961..576d3fc40 100644 --- a/api/org/grails/datastore/mapping/model/types/conversion/IntArrayToIntegerArrayConverter.html +++ b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/CompositeIdentity.html @@ -6,9 +6,9 @@ - -IntArrayToIntegerArrayConverter (grails-datastore-core 2.0.1.RELEASE API) - + +CompositeIdentity (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + @@ -17,7 +17,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="IntArrayToIntegerArrayConverter (grails-datastore-core 2.0.1.RELEASE API)"; + parent.document.title="CompositeIdentity (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API)"; } } @@ -58,8 +58,8 @@  NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -58,8 +58,8 @@  NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -58,8 +58,8 @@  NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -58,8 +58,8 @@  NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -35,15 +35,15 @@ - + - - - + + +
@@ -54,21 +54,21 @@ NEXT CLASS
--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -89,19 +89,18 @@

-org.grails.datastore.mapping.transactions +org.codehaus.groovy.grails.orm.hibernate.cfg
-[Java] Interface Transaction

+[Java] Interface GrailsDomainConfiguration
-
public interface Transaction
+
public interface GrailsDomainConfiguration
 
 

- Class giving the ability to start, commit and rollback a transaction. -

Authors:
Guillaume Laforge
Graeme Rocher
Since:
1.0
+
Authors:
Graeme Rocher


@@ -147,34 +146,23 @@

- void - - - commit() -
-

Commit the transaction.

- - - - - - java.lang.Object + GrailsDomainConfiguration - getNativeTransaction() + addDomainClass(GrailsDomainClass domainClass)
-

@return the native transaction object.

+

Adds a domain class to the configuration.

- boolean + void - isActive() + setDataSourceName(java.lang.String name)
-

Whether the transaction is active

+

The Spring bean name of the DataSource.

@@ -183,9 +171,9 @@

void - rollback() + setGrailsApplication(GrailsApplication application)
-

Rollback the transaction.

+

Sets the grails application instance.

@@ -194,9 +182,9 @@

void - setTimeout(int timeout) + setSessionFactoryBeanName(java.lang.String name)
-

Sets the transaction timeout period

+

The Spring bean name of the SessionFactory.

@@ -242,56 +230,45 @@

-

- commit

-
public void commit()
-
-
Commit the transaction. - -
-

-

-
- -

- getNativeTransaction

-
public java.lang.Object getNativeTransaction()
+

+ addDomainClass

+
public GrailsDomainConfiguration addDomainClass(GrailsDomainClass domainClass)
-
-
Returns:
the native transaction object.
+
Adds a domain class to the configuration. +
Parameters:
domainClass
Returns:
this


-

- isActive

-
public boolean isActive()
+

+ setDataSourceName

+
public void setDataSourceName(java.lang.String name)
-
Whether the transaction is active -
Returns:
True if it is
+
The Spring bean name of the DataSource. +
Parameters:
name - the name


-

- rollback

-
public void rollback()
+

+ setGrailsApplication

+
public void setGrailsApplication(GrailsApplication application)
-
Rollback the transaction. - +
Sets the grails application instance. +
Parameters:
application - The grails application to use or null if none.


-

- setTimeout

-
public void setTimeout(int timeout)
+

+ setSessionFactoryBeanName

+
public void setSessionFactoryBeanName(java.lang.String name)
-
Sets the transaction timeout period -
Parameters:
timeout - The timeout
+
The Spring bean name of the SessionFactory. +
Parameters:
name - the name

diff --git a/api/org/codehaus/groovy/grails/orm/hibernate/cfg/HibernateMappingBuilder.html b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/HibernateMappingBuilder.html new file mode 100644 index 000000000..c22d0ed4b --- /dev/null +++ b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/HibernateMappingBuilder.html @@ -0,0 +1,995 @@ + + + + + + + + + +HibernateMappingBuilder (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate.cfg +
+ +[Groovy] Class HibernateMappingBuilder

+
java.lang.Object
+  org.codehaus.groovy.grails.orm.hibernate.cfg.HibernateMappingBuilder
+

+
class HibernateMappingBuilder
+
+
+ +

+ Implements the ORM mapping DSL constructing a model that can be evaluated by the + GrailsDomainBinder class which maps GORM classes onto the database. +

Authors:
Graeme Rocher
Since:
1.0
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Property Summary
+ static Logger + LOG +
+

+
+ java.lang.String + className +
+

+
+ Mapping + mapping +
+

+
+   + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary
+ HibernateMappingBuilder(java.lang.String className) +
+

Constructor for builder

+
+   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Method Summary
+ void + + autoImport(boolean b) +
+

+
+ void + + autoTimestamp(boolean b) +
+

Set whether auto time stamping should occur for last_updated and date_created columns

+
+ void + + batchSize(java.lang.Integer num) +
+

Configures the batch-size used for lazy loading

+
+ void + + cache(java.util.Map args) +
+

+
+ void + + cache(java.lang.String usage) +
+

+
+ void + + cache(java.lang.String usage, java.util.Map args) +
+

+
+ void + + cache(boolean shouldCache) +
+

+
+ void + + columns(groovy.lang.Closure callable) +
+

+
+ void + + comment(java.lang.String comment) +
+

+
+ void + + datasource(java.lang.String name) +
+

+
+ void + + datasources(java.util.List names) +
+

+
+ void + + discriminator(java.lang.String name) +
+

+
+ void + + discriminator(java.util.Map args) +
+

+
+ void + + dynamicInsert(boolean b) +
+

Whether to use dynamic update queries

+
+ void + + dynamicUpdate(boolean b) +
+

Whether to use dynamic update queries

+
+ Mapping + + evaluate(groovy.lang.Closure mappingClosure, ApplicationContext applicationContext = null) +
+

Central entry point for the class.

+
+ void + + hibernateCustomUserType(java.util.Map args) +
+

+
+ void + + id(java.util.Map args) +
+

+
+ void + + includes(groovy.lang.Closure callable) +
+

Include another config in this one

+
+ void + + methodMissing(java.lang.String name, java.lang.Object args) +
+

+
+ void + + order(java.lang.String direction) +
+

+
+ void + + sort(java.lang.String name) +
+

+
+ void + + sort(java.util.Map namesAndDirections) +
+

+
+ void + + table(java.lang.String name) +
+

+
+ void + + table(java.util.Map tableDef) +
+

+
+ void + + tablePerConcreteClass(boolean isTablePerConcreteClass) +
+

If true the class and its subclasses will be mapped with table per subclass mapping

+
+ void + + tablePerHierarchy(boolean isTablePerHierarchy) +
+

If true the class and its sub classes will be mapped with table per hierarchy mapping

+
+ void + + tablePerSubclass(boolean isTablePerSubClass) +
+

If true the class and its subclasses will be mapped with table per subclass mapping

+
+ void + + version(boolean isVersioned) +
+

+
+ void + + version(java.lang.String versionColumn) +
+

+
+   + + + +
+ Methods inherited from class java.lang.Object +
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
+   + +

+ + + + + + + + + + + + + + + + + + + +
+ Property Detail
+ +

LOG

+
static final Logger LOG
+
+
+
+

+

+
+ +

className

+
java.lang.String className
+
+
+
+

+

+
+ +

mapping

+
Mapping mapping
+
+
+
+

+

+
+ +   + + + + + + + + + + + + + + + +
+ Constructor Detail
+ +

+ HibernateMappingBuilder

+
HibernateMappingBuilder(java.lang.String className)
+
+
Constructor for builder +
Parameters:
className - The name of the class being mapped
+
+

+

+
+ +   + + + + + + + + + + +
+ Method Detail
+ +

+ autoImport

+
void autoImport(boolean b)
+
+

Configures whether to auto import packages domain classes in HQL queries. Default is true + { autoImport false } + +

+

+

+
+ +

+ autoTimestamp

+
void autoTimestamp(boolean b)
+
+
Set whether auto time stamping should occur for last_updated and date_created columns + +
+

+

+
+ +

+ batchSize

+
void batchSize(java.lang.Integer num)
+
+
Configures the batch-size used for lazy loading +
Parameters:
num - The batch size to use
+
+

+

+
+ +

+ cache

+
void cache(java.util.Map args)
+
+

Configures the second-level cache for the class + { cache usage:'read-only', include:'all' } +

Parameters:
args - Named arguments that contain the "usage" and/or "include" parameters
+
+

+

+
+ +

+ cache

+
void cache(java.lang.String usage)
+
+

Configures the second-level cache for the class + { cache 'read-only' } +

Parameters:
usage - The usage type for the cache which is one of CacheConfig.USAGE_OPTIONS
+
+

+

+
+ +

+ cache

+
void cache(java.lang.String usage, java.util.Map args)
+
+

Configures the second-level cache for the class + { cache 'read-only', include:'all } +

Parameters:
usage - The usage type for the cache which is one of CacheConfig.USAGE_OPTIONS
+
+

+

+
+ +

+ cache

+
void cache(boolean shouldCache)
+
+

Configures the second-level cache with the default usage of 'read-write' and the default include of 'all' if + the passed argument is true + + { cache true } +

Parameters:
shouldCache - True if the default cache configuration should be applied
+
+

+

+
+ +

+ columns

+
void columns(groovy.lang.Closure callable)
+
+

Consumes the columns closure and populates the value into the Mapping objects columns property +

Parameters:
callable - The closure containing the column definitions
+
+

+

+
+ +

+ comment

+
void comment(java.lang.String comment)
+
+
+
+

+

+
+ +

+ datasource

+
void datasource(java.lang.String name)
+
+
+
+

+

+
+ +

+ datasources

+
void datasources(java.util.List names)
+
+
+
+

+

+
+ +

+ discriminator

+
void discriminator(java.lang.String name)
+
+

Configures the discriminator name. Example: + { discriminator 'foo' } +

Parameters:
name - The name of the table
+
+

+

+
+ +

+ discriminator

+
void discriminator(java.util.Map args)
+
+

Configures the discriminator name. Example: + { discriminator name:'foo', column:'type' } +

Parameters:
name - The name of the table
+
+

+

+
+ +

+ dynamicInsert

+
void dynamicInsert(boolean b)
+
+
Whether to use dynamic update queries + +
+

+

+
+ +

+ dynamicUpdate

+
void dynamicUpdate(boolean b)
+
+
Whether to use dynamic update queries + +
+

+

+
+ +

+ evaluate

+
Mapping evaluate(groovy.lang.Closure mappingClosure, ApplicationContext applicationContext = null)
+
+
Central entry point for the class. Passing a closure that defines a set of mappings will evaluate said mappings + and populate the "mapping" property of this class which can then be obtained with getMappings() +
Parameters:
mappingClosure - The closure that defines the ORM DSL
+
+

+

+
+ +

+ hibernateCustomUserType

+
void hibernateCustomUserType(java.util.Map args)
+
+
+
+

+

+
+ +

+ id

+
void id(java.util.Map args)
+
+

Configures the identity strategy for the mapping. Examples + + + { id generator:'sequence' } + { id composite: ['one', 'two'] } + +

Parameters:
args - The named arguments to the id method
+
+

+

+
+ +

+ includes

+
void includes(groovy.lang.Closure callable)
+
+
Include another config in this one + +
+

+

+
+ +

+ methodMissing

+
void methodMissing(java.lang.String name, java.lang.Object args)
+
+
+
+

+

+
+ +

+ order

+
void order(java.lang.String direction)
+
+

Configures the default sort direction. Example: + { order 'desc' } +

Parameters:
name - The name of the property to sort by
+
+

+

+
+ +

+ sort

+
void sort(java.lang.String name)
+
+

Configures the default sort column. Example: + { sort 'foo' } +

Parameters:
name - The name of the property to sort by
+
+

+

+
+ +

+ sort

+
void sort(java.util.Map namesAndDirections)
+
+

Configures the default sort column. Example: + { sort foo:'desc' } +

Parameters:
namesAndDirections - The names and directions of the property to sort by
+
+

+

+
+ +

+ table

+
void table(java.lang.String name)
+
+

Configures the table name. Example: + { table 'foo' } +

Parameters:
name - The name of the table
+
+

+

+
+ +

+ table

+
void table(java.util.Map tableDef)
+
+

Configures the table name. Example: + { table name:'foo', schema:'dbo', catalog:'CRM' } + +

+

+

+
+ +

+ tablePerConcreteClass

+
void tablePerConcreteClass(boolean isTablePerConcreteClass)
+
+
If true the class and its subclasses will be mapped with table per subclass mapping + +
+

+

+
+ +

+ tablePerHierarchy

+
void tablePerHierarchy(boolean isTablePerHierarchy)
+
+
If true the class and its sub classes will be mapped with table per hierarchy mapping + +
+

+

+
+ +

+ tablePerSubclass

+
void tablePerSubclass(boolean isTablePerSubClass)
+
+
If true the class and its subclasses will be mapped with table per subclass mapping + +
+

+

+
+ +

+ version

+
void version(boolean isVersioned)
+
+

Configures whether to use versioning for optimistic locking + { version false } +

Parameters:
isVersioned - True if a version property should be configured
+
+

+

+
+ +

+ version

+
void version(java.lang.String versionColumn)
+
+

Configures the name of the version column + { version 'foo' } +

Parameters:
isVersioned - True if a version property should be configured
+
+

+

+
+ +   + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/grails/datastore/mapping/model/AbstractClassMapping.html b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/HibernateNamedQueriesBuilder.html similarity index 57% rename from api/org/grails/datastore/mapping/model/AbstractClassMapping.html rename to api/org/codehaus/groovy/grails/orm/hibernate/cfg/HibernateNamedQueriesBuilder.html index e3e06582f..341592b4d 100644 --- a/api/org/grails/datastore/mapping/model/AbstractClassMapping.html +++ b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/HibernateNamedQueriesBuilder.html @@ -6,18 +6,18 @@ - -AbstractClassMapping (grails-datastore-core 2.0.1.RELEASE API) - + +HibernateNamedQueriesBuilder (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + - - - + + + @@ -35,15 +35,15 @@ - + - - - + + +
@@ -54,21 +54,21 @@ NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -89,21 +89,20 @@

-org.grails.datastore.mapping.model +org.codehaus.groovy.grails.orm.hibernate.cfg
-[Java] Class AbstractClassMapping

+[Groovy] Class HibernateNamedQueriesBuilder
java.lang.Object
-  org.grails.datastore.mapping.model.AbstractClassMapping
-
All Implemented Interfaces:
ClassMapping

-
@java.lang.SuppressWarnings("rawtypes")
-public abstract class AbstractClassMapping
+  org.codehaus.groovy.grails.orm.hibernate.cfg.HibernateNamedQueriesBuilder
+

+
class HibernateNamedQueriesBuilder
 
 

- Abstract implementation of the ClassMapping interface. -

Authors:
Graeme Rocher
Since:
1.0
+ A builder that implements the ORM named queries DSL. +
Authors:
Jeff Brown


@@ -130,9 +129,9 @@

- protected MappingContext + protected ConversionService - context + conversionService

@@ -140,9 +139,39 @@

- protected PersistentEntity + protected java.lang.Object - entity + domainClass +
+

+ + + + + + protected java.lang.Object + + dynamicMethods +
+

+ + + + + + protected java.lang.Object + + handleMethodMissing +
+

+ + + + + + protected boolean + + initialized

@@ -173,9 +202,9 @@

- AbstractClassMapping(PersistentEntity entity, MappingContext context) + HibernateNamedQueriesBuilder(java.lang.Object domainClass, java.util.List finders, ConversionService conversionService)
-

+

@param domainClass the GrailsDomainClass defining the named queries

@@ -195,21 +224,10 @@

- PersistentEntity - - - getEntity() -
-

- - - - - - IdentityMapping + java.lang.Object - getIdentifier() + evaluate(groovy.lang.Closure namedQueriesClosure)

@@ -220,7 +238,7 @@

java.lang.Object - getMappedForm() + methodMissing(java.lang.String name, java.lang.Object args)

@@ -254,8 +272,17 @@

-

context

-
protected MappingContext context
+

conversionService

+
protected final ConversionService conversionService
+
+
+
+

+

+
+ +

domainClass

+
protected final java.lang.Object domainClass
@@ -263,8 +290,26 @@


-

entity

-
protected PersistentEntity entity
+

dynamicMethods

+
protected final java.lang.Object dynamicMethods
+
+
+
+

+

+
+ +

handleMethodMissing

+
protected java.lang.Object handleMethodMissing
+
+
+
+

+

+
+ +

initialized

+
protected boolean initialized
@@ -296,11 +341,12 @@

-

- AbstractClassMapping

-
public AbstractClassMapping(PersistentEntity entity, MappingContext context)
+

+ HibernateNamedQueriesBuilder

+
HibernateNamedQueriesBuilder(java.lang.Object domainClass, java.util.List finders, ConversionService conversionService)
+
Parameters:
domainClass - the GrailsDomainClass defining the named queries
finders - dynamic finders

@@ -320,19 +366,9 @@

-

- getEntity

-
public PersistentEntity getEntity()
-
-
-
-

-

-
- -

- getIdentifier

-
public IdentityMapping getIdentifier()
+

+ evaluate

+
java.lang.Object evaluate(groovy.lang.Closure namedQueriesClosure)
@@ -340,9 +376,9 @@


-

- getMappedForm

-
public java.lang.Object getMappedForm()
+

+ methodMissing

+
java.lang.Object methodMissing(java.lang.String name, java.lang.Object args)
diff --git a/api/org/codehaus/groovy/grails/orm/hibernate/cfg/HibernateUtilities.html b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/HibernateUtilities.html new file mode 100644 index 000000000..1dc4ab8df --- /dev/null +++ b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/HibernateUtilities.html @@ -0,0 +1,262 @@ + + + + + + + + + +HibernateUtilities (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate.cfg +
+ +[Java] Class HibernateUtilities

+
java.lang.Object
+  org.codehaus.groovy.grails.orm.hibernate.cfg.HibernateUtilities
+

+
public class HibernateUtilities
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Method Summary
+ static java.util.List + + getDatasourceNames(GrailsDomainClass domainClass, AbstractGrailsDomainBinder binder) +
+

+
+ static boolean + + isMappedWithHibernate(GrailsDomainClass domainClass) +
+

+
+ static boolean + + usesDatasource(GrailsDomainClass domainClass, java.lang.String dataSourceName, AbstractGrailsDomainBinder binder) +
+

+
+   + + + +
+ Methods inherited from class java.lang.Object +
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
+   + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Method Detail
+ +

+ getDatasourceNames

+
public static java.util.List getDatasourceNames(GrailsDomainClass domainClass, AbstractGrailsDomainBinder binder)
+
+
+
+

+

+
+ +

+ isMappedWithHibernate

+
public static boolean isMappedWithHibernate(GrailsDomainClass domainClass)
+
+
+
+

+

+
+ +

+ usesDatasource

+
public static boolean usesDatasource(GrailsDomainClass domainClass, java.lang.String dataSourceName, AbstractGrailsDomainBinder binder)
+
+
+
+

+

+
+ +   + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/grails/datastore/mapping/keyvalue/mapping/config/Family.html b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/Identity.html similarity index 64% rename from api/org/grails/datastore/mapping/keyvalue/mapping/config/Family.html rename to api/org/codehaus/groovy/grails/orm/hibernate/cfg/Identity.html index 698558397..053075769 100644 --- a/api/org/grails/datastore/mapping/keyvalue/mapping/config/Family.html +++ b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/Identity.html @@ -6,9 +6,9 @@ - -Family (grails-datastore-core 2.0.1.RELEASE API) - + +Identity (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + @@ -17,7 +17,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="Family (grails-datastore-core 2.0.1.RELEASE API)"; + parent.document.title="Identity (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API)"; } } @@ -58,8 +58,8 @@  NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -35,15 +35,15 @@ - + - - - + + +
@@ -54,21 +54,21 @@ NEXT CLASS
--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -76,9 +76,9 @@ -SUMMARY: NESTED | FIELD | CONSTR | METHOD +SUMMARY: NESTED | FIELD | CONSTR | METHOD -DETAIL: FIELD | CONSTR | METHOD +DETAIL: FIELD | CONSTR | METHOD @@ -89,14 +89,15 @@

-org.grails.datastore.mapping.core +org.codehaus.groovy.grails.orm.hibernate.cfg
-[Java] Class AbstractAttributeStoringSession

+[Groovy] Class InstanceProxy
java.lang.Object
-  org.grails.datastore.mapping.core.AbstractAttributeStoringSession
-
All Implemented Interfaces:
Session

-
public abstract class AbstractAttributeStoringSession
+  org.codehaus.groovy.grails.orm.hibernate.cfg.InstanceProxy
+

+
@groovy.transform.CompileStatic
+class InstanceProxy
 
 
@@ -123,9 +124,9 @@

- protected java.util.Map + protected java.lang.Object - attributes + instance

@@ -133,9 +134,29 @@

- protected java.util.Map + protected AbstractHibernateGormInstanceApi - sessionPropertyMap + instanceApi +
+

+ + + + + + protected AbstractHibernateGormValidationApi + + validateApi +
+

+ + + + + + protected java.util.Set + + validateMethods

@@ -158,6 +179,23 @@

+ + + + + + + + + +
+ Constructor Summary
+ InstanceProxy(java.lang.Object instance, AbstractHibernateGormInstanceApi instanceApi, AbstractHibernateGormValidationApi validateApi) +
+

+
+   + @@ -174,20 +212,9 @@

java.lang.Object - clearSessionProperty(java.lang.String property) + getAt(java.lang.String name)
-

Clear a property in a session.

- - - - - - void - - - disconnect() -
-

Performs clear up.

+

@@ -196,7 +223,7 @@

java.lang.Object - getAttribute(java.lang.Object entity, java.lang.String attributeName) + getProperty(java.lang.String name)

@@ -207,18 +234,7 @@

java.lang.Object - getSessionProperty(java.lang.String property) -
-

Get the value of a property of the session.

- - - - - - boolean - - - isConnected() + invokeMethod(java.lang.String name, java.lang.Object args)

@@ -226,10 +242,10 @@

- protected void + void - removeAttributesForEntity(java.lang.Object entity) + putAt(java.lang.String name, java.lang.Object val)

@@ -240,23 +256,12 @@

void - setAttribute(java.lang.Object entity, java.lang.String attributeName, java.lang.Object value) + setProperty(java.lang.String name, java.lang.Object val)

- - - java.lang.Object - - - setSessionProperty(java.lang.String property, java.lang.Object value) -
-

Set a property on this session.

- - -   @@ -285,8 +290,26 @@

-

attributes

-
protected java.util.Map attributes
+

instance

+
protected java.lang.Object instance
+
+
+
+

+

+
+ +

instanceApi

+
protected AbstractHibernateGormInstanceApi instanceApi
+
+
+
+

+

+
+ +

validateApi

+
protected AbstractHibernateGormValidationApi validateApi
@@ -294,8 +317,8 @@


-

sessionPropertyMap

-
protected java.util.Map sessionPropertyMap
+

validateMethods

+
protected final java.util.Set validateMethods
@@ -320,45 +343,40 @@

- - - - - + Constructor Detail
- Method Detail
-

- clearSessionProperty

-
@java.lang.Override
-public java.lang.Object clearSessionProperty(java.lang.String property)
+

+ InstanceProxy

+
InstanceProxy(java.lang.Object instance, AbstractHibernateGormInstanceApi instanceApi, AbstractHibernateGormValidationApi validateApi)
-
Clear a property in a session. -
Parameters:
property - The property name.
Returns:
The property value, if there was one (or null).
+


-

- disconnect

-
public void disconnect()
-
-
Performs clear up. Subclasses should always call into this super - implementation. - -
-

-

-
+   + + + + + + + + + + +
+ Method Detail
-

- getAttribute

-
public java.lang.Object getAttribute(java.lang.Object entity, java.lang.String attributeName)
+

+ getAt

+
java.lang.Object getAt(java.lang.String name)
@@ -366,21 +384,9 @@


-

- getSessionProperty

-
@java.lang.Override
-public java.lang.Object getSessionProperty(java.lang.String property)
-
-
Get the value of a property of the session. -
Parameters:
property - The name of the property.
Returns:
The value.
-
-

-

-
- -

- isConnected

-
public boolean isConnected()
+

+ getProperty

+
java.lang.Object getProperty(java.lang.String name)
@@ -388,9 +394,9 @@


-

- removeAttributesForEntity

-
protected void removeAttributesForEntity(java.lang.Object entity)
+

+ invokeMethod

+
java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
@@ -398,9 +404,9 @@


-

- setAttribute

-
public void setAttribute(java.lang.Object entity, java.lang.String attributeName, java.lang.Object value)
+

+ putAt

+
void putAt(java.lang.String name, java.lang.Object val)
@@ -408,13 +414,11 @@


-

- setSessionProperty

-
@java.lang.Override
-public java.lang.Object setSessionProperty(java.lang.String property, java.lang.Object value)
+

+ setProperty

+
void setProperty(java.lang.String name, java.lang.Object val)
-
Set a property on this session. Note that properties are not cleared out when a session is cleared. -
Parameters:
property - The property name.
value - The property value.
+

diff --git a/api/org/codehaus/groovy/grails/orm/hibernate/cfg/JoinTable.html b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/JoinTable.html new file mode 100644 index 000000000..a9c29d32a --- /dev/null +++ b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/JoinTable.html @@ -0,0 +1,307 @@ + + + + + + + + + +JoinTable (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate.cfg +
+ +[Groovy] Class JoinTable

+
java.lang.Object
+  org.codehaus.groovy.grails.orm.hibernate.cfg.JoinTable
+

+
class JoinTable
+
+
+ +

+ Represents a Join table in Grails mapping. It has a name which represents the name of the table, a key + for the primary key and a column which is the other side of the join. +

Authors:
Graeme Rocher
Since:
1.0
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Property Summary
+ java.lang.String + catalog +
+

+
+ ColumnConfig + column +
+

+
+ ColumnConfig + key +
+

+
+ java.lang.String + name +
+

+
+ java.lang.String + schema +
+

+
+   + + + + + + + + + + + + + + + + + + +
+ Method Summary
+   + + +
+ Methods inherited from class java.lang.Object +
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
+   + +

+ + + + + + + + + + + + + + + + + + + +
+ Property Detail
+ +

catalog

+
java.lang.String catalog
+
+
+
+

+

+
+ +

column

+
ColumnConfig column
+
+
+
+

+

+
+ +

key

+
ColumnConfig key
+
+
+
+

+

+
+ +

name

+
java.lang.String name
+
+
+
+

+

+
+ +

schema

+
java.lang.String schema
+
+
+
+

+

+
+ +   + + + + + + + + + + + + + + + + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/codehaus/groovy/grails/orm/hibernate/cfg/Mapping.html b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/Mapping.html new file mode 100644 index 000000000..9201b82b6 --- /dev/null +++ b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/Mapping.html @@ -0,0 +1,752 @@ + + + + + + + + + +Mapping (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate.cfg +
+ +[Groovy] Class Mapping

+
java.lang.Object
+  org.codehaus.groovy.grails.orm.hibernate.cfg.Mapping
+

+
class Mapping
+
+
+ +

+ Models the mapping from GORM classes to the db. +

Authors:
Graeme Rocher
Since:
1.0
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Property Summary
+ boolean + autoImport +
+

Sets whether packaged domain classes should be auto-imported in HQL queries

+
+ boolean + autoTimestamp +
+

Sets whether automatic timestamping should occur for columns like last_updated and date_created

+
+ java.lang.Integer + batchSize +
+

The batch size to use for lazy loading

+
+ CacheConfig + cache +
+

Caching config

+
+ java.util.Map + columns +
+

+
+ java.lang.String + comment +
+

DDL comment.

+
+ java.util.List + datasources +
+

Get the datasource names that this domain class works with.

+
+ java.lang.String + discriminator +
+

Value used to discriminate entities in table-per-hierarchy inheritance mapping

+
+ ColumnConfig + discriminatorColumn +
+

Used to configure the disriminator column properties

+
+ java.util.Map + discriminatorMap +
+

Used to hold the attributes for Discriminator, such as formula, type and insertable

+
+ boolean + dynamicInsert +
+

Whether to use dynamically created insert queries, at the cost of some performance

+
+ boolean + dynamicUpdate +
+

Whether to use dynamically created update queries, at the cost of some performance

+
+ java.lang.Object + identity +
+

The identity definition

+
+ SortConfig + sort +
+

Used to hold the names and directions of the default property to sort by

+
+ Table + table +
+

The table

+
+ boolean + tablePerConcreteClass +
+

Sets whether to use table-per-concrete-class or table-per-subclass mapping

+
+ boolean + tablePerHierarchy +
+

Sets whether to use table-per-hierarchy or table-per-subclass mapping

+
+ java.util.Map + userTypes +
+

Custom hibernate user types

+
+ java.lang.String + versionColumn +
+

The name of the column used for the version number

+
+ boolean + versioned +
+

Whether the class is versioned for optimistic locking

+
+   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Method Summary
+ PropertyConfig + + getPropertyConfig(java.lang.String name) +
+

Obtains a PropertyConfig object for the given name

+
+ java.lang.String + + getTableName() +
+

The table name

+
+ java.lang.String + + getTypeName(java.lang.Class theClass) +
+

Return a type name of the known custom user types

+
+ boolean + + isTablePerConcreteClass() +
+

+
+ void + + setTableName(java.lang.String name) +
+

Set the table name

+
+ void + + setTablePerConcreteClass(boolean tablePerConcreteClass) +
+

+
+   + + + +
+ Methods inherited from class java.lang.Object +
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
+   + +

+ + + + + + + + + + + + + + + + + + + +
+ Property Detail
+ +

autoImport

+
boolean autoImport
+
+
Sets whether packaged domain classes should be auto-imported in HQL queries + +
+

+

+
+ +

autoTimestamp

+
boolean autoTimestamp
+
+
Sets whether automatic timestamping should occur for columns like last_updated and date_created + +
+

+

+
+ +

batchSize

+
java.lang.Integer batchSize
+
+
The batch size to use for lazy loading + +
+

+

+
+ +

cache

+
CacheConfig cache
+
+
Caching config + +
+

+

+
+ +

columns

+
java.util.Map columns
+
+
+
+

+

+
+ +

comment

+
java.lang.String comment
+
+
DDL comment. + +
+

+

+
+ +

datasources

+
java.util.List datasources
+
+
Get the datasource names that this domain class works with. +
Returns:
the datasource names
+
+

+

+
+ +

discriminator

+
java.lang.String discriminator
+
+
Value used to discriminate entities in table-per-hierarchy inheritance mapping + +
+

+

+
+ +

discriminatorColumn

+
ColumnConfig discriminatorColumn
+
+
Used to configure the disriminator column properties + +
+

+

+
+ +

discriminatorMap

+
java.util.Map discriminatorMap
+
+
Used to hold the attributes for Discriminator, such as formula, type and insertable + +
+

+

+
+ +

dynamicInsert

+
boolean dynamicInsert
+
+
Whether to use dynamically created insert queries, at the cost of some performance + +
+

+

+
+ +

dynamicUpdate

+
boolean dynamicUpdate
+
+
Whether to use dynamically created update queries, at the cost of some performance + +
+

+

+
+ +

identity

+
java.lang.Object identity
+
+
The identity definition + +
+

+

+
+ +

sort

+
SortConfig sort
+
+
Used to hold the names and directions of the default property to sort by + +
+

+

+
+ +

table

+
Table table
+
+
The table + +
+

+

+
+ +

tablePerConcreteClass

+
boolean tablePerConcreteClass
+
+
Sets whether to use table-per-concrete-class or table-per-subclass mapping + +
+

+

+
+ +

tablePerHierarchy

+
boolean tablePerHierarchy
+
+
Sets whether to use table-per-hierarchy or table-per-subclass mapping + +
+

+

+
+ +

userTypes

+
java.util.Map userTypes
+
+
Custom hibernate user types + +
+

+

+
+ +

versionColumn

+
java.lang.String versionColumn
+
+
The name of the column used for the version number + +
+

+

+
+ +

versioned

+
boolean versioned
+
+
Whether the class is versioned for optimistic locking + +
+

+

+
+ +   + + + + + + + + + + + + + + + + + + + + +
+ Method Detail
+ +

+ getPropertyConfig

+
PropertyConfig getPropertyConfig(java.lang.String name)
+
+
Obtains a PropertyConfig object for the given name + +
+

+

+
+ +

+ getTableName

+
java.lang.String getTableName()
+
+
The table name + +
+

+

+
+ +

+ getTypeName

+
java.lang.String getTypeName(java.lang.Class theClass)
+
+
Return a type name of the known custom user types + +
+

+

+
+ +

+ isTablePerConcreteClass

+
boolean isTablePerConcreteClass()
+
+
+
+

+

+
+ +

+ setTableName

+
void setTableName(java.lang.String name)
+
+
Set the table name + +
+

+

+
+ +

+ setTablePerConcreteClass

+
void setTablePerConcreteClass(boolean tablePerConcreteClass)
+
+
+
+

+

+
+ +   + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/grails/datastore/mapping/collection/AbstractPersistentCollection.html b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/NamedCriteriaProxy.html similarity index 54% rename from api/org/grails/datastore/mapping/collection/AbstractPersistentCollection.html rename to api/org/codehaus/groovy/grails/orm/hibernate/cfg/NamedCriteriaProxy.html index 58b755c8f..c4aaebbba 100644 --- a/api/org/grails/datastore/mapping/collection/AbstractPersistentCollection.html +++ b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/NamedCriteriaProxy.html @@ -6,18 +6,18 @@ - -AbstractPersistentCollection (grails-datastore-core 2.0.1.RELEASE API) - + +NamedCriteriaProxy (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + - - - + + + @@ -35,15 +35,15 @@ - + - - - + + +
@@ -54,21 +54,21 @@ NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -89,24 +89,17 @@

-org.grails.datastore.mapping.collection +org.codehaus.groovy.grails.orm.hibernate.cfg
-[Java] Class AbstractPersistentCollection

+[Groovy] Class NamedCriteriaProxy
java.lang.Object
-  org.grails.datastore.mapping.collection.AbstractPersistentCollection
-
All Implemented Interfaces:
PersistentCollection

-
@java.lang.SuppressWarnings({"rawtypes", "unchecked"})
-public abstract class AbstractPersistentCollection
+  org.codehaus.groovy.grails.orm.hibernate.cfg.NamedCriteriaProxy
+

+
class NamedCriteriaProxy
 
 
-

- Abstract base class for persistent collections. -

Authors:
Burt Beckwith
-

-
- @@ -130,136 +123,145 @@

- protected java.util.Collection + protected java.lang.Class - collection + HibernateUtils

- -   - - - - - - - - - - - - - - - - - - - - + + + -
- Constructor Summary
+ protected java.lang.Object - protected AbstractPersistentCollection(java.lang.Class childType, Session session, java.util.Collection collection) + conversionService

+ protected java.lang.Object - protected AbstractPersistentCollection(java.util.Collection keys, java.lang.Class childType, Session session, java.util.Collection collection) + criteriaClosure

+ protected GrailsDomainClass - protected AbstractPersistentCollection(java.io.Serializable associationKey, Session session, AssociationIndexer indexer, java.util.Collection collection) + domainClass

-   - - - - - - - - - - - - + - + - + - + - + + + +
- Method Summary
- boolean - + protected java.lang.Object - add(java.lang.Object o) + dynamicMethods

- boolean - + protected java.lang.Object - addAll(java.util.Collection c) + inCountMethod

- protected boolean - + protected java.lang.Object - checkCollectionElements() + namedCriteriaParams

- void - + protected java.lang.Object - clear() + previousInChain

- boolean + + protected java.lang.Object + queryBuilder +
+

+   + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary
- contains(java.lang.Object o) + NamedCriteriaProxy()

+   + + + + + + + + + + + @@ -267,10 +269,10 @@

@@ -278,10 +280,10 @@

@@ -289,10 +291,10 @@

@@ -300,10 +302,10 @@

@@ -311,10 +313,10 @@

@@ -322,10 +324,10 @@

@@ -333,10 +335,10 @@

@@ -344,10 +346,10 @@

@@ -355,10 +357,10 @@

@@ -366,10 +368,10 @@

@@ -377,10 +379,10 @@

@@ -388,10 +390,10 @@

@@ -399,10 +401,10 @@

@@ -410,10 +412,10 @@

@@ -421,10 +423,10 @@

@@ -432,10 +434,10 @@

@@ -469,8 +471,8 @@

+ Method Summary
- boolean + java.lang.Object - containsAll(java.util.Collection c) + call(java.lang.Object[] params)

- boolean + int - equals(java.lang.Object o) + count(groovy.lang.Closure additionalCriteriaClosure = null)

- int + java.lang.Object - hashCode() + findAllWhere(java.util.Map params, java.lang.Boolean uniq = false)

- void + java.lang.Object - initialize() + findWhere(java.lang.Object params)

- boolean + java.lang.Object - isDirty() + get()

- boolean + java.lang.Object - isEmpty() + get(java.lang.Object id)

- boolean + protected java.lang.Object - isInitialized() + getNamedCriteriaProxy(java.lang.Object targetClass, java.lang.Object name)

- java.util.Iterator + protected java.lang.Object - iterator() + getPreparedCriteriaClosure(java.lang.Object additionalCriteriaClosure = null)

- void + protected java.lang.Object - markDirty() + invokeCriteriaClosure(java.lang.Object additionalCriteriaClosure = null)

- boolean + java.lang.Object - remove(java.lang.Object o) + list(java.lang.Object[] params, groovy.lang.Closure additionalCriteriaClosure = null)

- boolean + java.lang.Object - removeAll(java.util.Collection c) + listDistinct(java.lang.Object[] params, groovy.lang.Closure additionalCriteriaClosure = null)

- void + protected java.lang.Object - resetDirty() + listInternal(java.lang.Object[] params, groovy.lang.Closure additionalCriteriaClosure, java.lang.Boolean isDistinct)

- boolean + java.lang.Object - retainAll(java.util.Collection c) + methodMissing(java.lang.String methodName, java.lang.Object args)

- int + void - size() + order(java.lang.String propName)

- java.lang.Object[] + void - toArray() + order(java.lang.String propName, java.lang.String direction)

- java.lang.Object[] + void - toArray(java.lang.Object[] a) + propertyMissing(java.lang.String propName, java.lang.Object val)

- java.lang.String + java.lang.Object - toString() + propertyMissing(java.lang.String propertyName)

-

collection

-
protected final java.util.Collection collection
+

HibernateUtils

+
protected java.lang.Class HibernateUtils
@@ -478,33 +480,8 @@


-   - - - - - - - - - - - - - - - - - - - - -
- Constructor Detail
- -

- AbstractPersistentCollection

-
protected AbstractPersistentCollection(java.lang.Class childType, Session session, java.util.Collection collection)
+

conversionService

+
protected java.lang.Object conversionService
@@ -512,9 +489,8 @@


-

- AbstractPersistentCollection

-
protected AbstractPersistentCollection(java.util.Collection keys, java.lang.Class childType, Session session, java.util.Collection collection)
+

criteriaClosure

+
protected java.lang.Object criteriaClosure
@@ -522,9 +498,8 @@


-

- AbstractPersistentCollection

-
protected AbstractPersistentCollection(java.io.Serializable associationKey, Session session, AssociationIndexer indexer, java.util.Collection collection)
+

domainClass

+
protected GrailsDomainClass domainClass
@@ -532,23 +507,17 @@


-   - - - - - - - - - - -
- Method Detail
+

dynamicMethods

+
protected java.lang.Object dynamicMethods
+
+
+
+

+

+
-

- add

-
public boolean add(java.lang.Object o)
+

inCountMethod

+
protected java.lang.Object inCountMethod
@@ -556,9 +525,8 @@


-

- addAll

-
public boolean addAll(java.util.Collection c)
+

namedCriteriaParams

+
protected java.lang.Object namedCriteriaParams
@@ -566,9 +534,8 @@


-

- checkCollectionElements

-
protected boolean checkCollectionElements()
+

previousInChain

+
protected java.lang.Object previousInChain
@@ -576,9 +543,8 @@


-

- clear

-
public void clear()
+

queryBuilder

+
protected java.lang.Object queryBuilder
@@ -586,9 +552,33 @@


-

- contains

-
public boolean contains(java.lang.Object o)
+   + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail
+ +

+ NamedCriteriaProxy

+
NamedCriteriaProxy()
@@ -596,9 +586,23 @@


-

- containsAll

-
public boolean containsAll(java.util.Collection c)
+   + + + + + + + + + + +
+ Method Detail
+ +

+ call

+
java.lang.Object call(java.lang.Object[] params)
@@ -606,10 +610,9 @@


-

- equals

-
@java.lang.Override
-public boolean equals(java.lang.Object o)
+

+ count

+
int count(groovy.lang.Closure additionalCriteriaClosure = null)
@@ -617,10 +620,9 @@


-

- hashCode

-
@java.lang.Override
-public int hashCode()
+

+ findAllWhere

+
java.lang.Object findAllWhere(java.util.Map params, java.lang.Boolean uniq = false)
@@ -628,9 +630,9 @@


-

- initialize

-
public void initialize()
+

+ findWhere

+
java.lang.Object findWhere(java.lang.Object params)
@@ -638,9 +640,9 @@


-

- isDirty

-
public boolean isDirty()
+

+ get

+
java.lang.Object get()
@@ -648,9 +650,9 @@


-

- isEmpty

-
public boolean isEmpty()
+

+ get

+
java.lang.Object get(java.lang.Object id)
@@ -658,9 +660,9 @@


-

- isInitialized

-
public boolean isInitialized()
+

+ getNamedCriteriaProxy

+
protected java.lang.Object getNamedCriteriaProxy(java.lang.Object targetClass, java.lang.Object name)
@@ -668,9 +670,9 @@


-

- iterator

-
public java.util.Iterator iterator()
+

+ getPreparedCriteriaClosure

+
protected java.lang.Object getPreparedCriteriaClosure(java.lang.Object additionalCriteriaClosure = null)
@@ -678,9 +680,9 @@


-

- markDirty

-
public void markDirty()
+

+ invokeCriteriaClosure

+
protected java.lang.Object invokeCriteriaClosure(java.lang.Object additionalCriteriaClosure = null)
@@ -688,9 +690,9 @@


-

- remove

-
public boolean remove(java.lang.Object o)
+

+ list

+
java.lang.Object list(java.lang.Object[] params, groovy.lang.Closure additionalCriteriaClosure = null)
@@ -698,9 +700,9 @@


-

- removeAll

-
public boolean removeAll(java.util.Collection c)
+

+ listDistinct

+
java.lang.Object listDistinct(java.lang.Object[] params, groovy.lang.Closure additionalCriteriaClosure = null)
@@ -708,9 +710,9 @@


-

- resetDirty

-
public void resetDirty()
+

+ listInternal

+
protected java.lang.Object listInternal(java.lang.Object[] params, groovy.lang.Closure additionalCriteriaClosure, java.lang.Boolean isDistinct)
@@ -718,9 +720,9 @@


-

- retainAll

-
public boolean retainAll(java.util.Collection c)
+

+ methodMissing

+
java.lang.Object methodMissing(java.lang.String methodName, java.lang.Object args)
@@ -728,9 +730,9 @@


-

- size

-
public int size()
+

+ order

+
void order(java.lang.String propName)
@@ -738,9 +740,9 @@


-

- toArray

-
public java.lang.Object[] toArray()
+

+ order

+
void order(java.lang.String propName, java.lang.String direction)
@@ -748,9 +750,9 @@


-

- toArray

-
public java.lang.Object[] toArray(java.lang.Object[] a)
+

+ propertyMissing

+
void propertyMissing(java.lang.String propName, java.lang.Object val)
@@ -758,10 +760,9 @@


-

- toString

-
@java.lang.Override
-public java.lang.String toString()
+

+ propertyMissing

+
java.lang.Object propertyMissing(java.lang.String propertyName)
diff --git a/api/org/grails/datastore/mapping/model/types/conversion/LongArrayToLongArrayConverter.html b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/NaturalId.html similarity index 71% rename from api/org/grails/datastore/mapping/model/types/conversion/LongArrayToLongArrayConverter.html rename to api/org/codehaus/groovy/grails/orm/hibernate/cfg/NaturalId.html index 7bb011061..bb9e2fb92 100644 --- a/api/org/grails/datastore/mapping/model/types/conversion/LongArrayToLongArrayConverter.html +++ b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/NaturalId.html @@ -6,9 +6,9 @@ - -LongArrayToLongArrayConverter (grails-datastore-core 2.0.1.RELEASE API) - + +NaturalId (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + @@ -17,7 +17,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="LongArrayToLongArrayConverter (grails-datastore-core 2.0.1.RELEASE API)"; + parent.document.title="NaturalId (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API)"; } } @@ -58,8 +58,8 @@  NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate.cfg +
+ +[Groovy] Class PropertyConfig

+
java.lang.Object
+  org.codehaus.groovy.grails.orm.hibernate.cfg.PropertyConfig
+

+
class PropertyConfig
+
+
+ +

+ Custom mapping for a single domain property. Note that a property + can have multiple columns via a component or a user type. +

Authors:
pledbrook
Since:
1.0.4
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Property Summary
+ java.lang.Integer + batchSize +
+

The batch size used for lazy loading

+
+ CacheConfig + cache +
+

+
+ java.lang.String + cascade +
+

Cascading strategy for this property.

+
+ java.util.List + columns +
+

+
+ FetchMode + fetch +
+

The fetch strategy for this property.

+
+ java.lang.String + formula +
+

+
+ boolean + ignoreNotFound +
+

Whether to ignore ObjectNotFoundException

+
+ PropertyConfig + indexColumn +
+

The column used to produce the index for index based collections (lists and maps)

+
+ boolean + insertable +
+

Whether or not this is column is insertable by hibernate

+
+ JoinTable + joinTable +
+

+
+ boolean + lazy +
+

+
+ java.lang.String + order +
+

The default sort order

+
+ java.lang.String + sort +
+

The default sort property name

+
+ java.lang.Object + type +
+

The Hibernate type or user type of the property.

+
+ java.util.Properties + typeParams +
+

The parameters for the property that can be used to + configure a Hibernate ParameterizedType implementation.

+
+ boolean + updateable +
+

Whether or not this column is updateable by hibernate

+
+   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Method Summary
+ protected void + + checkHasSingleColumn() +
+

+
+ java.lang.String + + getColumn() +
+

Shortcut to get the column name for this property.

+
+ java.lang.String + + getEnumType() +
+

+
+ java.lang.String + + getIndex() +
+

Shortcut to get the index setting for this property's column.

+
+ int + + getLength() +
+

Shortcut to get the length of this property's column.

+
+ int + + getPrecision() +
+

Shortcut to get the precision of this property's column.

+
+ int + + getScale() +
+

Shortcut to get the scale of this property's column.

+
+ java.lang.String + + getSqlType() +
+

Shortcut to get the SQL type of the corresponding column.

+
+ boolean + + isUnique() +
+

Shortcut to determine whether the property's column is configured + to be unique.

+
+ java.lang.String + + toString() +
+

+
+   + + + +
+ Methods inherited from class java.lang.Object +
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
+   + +

+ + + + + + + + + + + + + + + + + + + +
+ Property Detail
+ +

batchSize

+
java.lang.Integer batchSize
+
+
The batch size used for lazy loading + +
+

+

+
+ +

cache

+
CacheConfig cache
+
+
+
+

+

+
+ +

cascade

+
java.lang.String cascade
+
+
Cascading strategy for this property. Only makes sense if the + property is an association or collection. + +
+

+

+
+ +

columns

+
java.util.List columns
+
+
+
+

+

+
+ +

fetch

+
FetchMode fetch
+
+
The fetch strategy for this property. + +
+

+

+
+ +

formula

+
java.lang.String formula
+
+
+
+

+

+
+ +

ignoreNotFound

+
boolean ignoreNotFound
+
+
Whether to ignore ObjectNotFoundException + +
+

+

+
+ +

indexColumn

+
PropertyConfig indexColumn
+
+
The column used to produce the index for index based collections (lists and maps) + +
+

+

+
+ +

insertable

+
boolean insertable
+
+
Whether or not this is column is insertable by hibernate + +
+

+

+
+ +

joinTable

+
JoinTable joinTable
+
+
+
+

+

+
+ +

lazy

+
boolean lazy
+
+
+
+

+

+
+ +

order

+
java.lang.String order
+
+
The default sort order + +
+

+

+
+ +

sort

+
java.lang.String sort
+
+
The default sort property name + +
+

+

+
+ +

type

+
java.lang.Object type
+
+
The Hibernate type or user type of the property. This can be + a string or a class. + +
+

+

+
+ +

typeParams

+
java.util.Properties typeParams
+
+
The parameters for the property that can be used to + configure a Hibernate ParameterizedType implementation. + +
+

+

+
+ +

updateable

+
boolean updateable
+
+
Whether or not this column is updateable by hibernate + +
+

+

+
+ +   + + + + + + + + + + + + + + + + + + + + +
+ Method Detail
+ +

+ checkHasSingleColumn

+
protected void checkHasSingleColumn()
+
+
+
+

+

+
+ +

+ getColumn

+
java.lang.String getColumn()
+
+
Shortcut to get the column name for this property.
throws:
RuntimeException if this property maps to more than one + column.
+ +
+

+

+
+ +

+ getEnumType

+
java.lang.String getEnumType()
+
+
+
+

+

+
+ +

+ getIndex

+
java.lang.String getIndex()
+
+
Shortcut to get the index setting for this property's column.
throws:
RuntimeException if this property maps to more than one + column.
+ +
+

+

+
+ +

+ getLength

+
int getLength()
+
+
Shortcut to get the length of this property's column.
throws:
RuntimeException if this property maps to more than one + column.
+ +
+

+

+
+ +

+ getPrecision

+
int getPrecision()
+
+
Shortcut to get the precision of this property's column.
throws:
RuntimeException if this property maps to more than one + column.
+ +
+

+

+
+ +

+ getScale

+
int getScale()
+
+
Shortcut to get the scale of this property's column.
throws:
RuntimeException if this property maps to more than one + column.
+ +
+

+

+
+ +

+ getSqlType

+
java.lang.String getSqlType()
+
+
Shortcut to get the SQL type of the corresponding column.
throws:
RuntimeException if this property maps to more than one + column.
+ +
+

+

+
+ +

+ isUnique

+
boolean isUnique()
+
+
Shortcut to determine whether the property's column is configured + to be unique.
throws:
RuntimeException if this property maps to more than one + column.
+ +
+

+

+
+ +

+ toString

+
java.lang.String toString()
+
+
+
+

+

+
+ +   + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/codehaus/groovy/grails/orm/hibernate/cfg/PropertyDefinitionDelegate.html b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/PropertyDefinitionDelegate.html new file mode 100644 index 000000000..1487e24db --- /dev/null +++ b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/PropertyDefinitionDelegate.html @@ -0,0 +1,306 @@ + + + + + + + + + +PropertyDefinitionDelegate (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate.cfg +
+ +[Groovy] Class PropertyDefinitionDelegate

+
java.lang.Object
+  org.codehaus.groovy.grails.orm.hibernate.cfg.PropertyDefinitionDelegate
+

+
class PropertyDefinitionDelegate
+
+
+ +

+ Builder delegate that handles multiple-column definitions for a + single domain property, e.g. +

+   amount type: MonetaryAmountUserType, {
+       column name: "value"
+       column name: "currency_code", sqlType: "text"
+   }
+ 
+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Property Summary
+ PropertyConfig + config +
+

+
+   + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary
+ PropertyDefinitionDelegate(PropertyConfig config) +
+

+
+   + + + + + + + + + + + + + + + + +
+ Method Summary
+ java.lang.Object + + column(java.util.Map args) +
+

+
+   + + + +
+ Methods inherited from class java.lang.Object +
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
+   + +

+ + + + + + + + + + + + + + + + + + + +
+ Property Detail
+ +

config

+
PropertyConfig config
+
+
+
+

+

+
+ +   + + + + + + + + + + + + + + + +
+ Constructor Detail
+ +

+ PropertyDefinitionDelegate

+
PropertyDefinitionDelegate(PropertyConfig config)
+
+
+
+

+

+
+ +   + + + + + + + + + + +
+ Method Detail
+ +

+ column

+
java.lang.Object column(java.util.Map args)
+
+
+
+

+

+
+ +   + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/grails/datastore/mapping/model/types/conversion/StringToCurrencyConverter.html b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/SortConfig.html similarity index 64% rename from api/org/grails/datastore/mapping/model/types/conversion/StringToCurrencyConverter.html rename to api/org/codehaus/groovy/grails/orm/hibernate/cfg/SortConfig.html index 9c4c497b7..fe457ef24 100644 --- a/api/org/grails/datastore/mapping/model/types/conversion/StringToCurrencyConverter.html +++ b/api/org/codehaus/groovy/grails/orm/hibernate/cfg/SortConfig.html @@ -6,9 +6,9 @@ - -StringToCurrencyConverter (grails-datastore-core 2.0.1.RELEASE API) - + +SortConfig (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + @@ -17,7 +17,7 @@ function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { - parent.document.title="StringToCurrencyConverter (grails-datastore-core 2.0.1.RELEASE API)"; + parent.document.title="SortConfig (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API)"; } } @@ -58,8 +58,8 @@  NEXT CLASS
--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     @@ -58,8 +58,8 @@  NEXT CLASS--> - FRAMES   - NO FRAMES   + FRAMES   + NO FRAMES     + + + + + +
+ + + + + + + + + + + + + +
+ Groovy Documentation + +
+ + + +
+

+Package org.codehaus.groovy.grails.orm.hibernate.cfg +

+ + + +

 

+ + + + + + + + + + + + + +
+ Interface Summary
GrailsDomainConfiguration@author Graeme Rocher
+  +

+

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Class Summary
AbstractGrailsDomainBinderHandles the binding Grails domain classes and properties to the Hibernate runtime meta model. +
CacheConfigDefines the cache configuration.
ColumnConfigDefines a column within the mapping.
CompositeIdentityRepresents a composite identity, equivalent to Hibernate mapping.
GORMEnhancingBeanPostProcessorEnhances an existing SessionFactory with GORM behavior.
GORMNamespaceHandlerA Spring namespace handler for the namespace tags
GORMSessionFactoryDefinitionParserA BeanDefinitionParser that will scan for GORM entities to configure and automatically setup an + appropriate Hibernate SessionFactory for usage with GORM.
HibernateMappingBuilderImplements the ORM mapping DSL constructing a model that can be evaluated by the + GrailsDomainBinder class which maps GORM classes onto the database.
HibernateNamedQueriesBuilderA builder that implements the ORM named queries DSL.
HibernateUtilities
IdentityDefines the identity generation strategy.
InstanceProxy
JoinTableRepresents a Join table in Grails mapping.
MappingModels the mapping from GORM classes to the db.
NamedCriteriaProxy
NaturalId@author Graeme Rocher
PropertyConfigCustom mapping for a single domain property.
PropertyDefinitionDelegateBuilder delegate that handles multiple-column definitions for a + single domain property, e.g. +
SortConfig
TableRepresents a table definition in GORM.
+  +

+

+
+
+ + + + + + + +

Groovy Documentation

+
+ + diff --git a/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/CouldNotDetermineHibernateDialectException.html b/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/CouldNotDetermineHibernateDialectException.html new file mode 100644 index 000000000..7f03e8fd6 --- /dev/null +++ b/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/CouldNotDetermineHibernateDialectException.html @@ -0,0 +1,274 @@ + + + + + + + + + +CouldNotDetermineHibernateDialectException (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate.exceptions +
+ +[Java] Class CouldNotDetermineHibernateDialectException

+
java.lang.Object
+  org.codehaus.groovy.grails.exceptions.GrailsException
+      org.codehaus.groovy.grails.orm.hibernate.exceptions.GrailsHibernateException
+          org.codehaus.groovy.grails.orm.hibernate.exceptions.CouldNotDetermineHibernateDialectException
+

+
public class CouldNotDetermineHibernateDialectException
+extends GrailsHibernateException
+
+
+ +

+ Thrown when no Hibernate dialect could be found for a database name. +

Authors:
Steven Devijver
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary
+ CouldNotDetermineHibernateDialectException() +
+

+
+ CouldNotDetermineHibernateDialectException(java.lang.String message) +
+

+
+ CouldNotDetermineHibernateDialectException(java.lang.String message, java.lang.Throwable cause) +
+

+
+ CouldNotDetermineHibernateDialectException(java.lang.Throwable cause) +
+

+
+   + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail
+ +

+ CouldNotDetermineHibernateDialectException

+
public CouldNotDetermineHibernateDialectException()
+
+
+
+

+

+
+ +

+ CouldNotDetermineHibernateDialectException

+
public CouldNotDetermineHibernateDialectException(java.lang.String message)
+
+
+
+

+

+
+ +

+ CouldNotDetermineHibernateDialectException

+
public CouldNotDetermineHibernateDialectException(java.lang.String message, java.lang.Throwable cause)
+
+
+
+

+

+
+ +

+ CouldNotDetermineHibernateDialectException

+
public CouldNotDetermineHibernateDialectException(java.lang.Throwable cause)
+
+
+
+

+

+
+ +   + + + + + + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/GrailsHibernateConfigurationException.html b/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/GrailsHibernateConfigurationException.html new file mode 100644 index 000000000..5dc5a8dab --- /dev/null +++ b/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/GrailsHibernateConfigurationException.html @@ -0,0 +1,274 @@ + + + + + + + + + +GrailsHibernateConfigurationException (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate.exceptions +
+ +[Java] Class GrailsHibernateConfigurationException

+
java.lang.Object
+  org.codehaus.groovy.grails.exceptions.GrailsException
+      org.codehaus.groovy.grails.orm.hibernate.exceptions.GrailsHibernateException
+          org.codehaus.groovy.grails.orm.hibernate.exceptions.GrailsHibernateConfigurationException
+

+
public class GrailsHibernateConfigurationException
+extends GrailsHibernateException
+
+
+ +

+ Thrown when configuration Hibernate for GORM features. +

Authors:
Graeme Rocher
Since:
1.1
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary
+ GrailsHibernateConfigurationException() +
+

+
+ GrailsHibernateConfigurationException(java.lang.String message) +
+

+
+ GrailsHibernateConfigurationException(java.lang.String message, java.lang.Throwable cause) +
+

+
+ GrailsHibernateConfigurationException(java.lang.Throwable cause) +
+

+
+   + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail
+ +

+ GrailsHibernateConfigurationException

+
public GrailsHibernateConfigurationException()
+
+
+
+

+

+
+ +

+ GrailsHibernateConfigurationException

+
public GrailsHibernateConfigurationException(java.lang.String message)
+
+
+
+

+

+
+ +

+ GrailsHibernateConfigurationException

+
public GrailsHibernateConfigurationException(java.lang.String message, java.lang.Throwable cause)
+
+
+
+

+

+
+ +

+ GrailsHibernateConfigurationException

+
public GrailsHibernateConfigurationException(java.lang.Throwable cause)
+
+
+
+

+

+
+ +   + + + + + + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/GrailsHibernateException.html b/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/GrailsHibernateException.html new file mode 100644 index 000000000..c7f1fc488 --- /dev/null +++ b/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/GrailsHibernateException.html @@ -0,0 +1,273 @@ + + + + + + + + + +GrailsHibernateException (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate.exceptions +
+ +[Java] Class GrailsHibernateException

+
java.lang.Object
+  org.codehaus.groovy.grails.exceptions.GrailsException
+      org.codehaus.groovy.grails.orm.hibernate.exceptions.GrailsHibernateException
+

+
public abstract class GrailsHibernateException
+extends GrailsException
+
+
+ +

+ Base exception class for errors related to Hibernate configuration in Grails. +

Authors:
Steven Devijver
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary
+ GrailsHibernateException() +
+

+
+ GrailsHibernateException(java.lang.String message) +
+

+
+ GrailsHibernateException(java.lang.String message, java.lang.Throwable cause) +
+

+
+ GrailsHibernateException(java.lang.Throwable cause) +
+

+
+   + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail
+ +

+ GrailsHibernateException

+
public GrailsHibernateException()
+
+
+
+

+

+
+ +

+ GrailsHibernateException

+
public GrailsHibernateException(java.lang.String message)
+
+
+
+

+

+
+ +

+ GrailsHibernateException

+
public GrailsHibernateException(java.lang.String message, java.lang.Throwable cause)
+
+
+
+

+

+
+ +

+ GrailsHibernateException

+
public GrailsHibernateException(java.lang.Throwable cause)
+
+
+
+

+

+
+ +   + + + + + + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/GrailsQueryException.html b/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/GrailsQueryException.html new file mode 100644 index 000000000..4e686135f --- /dev/null +++ b/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/GrailsQueryException.html @@ -0,0 +1,273 @@ + + + + + + + + + +GrailsQueryException (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + +
+Groovy Documentation +
+ + + +
+ +

+ + +org.codehaus.groovy.grails.orm.hibernate.exceptions +
+ +[Java] Class GrailsQueryException

+
java.lang.Object
+  org.codehaus.groovy.grails.exceptions.GrailsException
+      org.codehaus.groovy.grails.orm.hibernate.exceptions.GrailsQueryException
+

+
public class GrailsQueryException
+extends GrailsException
+
+
+ +

+ Base exception class for errors related to Domain class queries in Grails. +

Authors:
Graeme Rocher
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Summary
+ GrailsQueryException() +
+

+
+ GrailsQueryException(java.lang.String message, java.lang.Throwable cause) +
+

+
+ GrailsQueryException(java.lang.String message) +
+

+
+ GrailsQueryException(java.lang.Throwable cause) +
+

+
+   + + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Constructor Detail
+ +

+ GrailsQueryException

+
public GrailsQueryException()
+
+
+
+

+

+
+ +

+ GrailsQueryException

+
public GrailsQueryException(java.lang.String message, java.lang.Throwable cause)
+
+
+
+

+

+
+ +

+ GrailsQueryException

+
public GrailsQueryException(java.lang.String message)
+
+
+
+

+

+
+ +

+ GrailsQueryException

+
public GrailsQueryException(java.lang.Throwable cause)
+
+
+
+

+

+
+ +   + + + + + + + + +

Groovy Documentation

+
+ + + diff --git a/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/package-frame.html b/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/package-frame.html new file mode 100644 index 000000000..4c0fad75d --- /dev/null +++ b/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/package-frame.html @@ -0,0 +1,38 @@ + + + + +org.codehaus.groovy.grails.orm.hibernate.exceptions + + + + + + + + + + + +org.codehaus.groovy.grails.orm.hibernate.exceptions + + + + + + + + +
+Classes  +
CouldNotDetermineHibernateDialectException
GrailsHibernateConfigurationException
GrailsHibernateException
GrailsQueryException
+ + + + + + + + + + diff --git a/api/org/grails/datastore/mapping/query/api/package-summary.html b/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/package-summary.html similarity index 50% rename from api/org/grails/datastore/mapping/query/api/package-summary.html rename to api/org/codehaus/groovy/grails/orm/hibernate/exceptions/package-summary.html index 0466fd140..1e6c5a528 100644 --- a/api/org/grails/datastore/mapping/query/api/package-summary.html +++ b/api/org/codehaus/groovy/grails/orm/hibernate/exceptions/package-summary.html @@ -2,16 +2,16 @@ -org.grails.datastore.mapping.query.api (grails-datastore-core 2.0.1.RELEASE API) - +org.codehaus.groovy.grails.orm.hibernate.exceptions (grails-datastore-gorm-hibernate-core 2.0.1.RELEASE API) + - - - + + +