|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.data.jpa.repository.support.SimpleJpaRepository<T,ID>
org.springframework.data.envers.repository.support.EnversRevisionRepositoryImpl<T,ID,N>
public class EnversRevisionRepositoryImpl<T,ID extends Serializable,N extends Number & Comparable<N>>
Repository implementation using Hibernate Envers to implement revision specific query methods.
| Constructor Summary | |
|---|---|
EnversRevisionRepositoryImpl(org.springframework.data.jpa.repository.support.JpaEntityInformation<T,?> entityInformation,
org.springframework.data.repository.history.support.RevisionEntityInformation revisionEntityInformation,
javax.persistence.EntityManager entityManager)
Creates a new EnversRevisionRepositoryImpl using the given JpaEntityInformation,
RevisionEntityInformation and EntityManager. |
|
| Method Summary | |
|---|---|
org.springframework.data.history.Revision<N,T> |
findLastChangeRevision(ID id)
|
org.springframework.data.history.Revisions<N,T> |
findRevisions(ID id)
|
org.springframework.data.domain.Page<org.springframework.data.history.Revision<N,T>> |
findRevisions(ID id,
org.springframework.data.domain.Pageable pageable)
|
| Methods inherited from class org.springframework.data.jpa.repository.support.SimpleJpaRepository |
|---|
count, count, delete, delete, delete, deleteAll, deleteAllInBatch, deleteInBatch, exists, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findOne, findOne, flush, save, save, saveAndFlush, setLockMetadataProvider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnversRevisionRepositoryImpl(org.springframework.data.jpa.repository.support.JpaEntityInformation<T,?> entityInformation,
org.springframework.data.repository.history.support.RevisionEntityInformation revisionEntityInformation,
javax.persistence.EntityManager entityManager)
EnversRevisionRepositoryImpl using the given JpaEntityInformation,
RevisionEntityInformation and EntityManager.
entityInformation - must not be null.revisionEntityInformation - must not be null.entityManager - must not be null.| Method Detail |
|---|
public org.springframework.data.history.Revision<N,T> findLastChangeRevision(ID id)
findLastChangeRevision in interface org.springframework.data.repository.history.RevisionRepository<T,ID extends Serializable,N extends Number & Comparable<N>>public org.springframework.data.history.Revisions<N,T> findRevisions(ID id)
findRevisions in interface org.springframework.data.repository.history.RevisionRepository<T,ID extends Serializable,N extends Number & Comparable<N>>
public org.springframework.data.domain.Page<org.springframework.data.history.Revision<N,T>> findRevisions(ID id,
org.springframework.data.domain.Pageable pageable)
findRevisions in interface org.springframework.data.repository.history.RevisionRepository<T,ID extends Serializable,N extends Number & Comparable<N>>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||