public interface RenditionProvider
Rendition. A provider could be converter based, template based, or Automation
based| Modifier and Type | Method and Description |
|---|---|
boolean |
isAvailable(DocumentModel doc,
RenditionDefinition definition)
Test if the Rendition is available on the given DocumentModel
|
List<Blob> |
render(DocumentModel doc,
RenditionDefinition definition)
Generate the rendition Blobs for a given
RenditionDefinition. |
boolean isAvailable(DocumentModel doc, RenditionDefinition definition)
List<Blob> render(DocumentModel doc, RenditionDefinition definition) throws RenditionException
RenditionDefinition. Return is a List of Blob for bigger
flexibility (typically HTML rendition with resources)doc - the target DocumentModeldefinition - the RenditionDefinition to useRenditionExceptionCopyright © 2015 Nuxeo SA. All rights reserved.