A B C D E F G H I L N O P R S T U V W 
All Classes All Packages

A

abort() - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
abort() - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Aborts the session, abandoning all changes.
ACL - org.fcrepo.storage.ocfl.InteractionModel
 
aclResource(boolean, String, String) - Static method in class org.fcrepo.storage.ocfl.PersistencePaths
Returns the paths for ACL resources.
addDigest(URI) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 

B

BASIC_CONTAINER - org.fcrepo.storage.ocfl.InteractionModel
 
build() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
builder() - Static method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
builder(ResourceHeaders) - Static method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
Builder() - Constructor for class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
Builder(ResourceHeaders) - Constructor for class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 

C

Cache<K,​V> - Interface in org.fcrepo.storage.ocfl.cache
Cache interface
CaffeineCache<K,​V> - Class in org.fcrepo.storage.ocfl.cache
In-memory cache implementation that is a wrapper around a Caffeine cache.
CaffeineCache(Cache) - Constructor for class org.fcrepo.storage.ocfl.cache.CaffeineCache
 
ChecksumMismatchException - Exception in org.fcrepo.storage.ocfl.exception
Indicates that the actual checksum of a file did not match the expectation
ChecksumMismatchException(List<String>) - Constructor for exception org.fcrepo.storage.ocfl.exception.ChecksumMismatchException
 
close() - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
close() - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSessionFactory
 
close() - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
 
close() - Method in interface org.fcrepo.storage.ocfl.OcflObjectSessionFactory
Closes the underlying OCFL repository.
close() - Method in class org.fcrepo.storage.ocfl.ResourceContent
Closes the underlying resource content stream.
commit() - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
commit() - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Commits the session, persisting all changes to a new OCFL version.
commitType(CommitType) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
commitType(CommitType) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Sets the commit behavior -- create a new version or update the mutable HEAD.
CommitType - Enum in org.fcrepo.storage.ocfl
Options for defining the behavior when performing a commit to the persistent storage layer.
containsResource(String) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
containsResource(String) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Indicates if the resource exists in the session
create(Collection<String>) - Static method in exception org.fcrepo.storage.ocfl.exception.ValidationException
 
createForObject(String, Collection<String>) - Static method in exception org.fcrepo.storage.ocfl.exception.ValidationException
 
createForResource(String, Collection<String>) - Static method in exception org.fcrepo.storage.ocfl.exception.ValidationException
 

D

DefaultHeadersValidator - Class in org.fcrepo.storage.ocfl.validation
Headers validator that supports version 1.0 of the resource headers
DefaultHeadersValidator() - Constructor for class org.fcrepo.storage.ocfl.validation.DefaultHeadersValidator
 
DefaultOcflObjectSession - Class in org.fcrepo.storage.ocfl
Default OcflObjectSession implementation.
DefaultOcflObjectSession(String, MutableOcflRepository, String, Path, ObjectReader, ObjectWriter, CommitType, Cache<String, ResourceHeaders>, Cache<String, String>, HeadersValidator, boolean) - Constructor for class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
DefaultOcflObjectSessionFactory - Class in org.fcrepo.storage.ocfl
Default OcflObjectSessionFactory implementation
DefaultOcflObjectSessionFactory(MutableOcflRepository, Path, ObjectMapper, Cache<String, ResourceHeaders>, Cache<String, String>, CommitType, String, String, String) - Constructor for class org.fcrepo.storage.ocfl.DefaultOcflObjectSessionFactory
Creates a new DefaultOcflObjectSessionFactory
deleteContentFile(ResourceHeaders) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
deleteContentFile(ResourceHeaders) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Deletes a content file from the session, and updates the associated headers.
deleteResource(String) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
deleteResource(String) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Deletes all files associated to the specified resource.
DIRECT_CONTAINER - org.fcrepo.storage.ocfl.InteractionModel
 

E

equals(Object) - Method in class org.fcrepo.storage.ocfl.OcflVersionInfo
 
equals(Object) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 

F

FCR_ACL - Static variable in class org.fcrepo.storage.ocfl.PersistencePaths
 
FCR_METADATA - Static variable in class org.fcrepo.storage.ocfl.PersistencePaths
 
fromString(String) - Static method in enum org.fcrepo.storage.ocfl.InteractionModel
 

G

get(K, Function<K, V>) - Method in interface org.fcrepo.storage.ocfl.cache.Cache
Retrieves a value from the cache.
get(K, Function<K, V>) - Method in class org.fcrepo.storage.ocfl.cache.CaffeineCache
 
get(K, Function<K, V>) - Method in class org.fcrepo.storage.ocfl.cache.NoOpCache
 
getArchivalGroupId() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getContentFilePath() - Method in class org.fcrepo.storage.ocfl.PersistencePaths
 
getContentPath() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getContentSize() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
Content size may be -1 when there is no content or the content's size is unknown
getContentStream() - Method in class org.fcrepo.storage.ocfl.ResourceContent
 
getCreated() - Method in class org.fcrepo.storage.ocfl.OcflVersionInfo
 
getCreatedBy() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getCreatedDate() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getDigests() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getExternalHandling() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getExternalUrl() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getFilename() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getHeaderFilePath() - Method in class org.fcrepo.storage.ocfl.PersistencePaths
 
getHeaders() - Method in class org.fcrepo.storage.ocfl.ResourceContent
 
getHeadersVersion() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getId() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getInteractionModel() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getLastModifiedBy() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getLastModifiedDate() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getMementoCreatedDate() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getMessage() - Method in exception org.fcrepo.storage.ocfl.exception.ChecksumMismatchException
 
getMessage() - Method in exception org.fcrepo.storage.ocfl.exception.ValidationException
 
getMimeType() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getOcflObjectId() - Method in class org.fcrepo.storage.ocfl.OcflVersionInfo
 
getParent() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getProblems() - Method in exception org.fcrepo.storage.ocfl.exception.ChecksumMismatchException
 
getProblems() - Method in exception org.fcrepo.storage.ocfl.exception.ValidationException
 
getResourceId() - Method in class org.fcrepo.storage.ocfl.OcflVersionInfo
 
getStateToken() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
getUri() - Method in enum org.fcrepo.storage.ocfl.InteractionModel
 
getVersionNumber() - Method in class org.fcrepo.storage.ocfl.OcflVersionInfo
 

H

hashCode() - Method in class org.fcrepo.storage.ocfl.OcflVersionInfo
 
hashCode() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
headerPath(String, String) - Static method in class org.fcrepo.storage.ocfl.PersistencePaths
Returns the path to the resourceId's header file.
HeadersValidator - Interface in org.fcrepo.storage.ocfl.validation
Interface for validating resource headers

I

INDIRECT_CONTAINER - org.fcrepo.storage.ocfl.InteractionModel
 
InteractionModel - Enum in org.fcrepo.storage.ocfl
Represents known interaction models.
invalidate(K) - Method in interface org.fcrepo.storage.ocfl.cache.Cache
Invalidates the key in the cache.
invalidate(K) - Method in class org.fcrepo.storage.ocfl.cache.CaffeineCache
 
invalidate(K) - Method in class org.fcrepo.storage.ocfl.cache.NoOpCache
 
invalidateAll() - Method in interface org.fcrepo.storage.ocfl.cache.Cache
Invalidate the entire cache.
invalidateAll() - Method in class org.fcrepo.storage.ocfl.cache.CaffeineCache
 
invalidateAll() - Method in class org.fcrepo.storage.ocfl.cache.NoOpCache
 
invalidateAll(Iterable<K>) - Method in interface org.fcrepo.storage.ocfl.cache.Cache
Invalidates the keys provided in the cache.
invalidateAll(Iterable<K>) - Method in class org.fcrepo.storage.ocfl.cache.CaffeineCache
 
invalidateAll(Iterable<K>) - Method in class org.fcrepo.storage.ocfl.cache.NoOpCache
 
InvalidContentException - Exception in org.fcrepo.storage.ocfl.exception
Indicates that the content provided for a resource was invalid.
InvalidContentException() - Constructor for exception org.fcrepo.storage.ocfl.exception.InvalidContentException
 
InvalidContentException(String) - Constructor for exception org.fcrepo.storage.ocfl.exception.InvalidContentException
 
InvalidContentException(String, Throwable) - Constructor for exception org.fcrepo.storage.ocfl.exception.InvalidContentException
 
InvalidContentException(Throwable) - Constructor for exception org.fcrepo.storage.ocfl.exception.InvalidContentException
 
isArchivalGroup() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
isDeleted() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
isHeaderFile(String) - Static method in class org.fcrepo.storage.ocfl.PersistencePaths
Returns true if the path is a resource header file.
isObjectRoot() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 
isOpen() - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
isOpen() - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
 

L

listVersions(String) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
listVersions(String) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
List all of the versions associated to the resource in chrolological order.

N

NEW_VERSION - org.fcrepo.storage.ocfl.CommitType
 
newSession(String) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSessionFactory
 
newSession(String) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSessionFactory
Creates a new OCFL object session for the specified OCFL object.
NON_RDF - org.fcrepo.storage.ocfl.InteractionModel
 
NON_RDF_DESCRIPTION - org.fcrepo.storage.ocfl.InteractionModel
 
nonRdfResource(String, String) - Static method in class org.fcrepo.storage.ocfl.PersistencePaths
Returns the paths for a non-RDF resource.
NoOpCache<K,​V> - Class in org.fcrepo.storage.ocfl.cache
Pass-through cache implementation that never caches.
NoOpCache() - Constructor for class org.fcrepo.storage.ocfl.cache.NoOpCache
 
NotFoundException - Exception in org.fcrepo.storage.ocfl.exception
Indicates that a resource could not be found in the underlying storage
NotFoundException() - Constructor for exception org.fcrepo.storage.ocfl.exception.NotFoundException
 
NotFoundException(String) - Constructor for exception org.fcrepo.storage.ocfl.exception.NotFoundException
 
NotFoundException(String, Throwable) - Constructor for exception org.fcrepo.storage.ocfl.exception.NotFoundException
 
NotFoundException(Throwable) - Constructor for exception org.fcrepo.storage.ocfl.exception.NotFoundException
 

O

ObjectValidator - Class in org.fcrepo.storage.ocfl.validation
Validates that OCFL objects are correctly formatted to be used by Fedora 6
ObjectValidator(MutableOcflRepository, ObjectReader) - Constructor for class org.fcrepo.storage.ocfl.validation.ObjectValidator
Creates a new object validator
ocflObjectId() - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
ocflObjectId() - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
 
OcflObjectSession - Interface in org.fcrepo.storage.ocfl
Session interface over an OCFL object.
OcflObjectSessionFactory - Interface in org.fcrepo.storage.ocfl
Factory for creating OcflObjectSessions.
OcflVersionInfo - Class in org.fcrepo.storage.ocfl
Contains OCFL version metadata for a resource version.
OcflVersionInfo(String, String, String, Instant) - Constructor for class org.fcrepo.storage.ocfl.OcflVersionInfo
 
org.fcrepo.storage.ocfl - package org.fcrepo.storage.ocfl
 
org.fcrepo.storage.ocfl.cache - package org.fcrepo.storage.ocfl.cache
 
org.fcrepo.storage.ocfl.exception - package org.fcrepo.storage.ocfl.exception
 
org.fcrepo.storage.ocfl.validation - package org.fcrepo.storage.ocfl.validation
 

P

PersistencePaths - Class in org.fcrepo.storage.ocfl
This class maps Fedora resources to locations on disk.
put(K, V) - Method in interface org.fcrepo.storage.ocfl.cache.Cache
Inserts a value into the cache.
put(K, V) - Method in class org.fcrepo.storage.ocfl.cache.CaffeineCache
 
put(K, V) - Method in class org.fcrepo.storage.ocfl.cache.NoOpCache
 

R

rdfResource(String, String) - Static method in class org.fcrepo.storage.ocfl.PersistencePaths
Returns the paths for RDF resources.
readContent(String) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
readContent(String) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Reads a resource's content.
readContent(String, String) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
readContent(String, String) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Reads a specific version of a resource's content.
readHeaders(String) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
readHeaders(String) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Reads a resource's header file.
readHeaders(String, String) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
readHeaders(String, String) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Reads a specific version of a resource's header file.
ResourceContent - Class in org.fcrepo.storage.ocfl
Encapsulates a resource's content and its headers.
ResourceContent(InputStream, ResourceHeaders) - Constructor for class org.fcrepo.storage.ocfl.ResourceContent
Creates a new instance
ResourceContent(Optional<InputStream>, ResourceHeaders) - Constructor for class org.fcrepo.storage.ocfl.ResourceContent
Creates a new instance
ResourceHeaders - Class in org.fcrepo.storage.ocfl
Resource headers contain metadata about Fedora resources in Fedora 6.
ResourceHeaders.Builder - Class in org.fcrepo.storage.ocfl
Builder for creating/mutating ResourceHeaders
ResourceHeadersVersion - Class in org.fcrepo.storage.ocfl
 
rollback() - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
rollback() - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Rolls back an already committed session, permanently removing the OCFL object version that was created by the session.
ROOT_HEADER_PATH - Static variable in class org.fcrepo.storage.ocfl.PersistencePaths
 

S

sessionId() - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
sessionId() - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
 
setDefaultCommitType(CommitType) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSessionFactory
Allows the default CommitType to be changed at run time -- useful for testing.
setHeadersValidator(HeadersValidator) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSessionFactory
Changes the headers validator implementation for TESTING purposes.
streamResourceHeaders() - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
This method is NOT currently using the ResourceHeader cache.
streamResourceHeaders() - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Returns the headers for all of the resources contained within an OCFL object.

T

toString() - Method in class org.fcrepo.storage.ocfl.OcflVersionInfo
 
toString() - Method in class org.fcrepo.storage.ocfl.ResourceHeaders
 

U

UNVERSIONED - org.fcrepo.storage.ocfl.CommitType
 
useUnsafeWrite(boolean) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSessionFactory
 
useUnsafeWrite(boolean) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSessionFactory
When unsafe writes are enabled, files are added to OCFL versions by providing the OCFL client with their digest.

V

V1_0 - Static variable in class org.fcrepo.storage.ocfl.ResourceHeadersVersion
 
validate(String, boolean) - Method in class org.fcrepo.storage.ocfl.validation.ObjectValidator
Validates that the specified OCFL object is a valid Fedora 6 object
validate(PersistencePaths, ResourceHeaders, ResourceHeaders) - Method in class org.fcrepo.storage.ocfl.validation.DefaultHeadersValidator
Validates resource headers.
validate(PersistencePaths, ResourceHeaders, ResourceHeaders) - Method in interface org.fcrepo.storage.ocfl.validation.HeadersValidator
Validates resource headers.
ValidationException - Exception in org.fcrepo.storage.ocfl.exception
Indicates that an OCFL object is not a valid Fedora 6 object.
valueOf(String) - Static method in enum org.fcrepo.storage.ocfl.CommitType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.fcrepo.storage.ocfl.InteractionModel
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.fcrepo.storage.ocfl.CommitType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.fcrepo.storage.ocfl.InteractionModel
Returns an array containing the constants of this enum type, in the order they are declared.
versionAuthor(String, String) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
versionAuthor(String, String) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Sets the author the OCFL version is attributed to.
versionCreationTimestamp(OffsetDateTime) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
versionCreationTimestamp(OffsetDateTime) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Sets the timestamp that's stamped on the OCFL version.
versionMessage(String) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
versionMessage(String) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Sets the OCFL version message.

W

withArchivalGroup(boolean) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withArchivalGroupId(String) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withContentPath(String) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withContentSize(long) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withCreatedBy(String) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withCreatedDate(Instant) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withDeleted(boolean) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withDigests(Collection<URI>) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withExternalHandling(String) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withExternalUrl(String) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withFilename(String) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withHeadersVersion(String) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withId(String) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withInteractionModel(String) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withLastModifiedBy(String) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withLastModifiedDate(Instant) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withMementoCreatedDate(Instant) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withMimeType(String) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withObjectRoot(boolean) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withParent(String) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
withStateToken(String) - Method in class org.fcrepo.storage.ocfl.ResourceHeaders.Builder
 
writeHeaders(ResourceHeaders) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
writeHeaders(ResourceHeaders) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Writes the resources headers to the session.
writeResource(ResourceHeaders, InputStream) - Method in class org.fcrepo.storage.ocfl.DefaultOcflObjectSession
 
writeResource(ResourceHeaders, InputStream) - Method in interface org.fcrepo.storage.ocfl.OcflObjectSession
Writes a resource to the session.
A B C D E F G H I L N O P R S T U V W 
All Classes All Packages