|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NoRepositoryBean public interface RevisionRepository<T,ID extends Serializable,N extends Number & Comparable<N>>
A repository which can access entities held in a variety of Revisions
.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
Page<Revision<N,T>> findRevisions(ID id, Pageable pageable)
Page
of revisions for the entity with the given id.
id
- must not be null.pageable
-
|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |