|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
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 org.nuxeo.ecm.core.api.blobholder.SimpleBlobHolder
public class SimpleBlobHolder
BlobHolder
implementation that simply wraps a detached Blob
.
Constructor Summary | |
---|---|
SimpleBlobHolder()
|
|
SimpleBlobHolder(Blob blob)
|
|
SimpleBlobHolder(List<Blob> blobs)
|
Method Summary | |
---|---|
Blob |
getBlob()
Returns the Blob held inside the object. |
List<Blob> |
getBlobs()
Returns a list of blobs, if holder implementation supports multiple blobs. |
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. |
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder |
---|
getFilePath, getHash, setBlob |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleBlobHolder()
public SimpleBlobHolder(List<Blob> blobs)
public SimpleBlobHolder(Blob blob)
Method Detail |
---|
public Blob getBlob() throws ClientException
BlobHolder
getBlob
in interface BlobHolder
getBlob
in class AbstractBlobHolder
ClientException
public List<Blob> getBlobs() throws ClientException
BlobHolder
getBlobs
in interface BlobHolder
getBlobs
in class AbstractBlobHolder
ClientException
public Calendar getModificationDate() throws ClientException
BlobHolder
getModificationDate
in interface BlobHolder
getModificationDate
in class AbstractBlobHolder
ClientException
public Serializable getProperty(String name) throws ClientException
BlobHolder
ClientException
public Map<String,Serializable> getProperties()
BlobHolder
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |