Package | Description |
---|---|
org.springframework.data.history |
Basic interfaces and value objects for historiography API.
|
org.springframework.data.repository.history |
API for repositories using historiography.
|
Modifier and Type | Method and Description |
---|---|
Revision<N,T> |
Revisions.getLatestRevision()
Returns the latest revision of the revisions backing the wrapper independently of the order.
|
Modifier and Type | Method and Description |
---|---|
List<Revision<N,T>> |
Revisions.getContent()
Returns the content of the
Revisions instance. |
Iterator<Revision<N,T>> |
Revisions.iterator() |
Modifier and Type | Method and Description |
---|---|
int |
Revision.compareTo(Revision<N,?> that) |
Constructor and Description |
---|
Revisions(List<? extends Revision<N,T>> revisions)
Creates a new
Revisions instance containing the given revisions. |
Modifier and Type | Method and Description |
---|---|
Revision<N,T> |
RevisionRepository.findLastChangeRevision(ID id)
Returns the revision of the entity it was last changed in.
|
Modifier and Type | Method and Description |
---|---|
Page<Revision<N,T>> |
RevisionRepository.findRevisions(ID id,
Pageable pageable)
Returns a
Page of revisions for the entity with the given id. |
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.