public class EnversRevisionRepositoryImpl<T,ID extends Serializable,N extends Number & Comparable<N>> extends org.springframework.data.jpa.repository.support.SimpleJpaRepository<T,ID> implements EnversRevisionRepository<T,ID,N>
| Constructor and Description |
|---|
EnversRevisionRepositoryImpl(org.springframework.data.jpa.repository.support.JpaEntityInformation<T,?> entityInformation,
RevisionEntityInformation revisionEntityInformation,
javax.persistence.EntityManager entityManager)
Creates a new
EnversRevisionRepositoryImpl using the given JpaEntityInformation,
RevisionEntityInformation and EntityManager. |
| Modifier and Type | Method and Description |
|---|---|
Revision<N,T> |
findLastChangeRevision(ID id) |
Revision<N,T> |
findRevision(ID id,
N revisionNumber) |
Revisions<N,T> |
findRevisions(ID id) |
Page<Revision<N,T>> |
findRevisions(ID id,
Pageable pageable) |
count, count, count, delete, delete, delete, deleteAll, deleteAllInBatch, deleteInBatch, exists, exists, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findAll, findOne, findOne, findOne, flush, getCountQuery, getCountQuery, getDomainClass, getOne, getQuery, getQuery, getQuery, getQuery, getQueryHints, getRepositoryMethodMetadata, readPage, readPage, save, save, saveAndFlush, setRepositoryMethodMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAllcount, delete, delete, delete, deleteAll, exists, findOne, savecount, exists, findAll, findOnepublic EnversRevisionRepositoryImpl(org.springframework.data.jpa.repository.support.JpaEntityInformation<T,?> entityInformation, 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.public Revision<N,T> findLastChangeRevision(ID id)
findLastChangeRevision in interface RevisionRepository<T,ID extends Serializable,N extends Number & Comparable<N>>public Revision<N,T> findRevision(ID id, N revisionNumber)
findRevision in interface RevisionRepository<T,ID extends Serializable,N extends Number & Comparable<N>>public Revisions<N,T> findRevisions(ID id)
findRevisions in interface RevisionRepository<T,ID extends Serializable,N extends Number & Comparable<N>>public Page<Revision<N,T>> findRevisions(ID id, Pageable pageable)
findRevisions in interface RevisionRepository<T,ID extends Serializable,N extends Number & Comparable<N>>Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.