public abstract class AbstractLazyCachableRenditionProvider extends Object implements RenditionProvider
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_NAME |
static String |
COMPLETED_KEY |
static String |
WORKERID_KEY |
Constructor and Description |
---|
AbstractLazyCachableRenditionProvider() |
Modifier and Type | Method and Description |
---|---|
List<Blob> |
render(DocumentModel doc,
RenditionDefinition def)
Generate the rendition Blobs for a given
RenditionDefinition . |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAvailable
public static final String COMPLETED_KEY
public static final String WORKERID_KEY
public static final String CACHE_NAME
public AbstractLazyCachableRenditionProvider()
public List<Blob> render(DocumentModel doc, RenditionDefinition def) throws RenditionException
RenditionProvider
RenditionDefinition
. Return is a List of Blob for bigger
flexibility (typically HTML rendition with resources)render
in interface RenditionProvider
doc
- the target DocumentModel
def
- the RenditionDefinition
to useRenditionException
Copyright © 2015 Nuxeo SA. All rights reserved.