Uses of Class
io.ocfl.api.model.ObjectVersionId
Packages that use ObjectVersionId
-
Uses of ObjectVersionId in io.ocfl.api
Methods in io.ocfl.api that return ObjectVersionIdModifier and TypeMethodDescriptionMutableOcflRepository.commitStagedChanges
(String objectId, VersionInfo versionInfo) Converts the staged changes in the mutable HEAD into an immutable core OCFL version that can be read by any OCFL client.OcflRepository.putObject
(ObjectVersionId objectVersionId, Path path, VersionInfo versionInfo, OcflOption... options) Adds the object rooted at the given path to the OCFL repository under the given objectVersionId.OcflRepository.replicateVersionAsHead
(ObjectVersionId objectVersionId, VersionInfo versionInfo) Creates a new head version by copying the state of the specified version.MutableOcflRepository.stageChanges
(ObjectVersionId objectId, VersionInfo versionInfo, Consumer<OcflObjectUpdater> objectUpdater) Stages changes to the mutable HEAD of the specified object.OcflRepository.updateObject
(ObjectVersionId objectVersionId, VersionInfo versionInfo, Consumer<OcflObjectUpdater> objectUpdater) Updates an existing object OR create a new object by selectively adding, removing, moving files within the object, and creating a new version that encapsulates all of the changes.Methods in io.ocfl.api with parameters of type ObjectVersionIdModifier and TypeMethodDescriptionOcflRepository.describeVersion
(ObjectVersionId objectVersionId) Returns the details about a specific version of an object.void
OcflRepository.exportVersion
(ObjectVersionId objectVersionId, Path outputPath, OcflOption... options) Copies a raw OCFL object version to the specified directory.OcflRepository.getObject
(ObjectVersionId objectVersionId) Returns the details about a specific version of an object along with lazy-loading handles to all of the files in the object.void
OcflRepository.getObject
(ObjectVersionId objectVersionId, Path outputPath) Returns the entire contents of the object at the specified version.OcflRepository.putObject
(ObjectVersionId objectVersionId, Path path, VersionInfo versionInfo, OcflOption... options) Adds the object rooted at the given path to the OCFL repository under the given objectVersionId.OcflRepository.replicateVersionAsHead
(ObjectVersionId objectVersionId, VersionInfo versionInfo) Creates a new head version by copying the state of the specified version.void
OcflRepository.rollbackToVersion
(ObjectVersionId objectVersionId) Rolls an object back to the specified version.MutableOcflRepository.stageChanges
(ObjectVersionId objectId, VersionInfo versionInfo, Consumer<OcflObjectUpdater> objectUpdater) Stages changes to the mutable HEAD of the specified object.OcflRepository.updateObject
(ObjectVersionId objectVersionId, VersionInfo versionInfo, Consumer<OcflObjectUpdater> objectUpdater) Updates an existing object OR create a new object by selectively adding, removing, moving files within the object, and creating a new version that encapsulates all of the changes. -
Uses of ObjectVersionId in io.ocfl.api.model
Methods in io.ocfl.api.model that return ObjectVersionIdModifier and TypeMethodDescriptionFileChange.getObjectVersionId()
The ObjectVersionId for the version the changed occurred inOcflObjectVersion.getObjectVersionId()
The ObjectId of the versionVersionDetails.getObjectVersionId()
The ObjectVersionId of the versionstatic ObjectVersionId
Creates an ObjectId instance that points to the HEAD version of the objectObjectVersionId.nextVersion()
Returns a new ObjectVersionId instance with an incremented version number.ObjectVersionId.previousVersion()
Returns a new ObjectVersionId instance with an decremented version number.static ObjectVersionId
Creates an ObjectId instance that points to a specific version of an objectstatic ObjectVersionId
ObjectVersionId.version
(String objectId, VersionNum versionNum) Creates an ObjectId instance that points to a specific version of an objectstatic ObjectVersionId
Creates an ObjectId instance that points to a specific version of an objectMethods in io.ocfl.api.model with parameters of type ObjectVersionIdModifier and TypeMethodDescriptionFileChange.setObjectVersionId
(ObjectVersionId objectVersionId) VersionDetails.setObjectVersionId
(ObjectVersionId objectVersionId)