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 theRendition
interface that mainly wrapps theRenditionDefinition
- Author:
- Tiry
-
-
Field Summary
Fields Modifier and Type Field Description protected RenditionDefinition
definition
protected static Log
log
-
Constructor Summary
Constructors Constructor Description AbstractRendition(RenditionDefinition definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCmisName()
Returns theRenditionDefinition
CMIS nameprotected RenditionDefinition
getDefinition()
String
getIcon()
Returns icon file nameString
getKind()
Returns the King of theRenditionDefinition
String
getLabel()
Returns theRenditionDefinition
labelCalendar
getModificationDate()
Returns last modification date.String
getName()
Returns theRenditionDefinition
nameString
getProviderType()
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:Rendition
Returns theRenditionDefinition
name
-
getCmisName
public String getCmisName()
Description copied from interface:Rendition
Returns theRenditionDefinition
CMIS name- Specified by:
getCmisName
in interfaceRendition
-
getLabel
public String getLabel()
Description copied from interface:Rendition
Returns theRenditionDefinition
label
-
getKind
public String getKind()
Description copied from interface:Rendition
Returns the King of theRenditionDefinition
-
getDefinition
protected RenditionDefinition getDefinition()
-
getModificationDate
public Calendar getModificationDate()
Description copied from interface:Rendition
Returns last modification date.Returns current time for live renditions.
- Specified by:
getModificationDate
in interfaceRendition
-
getProviderType
public String getProviderType()
Description copied from interface:Rendition
Returns the type of the provider that was used to generate the rendition- Specified by:
getProviderType
in interfaceRendition
-
-