@NoRepositoryBean public interface RevisionRepository<T,ID extends Serializable,N extends Number & Comparable<N>>
Revisions
.Modifier and Type | Method and Description |
---|---|
Revision<N,T> |
findLastChangeRevision(ID id)
Returns the revision of the entity it was last changed in.
|
Revisions<N,T> |
findRevisions(ID id)
Returns all
Revisions of an entity with the given id. |
Page<Revision<N,T>> |
findRevisions(ID id,
Pageable pageable)
Returns a
Page of revisions for the entity with the given id. |
Revision<N,T> findLastChangeRevision(ID id)
id
- must not be null.Revisions<N,T> findRevisions(ID id)
Revisions
of an entity with the given id.id
- must not be null.Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.