|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
public abstract class AbstractBlobHolder
Base class for BlobHolder
implementers
Constructor Summary | |
---|---|
AbstractBlobHolder()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.core.api.blobholder.BlobHolder |
---|
getProperties, getProperty |
Constructor Detail |
---|
public AbstractBlobHolder()
Method Detail |
---|
public abstract Blob getBlob() throws ClientException
BlobHolder
getBlob
in interface BlobHolder
ClientException
public void setBlob(Blob blob) throws ClientException
BlobHolder
The underlying document must be saved by the caller.
setBlob
in interface BlobHolder
ClientException
public List<Blob> getBlobs() throws ClientException
BlobHolder
getBlobs
in interface BlobHolder
ClientException
public String getFilePath() throws ClientException
BlobHolder
getFilePath
in interface BlobHolder
ClientException
public String getHash() throws ClientException
BlobHolder
getHash
in interface BlobHolder
ClientException
public abstract Calendar getModificationDate() throws ClientException
BlobHolder
getModificationDate
in interface BlobHolder
ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |