Nuxeo Enterprise Platform 5.4

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, java.lang.String xPath)
           
 
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 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,
                             java.lang.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 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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.