public class ThumbnailRenditionProvider extends Object implements RenditionProvider
| Constructor and Description | 
|---|
ThumbnailRenditionProvider()  | 
| 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. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVariantpublic ThumbnailRenditionProvider()
public boolean isAvailable(DocumentModel doc, RenditionDefinition definition)
RenditionProviderisAvailable in interface RenditionProviderpublic List<Blob> render(DocumentModel doc, RenditionDefinition definition)
RenditionProviderRenditionDefinition. Return is a List of Blob for bigger
 flexibility (typically HTML rendition with resources)render in interface RenditionProviderdoc - the target DocumentModeldefinition - the RenditionDefinition to useCopyright © 2019 Nuxeo. All rights reserved.