Class DownloadContextBlobHolder
- java.lang.Object
-
- org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
-
- org.nuxeo.ecm.core.api.blobholder.DownloadContextBlobHolder
-
- All Implemented Interfaces:
BlobHolder
public class DownloadContextBlobHolder extends AbstractBlobHolder
- Since:
- 2021.25
-
-
Field Summary
Fields Modifier and Type Field Description protected Blob
blob
protected DocumentModel
doc
protected Map<String,Serializable>
extendedInfos
protected String
filename
protected Boolean
inline
protected String
reason
-
Constructor Summary
Constructors Constructor Description DownloadContextBlobHolder(Blob blob)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getBasePath()
Blob
getBlob()
Returns the Blob held inside the object.DocumentModel
getDocument()
Map<String,Serializable>
getExtendedInfos()
String
getFilename()
Calendar
getModificationDate()
Returns the held blob modification date.Map<String,Serializable>
getProperties()
Returns all properties as a Map.Serializable
getProperty(String name)
Returns a named property.String
getReason()
Boolean
isInline()
void
setDocument(DocumentModel doc)
void
setExtendedInfos(Map<String,Serializable> extendedInfos)
void
setFilename(String filename)
void
setInline(Boolean inline)
void
setReason(String reason)
-
Methods inherited from class org.nuxeo.ecm.core.api.blobholder.AbstractBlobHolder
getBlobs, getFilePath, getHash, getMD5Digest, setBlob
-
-
-
-
Field Detail
-
blob
protected final Blob blob
-
doc
protected DocumentModel doc
-
extendedInfos
protected Map<String,Serializable> extendedInfos
-
filename
protected String filename
-
reason
protected String reason
-
inline
protected Boolean inline
-
-
Constructor Detail
-
DownloadContextBlobHolder
public DownloadContextBlobHolder(Blob blob)
-
-
Method Detail
-
getBasePath
protected String getBasePath()
- Specified by:
getBasePath
in classAbstractBlobHolder
-
getModificationDate
public Calendar getModificationDate()
Description copied from interface:BlobHolder
Returns the held blob modification date.
-
getProperty
public Serializable getProperty(String name)
Description copied from interface:BlobHolder
Returns a named property.
-
getProperties
public Map<String,Serializable> getProperties()
Description copied from interface:BlobHolder
Returns all properties as a Map.
-
getDocument
public DocumentModel getDocument()
-
setDocument
public void setDocument(DocumentModel doc)
-
getBlob
public Blob getBlob()
Description copied from interface:BlobHolder
Returns the Blob held inside the object.
-
getFilename
public String getFilename()
-
setFilename
public void setFilename(String filename)
-
getReason
public String getReason()
-
setReason
public void setReason(String reason)
-
getExtendedInfos
public Map<String,Serializable> getExtendedInfos()
-
setExtendedInfos
public void setExtendedInfos(Map<String,Serializable> extendedInfos)
-
isInline
public Boolean isInline()
-
setInline
public void setInline(Boolean inline)
-
-