org.nuxeo.ecm.platform.picture.api.adapters
Class PictureBookBlobHolder
java.lang.Object
org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
org.nuxeo.ecm.platform.picture.api.adapters.PictureBookBlobHolder
- All Implemented Interfaces:
- BlobHolder
public class PictureBookBlobHolder
- extends DocumentBlobHolder
Method Summary |
Blob |
getBlob()
Returns the Blob held inside the object. |
java.util.List<Blob> |
getBlobs()
Returns a list of blobs, if holder implementation supports multiple
blobs. |
java.util.List<Blob> |
getBlobs(java.lang.String title)
|
java.lang.String |
getHash()
Returns a hash for the held blob. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PictureBookBlobHolder
public PictureBookBlobHolder(DocumentModel doc,
java.lang.String xPath)
getBlob
public Blob getBlob()
throws ClientException
- Description copied from interface:
BlobHolder
- Returns the Blob held inside the object.
- Specified by:
getBlob
in interface BlobHolder
- Overrides:
getBlob
in class DocumentBlobHolder
- Throws:
ClientException
getBlobs
public java.util.List<Blob> getBlobs()
throws ClientException
- Description copied from interface:
BlobHolder
- Returns a list of blobs, if holder implementation supports multiple
blobs.
- Specified by:
getBlobs
in interface BlobHolder
- Overrides:
getBlobs
in class AbstractBlobHolder
- Throws:
ClientException
getBlobs
public java.util.List<Blob> getBlobs(java.lang.String title)
throws ClientException
- Throws:
ClientException
getHash
public java.lang.String getHash()
throws ClientException
- Description copied from interface:
BlobHolder
- Returns a hash for the held blob.
- Specified by:
getHash
in interface BlobHolder
- Overrides:
getHash
in class DocumentBlobHolder
- Throws:
ClientException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.