Uses of Interface
org.springframework.data.mapping.PersistentEntity
Packages that use PersistentEntity
Package
Description
General purpose conversion framework to read objects from a data store abstraction and write it back.
Base package for the mapping subsystem.
Mapping context API and implementation base classes.
Core implementation of the mapping subsystem's model.
Base classes to implement repositories for various data stores.
Support classes for integration of the repository programming model with 3rd party frameworks.
-
Uses of PersistentEntity in org.springframework.data.convert
Classes in org.springframework.data.convert with type parameters of type PersistentEntityModifier and TypeInterfaceDescriptioninterfaceEntityConverter<E extends PersistentEntity<?,P>, P extends PersistentProperty<P>, T, S> CombinedEntityReaderandEntityWriterand add the ability to access aMappingContextandConversionService.Constructor parameters in org.springframework.data.convert with type arguments of type PersistentEntityModifierConstructorDescriptionDefaultTypeMapper(TypeAliasAccessor<S> accessor, MappingContext<? extends PersistentEntity<?, ?>, ?> mappingContext, List<? extends TypeInformationMapper> additionalMappers) Creates a newDefaultTypeMapperusing the givenTypeAliasAccessor,MappingContextand additionalTypeInformationMappers.DtoInstantiatingConverter(Class<?> dtoType, MappingContext<? extends PersistentEntity<?, ?>, ? extends PersistentProperty<?>> context, EntityInstantiators instantiators) Create a newConverterto instantiate DTOs.MappingContextTypeInformationMapper(MappingContext<? extends PersistentEntity<?, ?>, ?> mappingContext) Creates aMappingContextTypeInformationMapperfrom the givenMappingContext. -
Uses of PersistentEntity in org.springframework.data.mapping
Methods in org.springframework.data.mapping that return PersistentEntityModifier and TypeMethodDescriptionPersistentProperty.getOwner()Returns thePersistentEntityowning the currentPersistentProperty.Constructors in org.springframework.data.mapping with parameters of type PersistentEntityModifierConstructorDescriptionParameter(String name, TypeInformation<T> type, Annotation[] annotations, PersistentEntity<T, P> entity) -
Uses of PersistentEntity in org.springframework.data.mapping.context
Classes in org.springframework.data.mapping.context with type parameters of type PersistentEntityModifier and TypeInterfaceDescriptioninterfaceMappingContext<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.classMappingContextEvent<E extends PersistentEntity<?,P>, P extends PersistentProperty<P>> Base implementation of anApplicationEventrefering to aPersistentEntity.Methods in org.springframework.data.mapping.context that return PersistentEntityModifier and TypeMethodDescriptionPersistentEntity<?,?> PersistentEntities.getEntityUltimatelyReferredToBy(PersistentProperty<?> property) Returns thePersistentEntitythe givenPersistentPropertyrefers to in case it's an association.PersistentEntity<?,? extends PersistentProperty<?>> PersistentEntities.getRequiredPersistentEntity(Class<?> type) Returns thePersistentEntityfor the given type.Methods in org.springframework.data.mapping.context that return types with arguments of type PersistentEntityModifier and TypeMethodDescriptionOptional<PersistentEntity<?,? extends PersistentProperty<?>>> PersistentEntities.getPersistentEntity(Class<?> type) Returns thePersistentEntityfor the given type.Iterator<PersistentEntity<?,? extends PersistentProperty<?>>> PersistentEntities.iterator()Method parameters in org.springframework.data.mapping.context with type arguments of type PersistentEntityModifier and TypeMethodDescription<T> Optional<T>PersistentEntities.mapOnContext(Class<?> type, BiFunction<MappingContext<?, ? extends PersistentProperty<?>>, PersistentEntity<?, ?>, T> combiner) Executes the givenBiFunctionon the givenMappingContextandPersistentEntitybased on the given type. -
Uses of PersistentEntity in org.springframework.data.mapping.model
Subinterfaces of PersistentEntity in org.springframework.data.mapping.modelModifier and TypeInterfaceDescriptioninterfaceMutablePersistentEntity<T,P extends PersistentProperty<P>> Interface capturing mutator methods forPersistentEntitys.Classes in org.springframework.data.mapping.model that implement PersistentEntityModifier and TypeClassDescriptionclassBasicPersistentEntity<T,P extends PersistentProperty<P>> Simple value object to capture information ofPersistentEntitys.Methods in org.springframework.data.mapping.model with type parameters of type PersistentEntityModifier and TypeMethodDescription<T,E extends PersistentEntity<? extends T, P>, P extends PersistentProperty<P>>
TEntityInstantiator.createInstance(E entity, ParameterValueProvider<P> provider) Creates a new instance of the given entity using the given source to pull data from.Methods in org.springframework.data.mapping.model that return PersistentEntityMethods in org.springframework.data.mapping.model with parameters of type PersistentEntityModifier and TypeMethodDescriptionstatic <T,P extends PersistentProperty<P>>
PreferredConstructor<T,P> PreferredConstructorDiscoverer.discover(PersistentEntity<T, P> entity) Discovers thePreferredConstructorDiscovererfor the givenPersistentEntity.EntityInstantiators.getInstantiatorFor(PersistentEntity<?, ?> entity) Returns theEntityInstantiatorto be used to create the givenPersistentEntity.<T> PersistentPropertyAccessor<T>BeanWrapperPropertyAccessorFactory.getPropertyAccessor(PersistentEntity<?, ?> entity, T bean) <T> PersistentPropertyAccessor<T>ClassGeneratingPropertyAccessorFactory.getPropertyAccessor(PersistentEntity<?, ?> entity, T bean) <T> PersistentPropertyAccessor<T>InstantiationAwarePropertyAccessorFactory.getPropertyAccessor(PersistentEntity<?, ?> entity, T bean) <T> PersistentPropertyAccessor<T>PersistentPropertyAccessorFactory.getPropertyAccessor(PersistentEntity<?, ?> entity, T bean) booleanBeanWrapperPropertyAccessorFactory.isSupported(PersistentEntity<?, ?> entity) booleanClassGeneratingPropertyAccessorFactory.isSupported(PersistentEntity<?, ?> entity) Checks whether an accessor class can be generated.booleanInstantiationAwarePropertyAccessorFactory.isSupported(PersistentEntity<?, ?> entity) booleanPersistentPropertyAccessorFactory.isSupported(PersistentEntity<?, ?> entity) Returns whether givenPersistentEntityis supported by thisPersistentPropertyAccessorFactory.Constructors in org.springframework.data.mapping.model with parameters of type PersistentEntityModifierConstructorDescriptionAbstractPersistentProperty(Property property, PersistentEntity<?, P> owner, SimpleTypeHolder simpleTypeHolder) AnnotationBasedPersistentProperty(Property property, PersistentEntity<?, P> owner, SimpleTypeHolder simpleTypeHolder) Creates a newAnnotationBasedPersistentProperty.IdPropertyIdentifierAccessor(PersistentEntity<?, ?> entity, Object target) Creates a newIdPropertyIdentifierAccessorfor the givenPersistentEntityandConvertingPropertyAccessor.MappingInstantiationException(PersistentEntity<?, ?> entity, List<Object> arguments, Exception cause) Creates a newMappingInstantiationExceptionfor the givenPersistentEntity, constructor arguments and the causing exception.PersistentEntityParameterValueProvider(PersistentEntity<?, P> entity, PropertyValueProvider<P> provider, Object parent) -
Uses of PersistentEntity in org.springframework.data.repository.core.support
Methods in org.springframework.data.repository.core.support that return PersistentEntityModifier and TypeMethodDescriptionPersistentEntity<?,?> RepositoryFactoryBeanSupport.getPersistentEntity()PersistentEntity<?,?> RepositoryFactoryInformation.getPersistentEntity()Returns thePersistentEntitymanaged by the underlying repository.Constructors in org.springframework.data.repository.core.support with parameters of type PersistentEntityModifierConstructorDescriptionPersistentEntityInformation(PersistentEntity<T, ? extends PersistentProperty<?>> persistentEntity) -
Uses of PersistentEntity in org.springframework.data.repository.support
Methods in org.springframework.data.repository.support that return PersistentEntityModifier and TypeMethodDescriptionPersistentEntity<?,?> Repositories.getPersistentEntity(Class<?> domainClass) Returns thePersistentEntityfor the given domain class.