public class LiveRendition extends LazyRendition implements Rendition
Rendition interface that is applicable for rendition created on the fly| Modifier and Type | Field and Description | 
|---|---|
protected DocumentModel | 
doc  | 
blobs, EMPTY_MARKER, ERROR_MARKER, IN_PROGRESS_MARKER, STALE_MARKERdefinition, log| Constructor and Description | 
|---|
LiveRendition(DocumentModel doc,
             RenditionDefinition definition)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected List<Blob> | 
computeRenditionBlobs()  | 
DocumentModel | 
getHostDocument()
Return the Document hosting the rendition. 
 | 
boolean | 
isStored()
Indicates if the Rendition is stored or live 
 | 
getBlob, getBlobs, isCompletedgetCmisName, getDefinition, getIcon, getKind, getLabel, getModificationDate, getName, getProviderTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlob, getBlobs, getCmisName, getIcon, getKind, getLabel, getModificationDate, getName, getProviderType, isCompletedprotected final DocumentModel doc
public LiveRendition(DocumentModel doc, RenditionDefinition definition)
public boolean isStored()
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 Renditionprotected List<Blob> computeRenditionBlobs()
computeRenditionBlobs in class LazyRenditionCopyright © 2019 Nuxeo. All rights reserved.