Class ThumbnailDocumentFactory
java.lang.Object
org.nuxeo.ecm.platform.thumbnail.factories.ThumbnailDocumentFactory
- All Implemented Interfaces:
ThumbnailFactory
Default thumbnail factory for all non folderish documents Return the main blob converted in thumbnail or get the
document big icon as a thumbnail
- Since:
- 5.7
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncomputeThumbnail
(DocumentModel doc, CoreSession session) protected Blob
getThumbnail
(DocumentModel doc, CoreSession session)
-
Constructor Details
-
ThumbnailDocumentFactory
public ThumbnailDocumentFactory()
-
-
Method Details
-
getThumbnail
- Specified by:
getThumbnail
in interfaceThumbnailFactory
-
computeThumbnail
- Specified by:
computeThumbnail
in interfaceThumbnailFactory
-
getDefaultThumbnail
-