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 |
Base package for the mapping subsystem.
|
org.springframework.data.mapping.context |
Mapping context API and implementation base classes.
|
org.springframework.data.mapping.model |
Core implementation of the mapping subsystem's model.
|
org.springframework.data.repository.core.support |
Base classes to implement repositories for various data stores.
|
org.springframework.data.repository.support |
Support classes for integration of the repository programming model with 3rd party frameworks.
|
Constructor and Description |
---|
AuditingHandler(MappingContext<? extends PersistentEntity<?,?>,? extends PersistentProperty<?>> mappingContext)
Creates a new
AuditableBeanWrapper using the given MappingContext when looking up auditing metadata
via reflection. |
IsNewAwareAuditingHandler(MappingContext<? extends PersistentEntity<?,?>,? extends PersistentProperty<?>> mappingContext)
Creates a new
IsNewAwareAuditingHandler for the given MappingContext . |
Modifier and Type | Interface and Description |
---|---|
interface |
EntityConverter<E extends PersistentEntity<?,P>,P extends PersistentProperty<P>,T,S>
Combined
EntityReader and EntityWriter and add the ability to access a MappingContext and
ConversionService . |
Modifier and Type | Method and Description |
---|---|
<T,E extends PersistentEntity<? extends T,P>,P extends PersistentProperty<P>> |
ReflectionEntityInstantiator.createInstance(E entity,
ParameterValueProvider<P> provider) |
<T,E extends PersistentEntity<? extends T,P>,P extends PersistentProperty<P>> |
EntityInstantiator.createInstance(E entity,
ParameterValueProvider<P> provider)
Creates a new instance of the given entity using the given source to pull data from.
|
Modifier and Type | Method and Description |
---|---|
EntityInstantiator |
EntityInstantiators.getInstantiatorFor(PersistentEntity<?,?> entity)
Returns the
EntityInstantiator to be used to create the given PersistentEntity . |
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 | Method and Description |
---|---|
PersistentEntity<?,P> |
PersistentProperty.getOwner()
Returns the
PersistentEntity owning the current PersistentProperty . |
Constructor and Description |
---|
Parameter(String name,
TypeInformation<T> type,
Annotation[] annotations,
PersistentEntity<T,P> entity)
Creates a new
PreferredConstructor.Parameter with the given name, TypeInformation as well as an array of
Annotation s. |
Modifier and Type | Interface and Description |
---|---|
interface |
MappingContext<E extends PersistentEntity<?,P>,P extends PersistentProperty<P>>
This interface defines the overall context including all known PersistentEntity instances and methods to obtain
instances on demand.
|
class |
MappingContextEvent<E extends PersistentEntity<?,P>,P extends PersistentProperty<P>>
Base implementation of an
ApplicationEvent refering to a PersistentEntity . |
Modifier and Type | Method and Description |
---|---|
PersistentEntity<?,?> |
PersistentEntities.getPersistentEntity(Class<?> type)
Returns the
PersistentEntity for the given type. |
Modifier and Type | Method and Description |
---|---|
Iterator<PersistentEntity<?,?>> |
PersistentEntities.iterator() |
Constructor and Description |
---|
MappingContextIsNewStrategyFactory(MappingContext<? extends PersistentEntity<?,?>,?> context)
Creates a new
MappingContextIsNewStrategyFactory using the given MappingContext . |
Modifier and Type | Interface and Description |
---|---|
interface |
MutablePersistentEntity<T,P extends PersistentProperty<P>>
Interface capturing mutator methods for
PersistentEntity s. |
Modifier and Type | Class and Description |
---|---|
class |
BasicPersistentEntity<T,P extends PersistentProperty<P>>
Simple value object to capture information of
PersistentEntity s. |
Modifier and Type | Field and Description |
---|---|
protected PersistentEntity<?,P> |
AbstractPersistentProperty.owner |
Modifier and Type | Method and Description |
---|---|
PersistentEntity<?,P> |
AbstractPersistentProperty.getOwner() |
Modifier and Type | Method and Description |
---|---|
PersistentEntity<?,?> |
RepositoryFactoryInformation.getPersistentEntity()
Returns the
PersistentEntity managed by the underlying repository. |
PersistentEntity<?,?> |
RepositoryFactoryBeanSupport.getPersistentEntity() |
Constructor and Description |
---|
PersistentEntityInformation(PersistentEntity<T,?> entity)
Creates a new
PersistableEntityInformation for the given PersistentEntity . |
Modifier and Type | Method and Description |
---|---|
PersistentEntity<?,?> |
Repositories.getPersistentEntity(Class<?> domainClass)
Returns the
PersistentEntity for the given domain class. |
Copyright © 2016. All rights reserved.