public class LiveRendition extends LazyRendition implements Rendition
Rendition
interface that is applicable for rendition created on the flyModifier and Type | Field and Description |
---|---|
protected DocumentModel |
doc |
blobs, EMPTY_MARKER
definition, 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, isCompleted
getCmisName, getDefinition, getIcon, getKind, getLabel, getModificationDate, getName, getProviderType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlob, getBlobs, getCmisName, getIcon, getKind, getLabel, getModificationDate, getName, getProviderType, isCompleted
protected final DocumentModel doc
public LiveRendition(DocumentModel doc, RenditionDefinition definition)
public boolean isStored()
Rendition
public DocumentModel getHostDocument()
Rendition
In 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 Rendition
protected List<Blob> computeRenditionBlobs()
computeRenditionBlobs
in class LazyRendition
Copyright © 2015 Nuxeo SA. All rights reserved.