Uses of Class
edu.wisc.library.ocfl.core.model.Inventory
-
-
Uses of Inventory in edu.wisc.library.ocfl.core
Methods in edu.wisc.library.ocfl.core that return Inventory Modifier and Type Method Description protected InventoryDefaultOcflRepository. buildNewInventory(InventoryUpdater inventoryUpdater, VersionInfo versionInfo)protected InventoryDefaultOcflRepository. createStubInventory(ObjectVersionId objectId)protected InventoryDefaultOcflRepository. loadInventory(ObjectVersionId objectId)protected InventoryDefaultOcflRepository. requireInventory(ObjectVersionId objectId)protected InventoryDefaultOcflRepository. writeInventory(Inventory inventory, Path stagingDir)Methods in edu.wisc.library.ocfl.core with parameters of type Inventory Modifier and Type Method Description protected voidDefaultOcflRepository. enforceObjectVersionForUpdate(ObjectVersionId objectId, Inventory inventory)static StringObjectPaths. inventorySidecarPath(String directory, Inventory inventory)Path to an inventory sidecar file within the given directorystatic PathObjectPaths. inventorySidecarPath(Path directory, Inventory inventory)Path to an inventory sidecar file within the given directorystatic StringObjectPaths. mutableHeadInventorySidecarPath(String objectRootPath, Inventory inventory)Path to an inventory sidecar file within the given directorystatic ObjectPaths.ObjectRootObjectPaths. objectRoot(Inventory inventory)Creates a new ObjectRoot objectprotected PathDefaultOcflRepository. resolveContentDir(Inventory inventory, Path parent)protected InventoryDefaultOcflRepository. writeInventory(Inventory inventory, Path stagingDir)protected voidDefaultOcflRepository. writeNewVersion(Inventory inventory, Path stagingDir)Method parameters in edu.wisc.library.ocfl.core with type arguments of type Inventory Modifier and Type Method Description OcflRepositoryBuilderOcflRepositoryBuilder. inventoryCache(Cache<String,Inventory> inventoryCache)Used to cache deserialized inventories.Constructors in edu.wisc.library.ocfl.core with parameters of type Inventory Constructor Description DefaultOcflObjectUpdater(Inventory inventory, InventoryUpdater inventoryUpdater, Path stagingDir, AddFileProcessor addFileProcessor) -
Uses of Inventory in edu.wisc.library.ocfl.core.db
Methods in edu.wisc.library.ocfl.core.db with parameters of type Inventory Modifier and Type Method Description voidBaseObjectDetailsDatabase. addObjectDetails(Inventory inventory, String inventoryDigest, byte[] inventoryBytes)Adds ObjectDetails to the database.voidObjectDetailsDatabase. addObjectDetails(Inventory inventory, String inventoryDigest, byte[] inventoryBytes)Adds ObjectDetails to the database.voidBaseObjectDetailsDatabase. updateObjectDetails(Inventory inventory, String inventoryDigest, Path inventoryFile, Runnable runnable)Updates existing ObjectDetails in the database.voidObjectDetailsDatabase. updateObjectDetails(Inventory inventory, String inventoryDigest, Path inventoryFile, Runnable runnable)Updates existing ObjectDetails in the database. -
Uses of Inventory in edu.wisc.library.ocfl.core.inventory
Methods in edu.wisc.library.ocfl.core.inventory that return Inventory Modifier and Type Method Description InventoryInventoryUpdater. buildNewInventory(OffsetDateTime createdTimestamp, VersionInfo versionInfo)static InventoryMutableHeadInventoryCommitter. commit(Inventory original, OffsetDateTime createdTimestamp, VersionInfo versionInfo)Converts a mutable HEAD version into a regular OCFL version.InventoryInventoryMapper. read(String objectRootPath, DigestAlgorithm digestAlgorithm, InputStream inputStream)InventoryInventoryMapper. read(String objectRootPath, DigestAlgorithm digestAlgorithm, Path path)InventoryInventoryMapper. readMutableHead(String objectRootPath, RevisionNum revisionNum, DigestAlgorithm digestAlgorithm, InputStream inputStream)InventoryInventoryMapper. readMutableHead(String objectRootPath, RevisionNum revisionNum, DigestAlgorithm digestAlgorithm, Path path)InventoryInventoryMapper. readMutableHeadNoDigest(String objectRootPath, RevisionNum revisionNum, InputStream inputStream)InventoryInventoryMapper. readMutableHeadNoDigest(String objectRootPath, RevisionNum revisionNum, Path path)InventoryInventoryMapper. readNoDigest(String objectRootPath, InputStream inputStream)InventoryInventoryMapper. readNoDigest(String objectRootPath, Path path)Methods in edu.wisc.library.ocfl.core.inventory with parameters of type Inventory Modifier and Type Method Description InventoryUpdaterInventoryUpdater.Builder. buildBlankState(Inventory inventory)Constructs a new InventoryUpdater that does NOT copy over the state from the previous version.InventoryUpdaterInventoryUpdater.Builder. buildCopyState(Inventory inventory)Constructs a new InventoryUpdater that copies over the state from the previous version.InventoryUpdaterInventoryUpdater.Builder. buildCopyState(Inventory inventory, VersionNum versionNum)Constructs a new InventoryUpdater that copies over the state from a previous version.InventoryUpdaterInventoryUpdater.Builder. buildCopyStateMutable(Inventory inventory)Constructs a new InventoryUpdater that copies over the state from the previous version, and creates a mutable HEAD version.static InventoryMutableHeadInventoryCommitter. commit(Inventory original, OffsetDateTime createdTimestamp, VersionInfo versionInfo)Converts a mutable HEAD version into a regular OCFL version.voidInventoryMapper. write(OutputStream outputStream, Inventory inventory)voidInventoryMapper. write(Path destination, Inventory inventory)static voidSidecarMapper. writeSidecar(Inventory inventory, String digest, Path dstDirectory) -
Uses of Inventory in edu.wisc.library.ocfl.core.model
Methods in edu.wisc.library.ocfl.core.model that return Inventory Modifier and Type Method Description InventoryInventory.JacksonBuilder. build()InventoryInventoryBuilder. build()static InventoryInventory. stubInventory(String id, OcflConfig config, String objectRootPath)Creates a stub inventory that is useful when creating new objects.Constructors in edu.wisc.library.ocfl.core.model with parameters of type Inventory Constructor Description InventoryBuilder(Inventory original)Used to construct a newInventorythat's based on an existing inventory. -
Uses of Inventory in edu.wisc.library.ocfl.core.path
Methods in edu.wisc.library.ocfl.core.path with parameters of type Inventory Modifier and Type Method Description ContentPathMapperContentPathMapper.Builder. buildMutableVersion(Inventory inventory)ContentPathMapperContentPathMapper.Builder. buildStandardVersion(Inventory inventory) -
Uses of Inventory in edu.wisc.library.ocfl.core.storage
Methods in edu.wisc.library.ocfl.core.storage that return Inventory Modifier and Type Method Description InventoryCachingOcflStorage. loadInventory(String objectId)If the inventory is cached, it's returned immediately.InventoryDefaultOcflStorage. loadInventory(String objectId)Returns a verified copy of the most recent object inventory.InventoryObjectDetailsDbOcflStorage. loadInventory(String objectId)If the object is stored in the database with its inventory, then the inventory is loaded from there.InventoryOcflStorage. loadInventory(String objectId)Returns a verified copy of the most recent object inventory.Methods in edu.wisc.library.ocfl.core.storage with parameters of type Inventory Modifier and Type Method Description voidCachingOcflStorage. commitMutableHead(Inventory oldInventory, Inventory newInventory, Path stagingDir)Moves the mutable HEAD of any object into the object root and into an immutable version.voidDefaultOcflStorage. commitMutableHead(Inventory oldInventory, Inventory newInventory, Path stagingDir)Moves the mutable HEAD of any object into the object root and into an immutable version.voidObjectDetailsDbOcflStorage. commitMutableHead(Inventory oldInventory, Inventory newInventory, Path stagingDir)Moves the mutable HEAD of any object into the object root and into an immutable version.voidOcflStorage. commitMutableHead(Inventory oldInventory, Inventory newInventory, Path stagingDir)Moves the mutable HEAD of any object into the object root and into an immutable version.Map<String,OcflFileRetriever>CachingOcflStorage. getObjectStreams(Inventory inventory, VersionNum versionNum)Returns a map ofOcflFileRetrieverobjects that are used to lazy-load object files.Map<String,OcflFileRetriever>DefaultOcflStorage. getObjectStreams(Inventory inventory, VersionNum versionNum)Returns a map ofOcflFileRetrieverobjects that are used to lazy-load object files.Map<String,OcflFileRetriever>ObjectDetailsDbOcflStorage. getObjectStreams(Inventory inventory, VersionNum versionNum)Returns a map ofOcflFileRetrieverobjects that are used to lazy-load object files.Map<String,OcflFileRetriever>OcflStorage. getObjectStreams(Inventory inventory, VersionNum versionNum)Returns a map ofOcflFileRetrieverobjects that are used to lazy-load object files.voidCachingOcflStorage. reconstructObjectVersion(Inventory inventory, VersionNum versionNum, Path stagingDir)Reconstructs a complete object at the specified version in the stagingDir.voidDefaultOcflStorage. reconstructObjectVersion(Inventory inventory, VersionNum versionNum, Path stagingDir)Reconstructs a complete object at the specified version in the stagingDir.voidObjectDetailsDbOcflStorage. reconstructObjectVersion(Inventory inventory, VersionNum versionNum, Path stagingDir)Reconstructs a complete object at the specified version in the stagingDir.voidOcflStorage. reconstructObjectVersion(Inventory inventory, VersionNum versionNum, Path stagingDir)Reconstructs a complete object at the specified version in the stagingDir.voidCachingOcflStorage. rollbackToVersion(Inventory inventory, VersionNum versionNum)Sets the head object version to the specified version by reinstating that version's inventory into the object root, and purging all intermediary versions.voidDefaultOcflStorage. rollbackToVersion(Inventory inventory, VersionNum versionNum)Sets the head object version to the specified version by reinstating that version's inventory into the object root, and purging all intermediary versions.voidObjectDetailsDbOcflStorage. rollbackToVersion(Inventory inventory, VersionNum versionNum)Sets the head object version to the specified version by reinstating that version's inventory into the object root, and purging all intermediary versions.voidOcflStorage. rollbackToVersion(Inventory inventory, VersionNum versionNum)Sets the head object version to the specified version by reinstating that version's inventory into the object root, and purging all intermediary versions.voidCachingOcflStorage. storeNewVersion(Inventory inventory, Path stagingDir)Stores a new version of an object and writes the inventory to the cache.voidDefaultOcflStorage. storeNewVersion(Inventory inventory, Path stagingDir)Persists a fully composed object version.voidObjectDetailsDbOcflStorage. storeNewVersion(Inventory inventory, Path stagingDir)Writes the new object version to the underlying storage within a transaction that updates the object details state within the database.voidOcflStorage. storeNewVersion(Inventory inventory, Path stagingDir)Persists a fully composed object version.Constructor parameters in edu.wisc.library.ocfl.core.storage with type arguments of type Inventory Constructor Description CachingOcflStorage(Cache<String,Inventory> inventoryCache, OcflStorage delegate) -
Uses of Inventory in edu.wisc.library.ocfl.core.util
Methods in edu.wisc.library.ocfl.core.util with parameters of type Inventory Modifier and Type Method Description FileChangeHistoryResponseMapper. fileChangeHistory(Inventory inventory, String logicalPath)ObjectDetailsResponseMapper. mapInventory(Inventory inventory)VersionDetailsResponseMapper. mapVersion(Inventory inventory, VersionNum versionNum, Version version) -
Uses of Inventory in edu.wisc.library.ocfl.core.validation
Methods in edu.wisc.library.ocfl.core.validation that return Inventory Modifier and Type Method Description static InventoryInventoryValidator. validateShallow(Inventory inventory)Validates that anInventorymeets the minimum requirements to be serialized as valid OCFL inventory.Methods in edu.wisc.library.ocfl.core.validation with parameters of type Inventory Modifier and Type Method Description static voidInventoryValidator. validateCompatibleInventories(Inventory currentInventory, Inventory previousInventory)Validates that the currentInventory is a valid next inventory state from the previousInventory.static InventoryInventoryValidator. validateShallow(Inventory inventory)Validates that anInventorymeets the minimum requirements to be serialized as valid OCFL inventory.static voidInventoryValidator. validateVersionStates(Inventory currentInventory, Inventory previousInventory)Validates that the two inventories contain the same version states, excluding the version in the current that is not in the previous.
-