Class AbstractRendition
- java.lang.Object
-
- org.nuxeo.ecm.platform.rendition.impl.AbstractRendition
-
- All Implemented Interfaces:
Rendition
- Direct Known Subclasses:
LazyRendition,StoredRendition
public abstract class AbstractRendition extends Object implements Rendition
Base implementation of theRenditioninterface that mainly wrapps theRenditionDefinition- Author:
- Tiry
-
-
Field Summary
Fields Modifier and Type Field Description protected RenditionDefinitiondefinitionprotected static Loglog
-
Constructor Summary
Constructors Constructor Description AbstractRendition(RenditionDefinition definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCmisName()Returns theRenditionDefinitionCMIS nameprotected RenditionDefinitiongetDefinition()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 rendition-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.platform.rendition.Rendition
getBlob, getBlobs, getHostDocument, isCompleted, isStored
-
-
-
-
Field Detail
-
definition
protected final RenditionDefinition definition
-
-
Constructor Detail
-
AbstractRendition
public AbstractRendition(RenditionDefinition definition)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:RenditionReturns theRenditionDefinitionname
-
getCmisName
public String getCmisName()
Description copied from interface:RenditionReturns theRenditionDefinitionCMIS name- Specified by:
getCmisNamein interfaceRendition
-
getLabel
public String getLabel()
Description copied from interface:RenditionReturns theRenditionDefinitionlabel
-
getKind
public String getKind()
Description copied from interface:RenditionReturns the King of theRenditionDefinition
-
getDefinition
protected RenditionDefinition getDefinition()
-
getModificationDate
public Calendar getModificationDate()
Description copied from interface:RenditionReturns last modification date.Returns current time for live renditions.
- Specified by:
getModificationDatein interfaceRendition
-
getProviderType
public String getProviderType()
Description copied from interface:RenditionReturns the type of the provider that was used to generate the rendition- Specified by:
getProviderTypein interfaceRendition
-
-