Class AbstractBlobHolder
java.lang.Object
org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
- All Implemented Interfaces:
BlobHolder
- Direct Known Subclasses:
DocumentBlobHolder
,DownloadBlobHolder
,DownloadContextBlobHolder
,SimpleBlobHolder
Base class for
BlobHolder
implementers-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
getBlobs()
Returns a list of blobs, if holder implementation supports multiple blobs.Returns a filesystem-like path to represent the held blob.getHash()
Returns a hash for the held blob.protected String
void
Sets a blob in the object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.ecm.core.api.blobholder.BlobHolder
getBlob, getModificationDate, getProperties, getProperty
-
Constructor Details
-
AbstractBlobHolder
public AbstractBlobHolder()
-
-
Method Details
-
setBlob
Description copied from interface:BlobHolder
Sets a blob in the object.The underlying document must be saved by the caller.
- Specified by:
setBlob
in interfaceBlobHolder
-
getBlobs
Description copied from interface:BlobHolder
Returns a list of blobs, if holder implementation supports multiple blobs.- Specified by:
getBlobs
in interfaceBlobHolder
-
getBasePath
-
getFilePath
Description copied from interface:BlobHolder
Returns a filesystem-like path to represent the held blob.- Specified by:
getFilePath
in interfaceBlobHolder
-
getHash
Description copied from interface:BlobHolder
Returns a hash for the held blob.- Specified by:
getHash
in interfaceBlobHolder
-
getMD5Digest
-