Package org.nuxeo.ecm.platform.rendition
Interface Rendition
-
- All Known Implementing Classes:
AbstractRendition,LazyRendition,LiveRendition,StoredRendition
public interface RenditionInterface 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlobgetBlob()Returns the rendered Blob ornullif none.List<Blob>getBlobs()Returns the rendered Blobs ornullif none.StringgetCmisName()Returns theRenditionDefinitionCMIS nameDocumentModelgetHostDocument()Return the Document hosting the rendition.StringgetIcon()Returns icon file nameStringgetKind()Returns the King of theRenditionDefinitionStringgetLabel()Returns theRenditionDefinitionlabelCalendargetModificationDate()Returns last modification date.StringgetName()Returns theRenditionDefinitionnameStringgetProviderType()Returns the type of the provider that was used to generate the renditionbooleanisCompleted()Checks if this rendition's computation has completed.booleanisStored()Indicates if the Rendition is stored or live
-
-
-
Method Detail
-
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.
-
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
-
-