Uses of Class
org.springframework.data.history.Revision
Package
Description
Basic interfaces and value objects for histography API.
API for repositories using historiography.
-
Uses of Revision in org.springframework.data.history
Modifier and TypeMethodDescriptionRevisions.getLatestRevision()
Returns the latest revision of the revisions backing the wrapper independently of the order.static <N extends Number & Comparable<N>,
T>
Revision<N,T> Revision.of
(RevisionMetadata<N> metadata, T entity) Creates a newRevision
for the givenRevisionMetadata
and entity.Modifier and TypeMethodDescriptionRevisions.getContent()
Returns the content of theRevisions
instance.Revisions.iterator()
-
Uses of Revision in org.springframework.data.repository.history
Modifier and TypeMethodDescriptionRevisionRepository.findLastChangeRevision
(ID id) Returns the revision of the entity it was last changed in.RevisionRepository.findRevision
(ID id, N revisionNumber) Returns the entity with the given ID in the given revision number.RevisionRepository.findRevisions
(ID id, Pageable pageable) Returns aPage
of revisions for the entity with the given id.