Uses of Class
org.springframework.data.history.Revision
Packages that use Revision
Package
Description
Basic interfaces and value objects for histography API.
API for repositories using historiography.
-
Uses of Revision in org.springframework.data.history
Methods in org.springframework.data.history that return RevisionModifier 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.Methods in org.springframework.data.history that return types with arguments of type RevisionModifier and TypeMethodDescriptionRevisions.getContent()
Returns the content of theRevisions
instance.Revisions.iterator()
Methods in org.springframework.data.history with parameters of type RevisionMethod parameters in org.springframework.data.history with type arguments of type Revision -
Uses of Revision in org.springframework.data.repository.history
Methods in org.springframework.data.repository.history that return types with arguments of type RevisionModifier 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.