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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringgetBlobs()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 StringvoidSets a blob in the object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:BlobHolderSets a blob in the object.The underlying document must be saved by the caller.
- Specified by:
setBlobin interfaceBlobHolder
-
getBlobs
Description copied from interface:BlobHolderReturns a list of blobs, if holder implementation supports multiple blobs.- Specified by:
getBlobsin interfaceBlobHolder
-
getBasePath
-
getFilePath
Description copied from interface:BlobHolderReturns a filesystem-like path to represent the held blob.- Specified by:
getFilePathin interfaceBlobHolder
-
getHash
Description copied from interface:BlobHolderReturns a hash for the held blob.- Specified by:
getHashin interfaceBlobHolder
-
getMD5Digest
-