public class LiveRendition extends LazyRendition implements Rendition
Rendition interface that is applicable for rendition created on the fly| Constructor and Description | 
|---|
LiveRendition(DocumentModel doc,
             RenditionDefinition definition)  | 
| Modifier and Type | Method and Description | 
|---|---|
DocumentModel | 
getHostDocument()
Return the Document hosting the rendition. 
 | 
boolean | 
isStored()
Indicates if the Rendition is stored or live 
 | 
getBlob, getBlobsgetIcon, getKind, getLabel, getModificationDate, getName, getProviderTypeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlob, getBlobs, getIcon, getKind, getLabel, getModificationDate, getName, getProviderTypepublic 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 RenditionCopyright © 2015 Nuxeo SA. All rights reserved.