Package | Description |
---|---|
org.springframework.data.auditing |
General support for entity auditing.
|
org.springframework.data.convert |
General purpose conversion framework to read objects from a data store abstraction and write it back.
|
org.springframework.data.mapping.context |
Mapping context API and implementation base classes.
|
org.springframework.data.repository.core.support |
Base classes to implement repositories for various data stores.
|
Constructor and Description |
---|
AuditingHandler(MappingContext<? extends PersistentEntity<?,?>,? extends PersistentProperty<?>> mappingContext)
Deprecated.
use
AuditingHandler.AuditingHandler(PersistentEntities) instead. |
IsNewAwareAuditingHandler(MappingContext<? extends PersistentEntity<?,?>,? extends PersistentProperty<?>> mappingContext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MappingContext<? extends E,P> |
EntityConverter.getMappingContext()
Returns the underlying
MappingContext used by the converter. |
Constructor and Description |
---|
DefaultTypeMapper(TypeAliasAccessor<S> accessor,
MappingContext<? extends PersistentEntity<?,?>,?> mappingContext,
List<? extends TypeInformationMapper> additionalMappers)
Creates a new
DefaultTypeMapper using the given TypeAliasAccessor , MappingContext and
additional TypeInformationMapper s. |
MappingContextTypeInformationMapper(MappingContext<? extends PersistentEntity<?,?>,?> mappingContext)
Creates a
MappingContextTypeInformationMapper from the given MappingContext . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMappingContext<E extends MutablePersistentEntity<?,P>,P extends PersistentProperty<P>>
Base class to build mapping metadata and thus create instances of
PersistentEntity and
PersistentProperty . |
Modifier and Type | Method and Description |
---|---|
static PersistentEntities |
PersistentEntities.of(MappingContext<?,?>... contexts)
Creates a new
PersistentEntities for the given MappingContext s. |
boolean |
MappingContextEvent.wasEmittedBy(MappingContext<?,?> context)
Returns whether the
MappingContextEvent was triggered by the given MappingContext . |
Modifier and Type | Method and Description |
---|---|
<T> Optional<T> |
PersistentEntities.mapOnContext(Class<?> type,
BiFunction<MappingContext<?,? extends PersistentProperty<?>>,PersistentEntity<?,?>,T> combiner)
Executes the given
BiFunction on the given MappingContext and PersistentEntity based on the
given type. |
Constructor and Description |
---|
MappingContextEvent(MappingContext<?,?> source,
E entity)
|
MappingContextIsNewStrategyFactory(MappingContext<? extends PersistentEntity<?,?>,?> context)
Deprecated.
|
Constructor and Description |
---|
PersistentEntities(Iterable<? extends MappingContext<?,?>> contexts)
Creates a new
PersistentEntities for the given MappingContext s. |
Modifier and Type | Method and Description |
---|---|
protected void |
RepositoryFactoryBeanSupport.setMappingContext(MappingContext<?,?> mappingContext)
Configures the
MappingContext to be used to lookup PersistentEntity instances for
RepositoryFactoryBeanSupport.getPersistentEntity() . |
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.