Uses of Class
io.ocfl.api.model.ObjectVersionId
-
Packages that use ObjectVersionId Package Description io.ocfl.api io.ocfl.api.model -
-
Uses of ObjectVersionId in io.ocfl.api
Methods in io.ocfl.api that return ObjectVersionId Modifier and Type Method Description ObjectVersionIdMutableOcflRepository. 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.ObjectVersionIdOcflRepository. 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.ObjectVersionIdOcflRepository. replicateVersionAsHead(ObjectVersionId objectVersionId, VersionInfo versionInfo)Creates a new head version by copying the state of the specified version.ObjectVersionIdMutableOcflRepository. stageChanges(ObjectVersionId objectId, VersionInfo versionInfo, Consumer<OcflObjectUpdater> objectUpdater)Stages changes to the mutable HEAD of the specified object.ObjectVersionIdOcflRepository. 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 ObjectVersionId Modifier and Type Method Description VersionDetailsOcflRepository. describeVersion(ObjectVersionId objectVersionId)Returns the details about a specific version of an object.voidOcflRepository. exportVersion(ObjectVersionId objectVersionId, Path outputPath, OcflOption... options)Copies a raw OCFL object version to the specified directory.OcflObjectVersionOcflRepository. 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.voidOcflRepository. getObject(ObjectVersionId objectVersionId, Path outputPath)Returns the entire contents of the object at the specified version.ObjectVersionIdOcflRepository. 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.ObjectVersionIdOcflRepository. replicateVersionAsHead(ObjectVersionId objectVersionId, VersionInfo versionInfo)Creates a new head version by copying the state of the specified version.voidOcflRepository. rollbackToVersion(ObjectVersionId objectVersionId)Rolls an object back to the specified version.ObjectVersionIdMutableOcflRepository. stageChanges(ObjectVersionId objectId, VersionInfo versionInfo, Consumer<OcflObjectUpdater> objectUpdater)Stages changes to the mutable HEAD of the specified object.ObjectVersionIdOcflRepository. 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 ObjectVersionId Modifier and Type Method Description ObjectVersionIdFileChange. getObjectVersionId()The ObjectVersionId for the version the changed occurred inObjectVersionIdOcflObjectVersion. getObjectVersionId()The ObjectId of the versionObjectVersionIdVersionDetails. getObjectVersionId()The ObjectVersionId of the versionstatic ObjectVersionIdObjectVersionId. head(String objectId)Creates an ObjectId instance that points to the HEAD version of the objectObjectVersionIdObjectVersionId. nextVersion()Returns a new ObjectVersionId instance with an incremented version number.ObjectVersionIdObjectVersionId. previousVersion()Returns a new ObjectVersionId instance with an decremented version number.static ObjectVersionIdObjectVersionId. version(String objectId, int versionNum)Creates an ObjectId instance that points to a specific version of an objectstatic ObjectVersionIdObjectVersionId. version(String objectId, VersionNum versionNum)Creates an ObjectId instance that points to a specific version of an objectstatic ObjectVersionIdObjectVersionId. version(String objectId, String versionNum)Creates an ObjectId instance that points to a specific version of an objectMethods in io.ocfl.api.model with parameters of type ObjectVersionId Modifier and Type Method Description FileChangeFileChange. setObjectVersionId(ObjectVersionId objectVersionId)VersionDetailsVersionDetails. setObjectVersionId(ObjectVersionId objectVersionId)
-