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
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
blobList, doc, xPath
-
-
Constructor Summary
Constructors Constructor Description PictureBookBlobHolder(DocumentModel doc, String xPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.protected CoreSession
getSession()
-
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
asDirectBlobHolder, computeBlobList, getBasePath, getDocument, getFullXPath, getModificationDate, getProperties, getProperty, getXpath, setBlob
-
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
getFilePath, getMD5Digest
-
-
-
-
Constructor Detail
-
PictureBookBlobHolder
public PictureBookBlobHolder(DocumentModel doc, String xPath)
-
-
Method Detail
-
getBlob
public Blob getBlob()
Description copied from interface:BlobHolder
Returns the Blob held inside the object.- Specified by:
getBlob
in interfaceBlobHolder
- Overrides:
getBlob
in classDocumentBlobHolder
-
getBlobs
public List<Blob> getBlobs()
Description copied from interface:BlobHolder
Returns a list of blobs, if holder implementation supports multiple blobs.- Specified by:
getBlobs
in interfaceBlobHolder
- Overrides:
getBlobs
in classDocumentBlobHolder
-
getHash
public String getHash()
Description copied from interface:BlobHolder
Returns a hash for the held blob.- Specified by:
getHash
in interfaceBlobHolder
- Overrides:
getHash
in classDocumentBlobHolder
-
getSession
protected CoreSession getSession()
-
-