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, toHexString
public AutomationLazyRenditionProvider()
public boolean isAvailable(DocumentModel doc, RenditionDefinition def)
RenditionProvider
protected Work getRenditionWork(String key, DocumentModel doc, RenditionDefinition def)
AbstractLazyCachableRenditionProvider
Work
that will compute the Rendition
. AbstractRenditionBuilderWork
can be used
as a base classgetRenditionWork
in class AbstractLazyCachableRenditionProvider
key
- the key used to renditiondoc
- the target DocumentModel
def
- the RenditionDefinition
Copyright © 2017 Nuxeo. All rights reserved.