public class AutomationLazyRenditionProvider extends AbstractLazyCachableRenditionProvider
CACHE_NAME, log, WORKERID_KEY| Constructor and Description |
|---|
AutomationLazyRenditionProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected Work |
getRenditionWork(String key,
DocumentModel doc,
RenditionDefinition def)
|
boolean |
isAvailable(DocumentModel doc,
RenditionDefinition def)
Test if the Rendition is available on the given DocumentModel
|
buildRenditionKey, getDigest, getVariant, render, toHexStringpublic AutomationLazyRenditionProvider()
public boolean isAvailable(DocumentModel doc, RenditionDefinition def)
RenditionProviderprotected Work getRenditionWork(String key, DocumentModel doc, RenditionDefinition def)
AbstractLazyCachableRenditionProviderWork that will compute the Rendition. AbstractRenditionBuilderWork can be used
as a base classgetRenditionWork in class AbstractLazyCachableRenditionProviderkey - the key used to renditiondoc - the target DocumentModeldef - the RenditionDefinitionCopyright © 2016 Nuxeo SA. All rights reserved.