public class DownloadBlobHolder extends AbstractBlobHolder
Modifier and Type | Field and Description |
---|---|
protected DocumentModel |
doc |
Constructor and Description |
---|
DownloadBlobHolder(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
protected String |
getBasePath() |
Blob |
getBlob()
Returns the Blob held inside the object.
|
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.
|
getBlobs, getFilePath, getHash, getMD5Digest, setBlob
protected final DocumentModel doc
public DownloadBlobHolder(DocumentModel doc)
public Serializable getProperty(String name)
BlobHolder
public Map<String,Serializable> getProperties()
BlobHolder
public Blob getBlob()
BlobHolder
getBlob
in interface BlobHolder
getBlob
in class AbstractBlobHolder
protected String getBasePath()
getBasePath
in class AbstractBlobHolder
public Calendar getModificationDate()
BlobHolder
getModificationDate
in interface BlobHolder
getModificationDate
in class AbstractBlobHolder
Copyright © 2017 Nuxeo. All rights reserved.