Uses of Class
edu.wisc.library.ocfl.api.model.VersionInfo
-
Packages that use VersionInfo Package Description edu.wisc.library.ocfl.api edu.wisc.library.ocfl.api.model -
-
Uses of VersionInfo in edu.wisc.library.ocfl.api
Methods in edu.wisc.library.ocfl.api with parameters of type VersionInfo 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. -
Uses of VersionInfo in edu.wisc.library.ocfl.api.model
Methods in edu.wisc.library.ocfl.api.model that return VersionInfo Modifier and Type Method Description VersionInfoFileChange. getVersionInfo()Description of the versionVersionInfoOcflObjectVersion. getVersionInfo()Optional description of the versionVersionInfoVersionDetails. getVersionInfo()Description of the versionVersionInfoVersionInfo. setCreated(OffsetDateTime created)Sets the verison creation timestamp.VersionInfoVersionInfo. setMessage(String message)Sets the version descriptionVersionInfoVersionInfo. setUser(User user)Sets the user infoVersionInfoVersionInfo. setUser(String name, String address)Sets the user infoMethods in edu.wisc.library.ocfl.api.model with parameters of type VersionInfo Modifier and Type Method Description FileChangeFileChange. setVersionInfo(VersionInfo versionInfo)VersionDetailsVersionDetails. setVersionInfo(VersionInfo versionInfo)
-