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 BlobgetBlob()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)StringgetHash()Returns a hash for the held blob.protected CoreSessiongetSession()-
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:BlobHolderReturns the Blob held inside the object.- Specified by:
getBlobin interfaceBlobHolder- Overrides:
getBlobin classDocumentBlobHolder
-
getBlobs
public List<Blob> getBlobs()
Description copied from interface:BlobHolderReturns a list of blobs, if holder implementation supports multiple blobs.- Specified by:
getBlobsin interfaceBlobHolder- Overrides:
getBlobsin classDocumentBlobHolder
-
getHash
public String getHash()
Description copied from interface:BlobHolderReturns a hash for the held blob.- Specified by:
getHashin interfaceBlobHolder- Overrides:
getHashin classDocumentBlobHolder
-
getSession
protected CoreSession getSession()
-
-