Package org.nuxeo.ecm.platform.rendition
Interface Rendition
- All Known Implementing Classes:
AbstractRendition,LazyRendition,LiveRendition,StoredRendition
public interface Rendition
Interface hiding the actual rendition implementation and allowing for Lazy computation of the rendition blobs.
RenditionDefinition is partially wrapper in the Rendition
- Since:
- 5.6
- Author:
- Tiry
-
Method Summary
Modifier and TypeMethodDescriptiongetBlob()Returns the rendered Blob ornullif none.getBlobs()Returns the rendered Blobs ornullif none.Returns theRenditionDefinitionCMIS nameReturn the Document hosting the rendition.getIcon()Returns icon file namegetKind()Returns the King of theRenditionDefinitiongetLabel()Returns theRenditionDefinitionlabelReturns last modification date.getName()Returns theRenditionDefinitionnameReturns the type of the provider that was used to generate the renditionbooleanChecks if this rendition's computation has completed.booleanisStored()Indicates if the Rendition is stored or live
-
Method Details
-
getIcon
String getIcon()Returns icon file name -
getName
String getName()Returns theRenditionDefinitionname -
getCmisName
String getCmisName()Returns theRenditionDefinitionCMIS name- Since:
- 7.3
-
getLabel
String getLabel()Returns theRenditionDefinitionlabel -
getKind
String getKind()Returns the King of theRenditionDefinition -
getProviderType
String getProviderType()Returns the type of the provider that was used to generate the rendition -
isStored
boolean isStored()Indicates if the Rendition is stored or live -
getBlob
Blob getBlob()Returns the rendered Blob ornullif none. -
getBlobs
Returns the rendered Blobs ornullif none. -
getHostDocument
DocumentModel getHostDocument()Return the Document hosting the 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
-
getModificationDate
Calendar getModificationDate()Returns last modification date.Returns current time for live renditions.
-
isCompleted
boolean isCompleted()Checks if this rendition's computation has completed.- Since:
- 7.10
-