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)
Deprecated.
use
AuditingHandler.AuditingHandler(PersistentEntities) instead. |
IsNewAwareAuditingHandler(MappingContext<? extends PersistentEntity<?,?>,? extends PersistentProperty<?>> mappingContext)
Deprecated.
|
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>> |
ClassGeneratingEntityInstantiator.createInstance(E entity,
ParameterValueProvider<P> provider)
Deprecated.
|
<T,E extends PersistentEntity<? extends T,P>,P extends PersistentProperty<P>> |
KotlinClassGeneratingEntityInstantiator.createInstance(E entity,
ParameterValueProvider<P> provider)
Deprecated.
|
<T,E extends PersistentEntity<? extends T,P>,P extends PersistentProperty<P>> |
ReflectionEntityInstantiator.createInstance(E entity,
ParameterValueProvider<P> provider)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EntityInstantiator |
EntityInstantiators.getInstantiatorFor(PersistentEntity<?,?> entity)
Deprecated.
|
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. it is used internally to establish associations between entities and also at runtime to obtain
entities by name.
|
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.getEntityUltimatelyReferredToBy(PersistentProperty<?> property)
Returns the
PersistentEntity the given PersistentProperty refers to in case it's an association. |
PersistentEntity<?,? extends PersistentProperty<?>> |
PersistentEntities.getRequiredPersistentEntity(Class<?> type)
Returns the
PersistentEntity for the given type. |
Modifier and Type | Method and Description |
---|---|
Optional<PersistentEntity<?,? extends PersistentProperty<?>>> |
PersistentEntities.getPersistentEntity(Class<?> type)
Returns the
PersistentEntity for the given type. |
Iterator<PersistentEntity<?,? extends PersistentProperty<?>>> |
PersistentEntities.iterator() |
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. |
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 | Method and Description |
---|---|
<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 |
---|---|
PersistentEntity<?,P> |
AbstractPersistentProperty.getOwner() |
Modifier and Type | Method and Description |
---|---|
static <T,P extends PersistentProperty<P>> |
PreferredConstructorDiscoverer.discover(PersistentEntity<T,P> entity)
Discovers the
PreferredConstructorDiscoverer for the given PersistentEntity . |
EntityInstantiator |
EntityInstantiators.getInstantiatorFor(PersistentEntity<?,?> entity)
Returns the
EntityInstantiator to be used to create the given PersistentEntity . |
<T> PersistentPropertyAccessor<T> |
PersistentPropertyAccessorFactory.getPropertyAccessor(PersistentEntity<?,?> entity,
T bean)
|
<T> PersistentPropertyAccessor<T> |
InstantiationAwarePropertyAccessorFactory.getPropertyAccessor(PersistentEntity<?,?> entity,
T bean) |
<T> PersistentPropertyAccessor<T> |
BeanWrapperPropertyAccessorFactory.getPropertyAccessor(PersistentEntity<?,?> entity,
T bean) |
<T> PersistentPropertyAccessor<T> |
ClassGeneratingPropertyAccessorFactory.getPropertyAccessor(PersistentEntity<?,?> entity,
T bean) |
boolean |
PersistentPropertyAccessorFactory.isSupported(PersistentEntity<?,?> entity)
Returns whether given
PersistentEntity is supported by this PersistentPropertyAccessorFactory . |
boolean |
InstantiationAwarePropertyAccessorFactory.isSupported(PersistentEntity<?,?> entity) |
boolean |
BeanWrapperPropertyAccessorFactory.isSupported(PersistentEntity<?,?> entity) |
boolean |
ClassGeneratingPropertyAccessorFactory.isSupported(PersistentEntity<?,?> entity)
Checks whether an accessor class can be generated.
|
Constructor and Description |
---|
AbstractPersistentProperty(Property property,
PersistentEntity<?,P> owner,
SimpleTypeHolder simpleTypeHolder) |
AnnotationBasedPersistentProperty(Property property,
PersistentEntity<?,P> owner,
SimpleTypeHolder simpleTypeHolder)
Creates a new
AnnotationBasedPersistentProperty . |
IdPropertyIdentifierAccessor(PersistentEntity<?,?> entity,
Object target)
Creates a new
IdPropertyIdentifierAccessor for the given PersistentEntity and
ConvertingPropertyAccessor . |
MappingInstantiationException(PersistentEntity<?,?> entity,
List<Object> arguments,
Exception cause)
Creates a new
MappingInstantiationException for the given PersistentEntity , constructor arguments
and the causing exception. |
PersistentEntityParameterValueProvider(PersistentEntity<?,P> entity,
PropertyValueProvider<P> provider,
Object parent) |
Modifier and Type | Method and Description |
---|---|
PersistentEntity<?,?> |
RepositoryFactoryBeanSupport.getPersistentEntity() |
PersistentEntity<?,?> |
RepositoryFactoryInformation.getPersistentEntity()
Returns the
PersistentEntity managed by the underlying repository. |
Constructor and Description |
---|
PersistentEntityInformation(PersistentEntity<T,? extends PersistentProperty<?>> persistentEntity) |
Modifier and Type | Method and Description |
---|---|
PersistentEntity<?,?> |
Repositories.getPersistentEntity(Class<?> domainClass)
Returns the
PersistentEntity for the given domain class. |
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.