public class StoredRendition extends AbstractRendition implements Rendition
Rendition interface for rendition that are
stored in the Repository| Constructor and Description |
|---|
StoredRendition(DocumentModel stored,
RenditionDefinition definition) |
| Modifier and Type | Method and Description |
|---|---|
Blob |
getBlob()
Return rendered Blob
|
List<Blob> |
getBlobs()
Return rendered Blobs
|
DocumentModel |
getHostDocument()
Return the Document hosting the rendition.
|
boolean |
isStored()
Indicates if the Rendition is stored or live
|
getIcon, getKind, getLabel, getModificationDate, getName, getProviderTypeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIcon, getKind, getLabel, getModificationDate, getName, getProviderTypepublic StoredRendition(DocumentModel stored, RenditionDefinition definition)
public boolean isStored()
Renditionpublic Blob getBlob() throws RenditionException
RenditiongetBlob in interface RenditionRenditionExceptionpublic List<Blob> getBlobs() throws RenditionException
RenditiongetBlobs in interface RenditionRenditionExceptionpublic 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 © 2014 Nuxeo SA. All Rights Reserved.