public class StoredRendition extends AbstractRendition implements Rendition
Rendition
interface for rendition that are stored in the RepositoryModifier 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, getProviderType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCmisName, getIcon, getKind, getLabel, getModificationDate, getName, getProviderType
protected final DocumentModel stored
public StoredRendition(DocumentModel stored, RenditionDefinition definition)
public boolean isStored()
Rendition
public boolean isCompleted()
Rendition
isCompleted
in interface Rendition
public List<Blob> getBlobs()
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
Copyright © 2016 Nuxeo SA. All rights reserved.