A B C D E F G H I L N O P R S T U V W
All Classes All Packages
All Classes All Packages
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
- 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
D
- DefaultOcflObjectSession - Class in org.fcrepo.storage.ocfl
-
Default OcflObjectSession implementation.
- DefaultOcflObjectSession(String, MutableOcflRepository, String, Path, ObjectReader, ObjectWriter, CommitType, Cache<String, ResourceHeaders>) - 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>, CommitType, String, String, String) - Constructor for class org.fcrepo.storage.ocfl.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_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
- 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
- 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
- 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
- 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.
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
- InvalidContentException - Exception in org.fcrepo.storage.ocfl
-
Indicates that the content provided for a resource was invalid.
- InvalidContentException() - Constructor for exception org.fcrepo.storage.ocfl.InvalidContentException
- InvalidContentException(String) - Constructor for exception org.fcrepo.storage.ocfl.InvalidContentException
- InvalidContentException(String, Throwable) - Constructor for exception org.fcrepo.storage.ocfl.InvalidContentException
- InvalidContentException(Throwable) - Constructor for exception org.fcrepo.storage.ocfl.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
-
Indicates that a resource could not be found in the underlying storage
- NotFoundException() - Constructor for exception org.fcrepo.storage.ocfl.NotFoundException
- NotFoundException(String) - Constructor for exception org.fcrepo.storage.ocfl.NotFoundException
- NotFoundException(String, Throwable) - Constructor for exception org.fcrepo.storage.ocfl.NotFoundException
- NotFoundException(Throwable) - Constructor for exception org.fcrepo.storage.ocfl.NotFoundException
O
- 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
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
- 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.
- 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
V
- 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
- 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
- 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
- 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.
All Classes All Packages