Class ThumbnailRenditionProvider
java.lang.Object
org.nuxeo.ecm.platform.thumbnail.rendition.ThumbnailRenditionProvider
- All Implemented Interfaces:
 RenditionProvider
- Since:
 - 7.2
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanisAvailable(DocumentModel doc, RenditionDefinition definition) Test if the Rendition is available on the given DocumentModelrender(DocumentModel doc, RenditionDefinition definition) Generate the rendition Blobs for a givenRenditionDefinition.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.platform.rendition.extension.RenditionProvider
getVariant 
- 
Constructor Details
- 
ThumbnailRenditionProvider
public ThumbnailRenditionProvider() 
 - 
 - 
Method Details
- 
isAvailable
Description copied from interface:RenditionProviderTest if the Rendition is available on the given DocumentModel- Specified by:
 isAvailablein interfaceRenditionProvider
 - 
render
Description copied from interface:RenditionProviderGenerate the rendition Blobs for a givenRenditionDefinition. Return is a List of Blob for bigger flexibility (typically HTML rendition with resources)- Specified by:
 renderin interfaceRenditionProvider- Parameters:
 doc- the targetDocumentModeldefinition- theRenditionDefinitionto use- Returns:
 - The list of Blobs
 
 
 -