Class PictureBlobHolder
- java.lang.Object
-
- org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
-
- org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
-
- org.nuxeo.ecm.platform.picture.api.adapters.PictureBlobHolder
-
- All Implemented Interfaces:
BlobHolder
public class PictureBlobHolder extends DocumentBlobHolder
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
blobList, doc, xPath
-
-
Constructor Summary
Constructors Constructor Description PictureBlobHolder(DocumentModel doc, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobgetBlob(String title)List<Blob>getBlobs()Returns a list of blobs, if holder implementation supports multiple blobs.List<Blob>getBlobs(String... viewNames)StringgetHash()Returns a hash for the held blob.-
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.DocumentBlobHolder
asDirectBlobHolder, computeBlobList, getBasePath, getBlob, getDocument, getFullXPath, getModificationDate, getProperties, getProperty, getXpath, setBlob
-
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
getFilePath, getMD5Digest
-
-
-
-
Constructor Detail
-
PictureBlobHolder
public PictureBlobHolder(DocumentModel doc, String path)
-
-
Method Detail
-
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
-
-