public interface BlobProvider
Blobs, which knows how to create them and fetch their content and additional
information.| Modifier and Type | Method and Description |
|---|---|
ManagedBlob |
createManagedBlob(String repositoryName,
BlobManager.BlobInfo blobInfo,
Document doc)
Creates a managed blob.
|
BlobManager.BlobInfo |
getBlobInfo(String repositoryName,
Blob blob,
Document doc)
Gets information about a
Blob. |
ManagedBlob createManagedBlob(String repositoryName, BlobManager.BlobInfo blobInfo, Document doc) throws IOException
Called to retrieve a managed blob from storage.
repositoryName - the repository nameblobInfo - the blob informationdoc - the document to which this blob belongsIOExceptionBlobManager.BlobInfo getBlobInfo(String repositoryName, Blob blob, Document doc) throws IOException
Blob.
Called to store a user-created blob.
repositoryName - the repository nameblob - the blobdoc - the document to which this blob belongsIOExceptionCopyright © 2015 Nuxeo SA. All rights reserved.