Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.picture.api.adapters
Class PictureBookBlobHolder

java.lang.Object
  extended by org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
      extended by org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
          extended by org.nuxeo.ecm.platform.picture.api.adapters.PictureBookBlobHolder
All Implemented Interfaces:
BlobHolder

public class PictureBookBlobHolder
extends DocumentBlobHolder


Constructor Summary
PictureBookBlobHolder(DocumentModel doc, String xPath)
           
 
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.
 List<Blob> getBlobs(String title)
           
 String getHash()
          Returns a hash for the held blob.
 
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
getModificationDate, getProperties, getProperty, setBlob
 
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
getFilePath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PictureBookBlobHolder

public PictureBookBlobHolder(DocumentModel doc,
                             String xPath)
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.