Class RenderableDocument
java.lang.Object
org.nuxeo.ecm.platform.rendition.adapter.RenderableDocument
- All Implemented Interfaces:
Renderable
Default implementation for
Renderable interface.
This is a simple wrapper around the RenditionService in the context of a given DocumentModel
- Author:
- Tiry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<RenditionDefinition> protected final DocumentModel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturnsRenditionDefinitionthat are available on the underlying objectprotected RenditiongetRenditionByKind(String kind) Retrieve theRenditionby it's king (first match rendition is returned)getRenditionByName(String name) Retrieve theRenditionby it's name
-
Field Details
-
doc
-
defs
-
-
Constructor Details
-
RenderableDocument
-
-
Method Details
-
getAvailableRenditionDefinitions
Description copied from interface:RenderableReturnsRenditionDefinitionthat are available on the underlying object- Specified by:
getAvailableRenditionDefinitionsin interfaceRenderable
-
getRenditionByName
Description copied from interface:RenderableRetrieve theRenditionby it's name- Specified by:
getRenditionByNamein interfaceRenderable
-
getRenditionByKind
Description copied from interface:RenderableRetrieve theRenditionby it's king (first match rendition is returned)- Specified by:
getRenditionByKindin interfaceRenderable
-
getRendition
-