Package org.fcrepo.migration
Interface FedoraObjectVersionHandler
-
- All Known Implementing Classes:
ArchiveGroupHandler
public interface FedoraObjectVersionHandler
An interface for a class that processes Fedora 3 objects as an iteration of versions. The single methodprocessObjectVersions(java.lang.Iterable<org.fcrepo.migration.ObjectVersionReference>, org.fcrepo.migration.ObjectInfo)would be invoked once for an object providing the entire version history (ie. times with identifiable changes) in the Fedora 3 object starting from the creation and proceeding chronologically- Author:
- mdurbin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessObjectVersions(Iterable<ObjectVersionReference> versions, ObjectInfo objectInfo)Invoked to process a version of a Fedora 3 object.
-
-
-
Method Detail
-
processObjectVersions
void processObjectVersions(Iterable<ObjectVersionReference> versions, ObjectInfo objectInfo)
Invoked to process a version of a Fedora 3 object. All the metadata and content that changed from the previous version to the one represented by the current call is conventiently made available.- Parameters:
versions- an iterable of Objects each encapsulating everything about a single version of a Fedora 3 object.objectInfo- information about the Fedora 3 object being processed
-
-