public abstract class AbstractBlobHolder extends Object implements BlobHolder
BlobHolder implementers| Constructor and Description |
|---|
AbstractBlobHolder() |
| Modifier and Type | Method and Description |
|---|---|
abstract Blob |
getBlob()
Returns the Blob held inside the object.
|
List<Blob> |
getBlobs()
Returns a list of blobs, if holder implementation supports multiple
blobs.
|
String |
getFilePath()
Returns a filesystem-like path to represent the held blob.
|
String |
getHash()
Returns a hash for the held blob.
|
abstract Calendar |
getModificationDate()
Returns the held blob modification date.
|
void |
setBlob(Blob blob)
Sets a blob in the object.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperties, getPropertypublic abstract Blob getBlob() throws ClientException
BlobHoldergetBlob in interface BlobHolderClientExceptionpublic void setBlob(Blob blob) throws ClientException
BlobHolderThe underlying document must be saved by the caller.
setBlob in interface BlobHolderClientExceptionpublic List<Blob> getBlobs() throws ClientException
BlobHoldergetBlobs in interface BlobHolderClientExceptionpublic String getFilePath() throws ClientException
BlobHoldergetFilePath in interface BlobHolderClientExceptionpublic String getHash() throws ClientException
BlobHoldergetHash in interface BlobHolderClientExceptionpublic abstract Calendar getModificationDate() throws ClientException
BlobHoldergetModificationDate in interface BlobHolderClientExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.