Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEntityInformation<T,ID extends Serializable>
Base class for implementations of
EntityInformation . |
class |
DelegatingEntityInformation<T,ID extends Serializable>
Useful base class to implement custom
EntityInformation s and delegate execution of standard methods from
EntityInformation to a special implementation. |
class |
PersistableEntityInformation<T extends Persistable<ID>,ID extends Serializable>
Implementation of
EntityMetadata that assumes the entity handled implements Persistable and uses
Persistable.isNew() for the AbstractEntityInformation.isNew(Object) check. |
class |
PersistentEntityInformation<T,ID extends Serializable>
EntityInformation implementation that uses a PersistentEntity to obtain id type information and uses
a BeanWrapper to access the property value if requested. |
class |
ReflectionEntityInformation<T,ID extends Serializable>
EntityInformation implementation that inspects fields for an annotation and looks up this field's value to
retrieve the id. |
Modifier and Type | Method and Description |
---|---|
EntityInformation<T,ID> |
RepositoryFactoryInformation.getEntityInformation()
Returns
EntityInformation the repository factory is using. |
EntityInformation<S,ID> |
RepositoryFactoryBeanSupport.getEntityInformation() |
abstract <T,ID extends Serializable> |
RepositoryFactorySupport.getEntityInformation(Class<T> domainClass)
Returns the
EntityInformation for the given domain class. |
Constructor and Description |
---|
DelegatingEntityInformation(EntityInformation<T,ID> delegate)
Creates a new
DelegatingEntityInformation delegating method invocations to the given
EntityInformation . |
Modifier and Type | Method and Description |
---|---|
<T,S extends Serializable> |
Repositories.getEntityInformationFor(Class<?> domainClass)
Returns the
EntityInformation for the given domain class. |
Constructor and Description |
---|
DomainClassPropertyEditor(CrudInvoker<?> invoker,
EntityInformation<T,ID> information,
PropertyEditorRegistry registry)
Creates a new
DomainClassPropertyEditor for the given repository, EntityInformation and
PropertyEditorRegistry . |
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.