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
PictureBookBlobHolder
public PictureBookBlobHolder(DocumentModel doc,
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 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 DocumentBlobHolder
- Throws:
ClientException
getBlobs
public List<Blob> getBlobs(String title)
throws ClientException
- Throws:
ClientException
getHash
public 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 © 2011 Nuxeo SAS. All Rights Reserved.