public class StoredRendition extends AbstractRendition implements Rendition
Rendition interface for rendition that are stored in the Repository| Modifier and Type | Field and Description |
|---|---|
protected DocumentModel |
stored |
definition, log| Constructor and Description |
|---|
StoredRendition(DocumentModel stored,
RenditionDefinition definition) |
| Modifier and Type | Method and Description |
|---|---|
Blob |
getBlob()
Returns rendered Blob
|
List<Blob> |
getBlobs()
Returns rendered Blobs
|
DocumentModel |
getHostDocument()
Return the Document hosting the rendition.
|
boolean |
isCompleted()
Checks if this rendition's computation has completed.
|
boolean |
isStored()
Indicates if the Rendition is stored or live
|
getCmisName, getDefinition, getIcon, getKind, getLabel, getModificationDate, getName, getProviderTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCmisName, getIcon, getKind, getLabel, getModificationDate, getName, getProviderTypeprotected final DocumentModel stored
public StoredRendition(DocumentModel stored, RenditionDefinition definition)
public boolean isStored()
Renditionpublic boolean isCompleted()
RenditionisCompleted in interface Renditionpublic List<Blob> getBlobs()
Renditionpublic DocumentModel getHostDocument()
RenditionIn case of a Live rendition it will be the target document and in case of stored Rendition it will be the Rendition document it self
getHostDocument in interface RenditionCopyright © 2018 Nuxeo. All rights reserved.