Class DownloadBlobHolder
- java.lang.Object
-
- org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
-
- org.nuxeo.ecm.platform.rendition.adapter.DownloadBlobHolder
-
- All Implemented Interfaces:
BlobHolder
public class DownloadBlobHolder extends AbstractBlobHolder
Blob holder able to return the blob of a document default rendition.- Since:
- 9.3
- See Also:
RenditionService.getDefaultRendition(DocumentModel, String, Map)
-
-
Field Summary
Fields Modifier and Type Field Description protected DocumentModeldoc
-
Constructor Summary
Constructors Constructor Description DownloadBlobHolder(DocumentModel doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetBasePath()BlobgetBlob()Returns the Blob held inside the object.CalendargetModificationDate()Returns the held blob modification date.Map<String,Serializable>getProperties()Returns all properties as a Map.SerializablegetProperty(String name)Returns a named property.-
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
getBlobs, getFilePath, getHash, getMD5Digest, setBlob
-
-
-
-
Field Detail
-
doc
protected final DocumentModel doc
-
-
Constructor Detail
-
DownloadBlobHolder
public DownloadBlobHolder(DocumentModel doc)
-
-
Method Detail
-
getProperty
public Serializable getProperty(String name)
Description copied from interface:BlobHolderReturns a named property.
-
getProperties
public Map<String,Serializable> getProperties()
Description copied from interface:BlobHolderReturns all properties as a Map.
-
getBlob
public Blob getBlob()
Description copied from interface:BlobHolderReturns the Blob held inside the object.
-
getBasePath
protected String getBasePath()
- Specified by:
getBasePathin classAbstractBlobHolder
-
getModificationDate
public Calendar getModificationDate()
Description copied from interface:BlobHolderReturns the held blob modification date.
-
-