public interface BlobHolder
Blob.| Modifier and Type | Method and Description |
|---|---|
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.
|
Calendar |
getModificationDate()
Returns the held blob modification date.
|
Map<String,Serializable> |
getProperties()
Returns all properties as a Map.
|
Serializable |
getProperty(String name)
Returns a named property.
|
void |
setBlob(Blob blob)
Sets a blob in the object.
|
Blob getBlob() throws ClientException
ClientExceptionvoid setBlob(Blob blob) throws ClientException
The underlying document must be saved by the caller.
ClientExceptionString getFilePath() throws ClientException
ClientExceptionCalendar getModificationDate() throws ClientException
ClientExceptionString getHash() throws ClientException
ClientExceptionList<Blob> getBlobs() throws ClientException
ClientExceptionSerializable getProperty(String name) throws ClientException
ClientExceptionMap<String,Serializable> getProperties()
Copyright © 2011 Nuxeo SA. All Rights Reserved.