public class ThumbnailDocumentFactory extends Object implements ThumbnailFactory
Constructor and Description |
---|
ThumbnailDocumentFactory() |
Modifier and Type | Method and Description |
---|---|
Blob |
computeThumbnail(DocumentModel doc,
CoreSession session) |
protected Blob |
getDefaultThumbnail(DocumentModel doc) |
Blob |
getThumbnail(DocumentModel doc,
CoreSession session) |
public ThumbnailDocumentFactory()
public Blob getThumbnail(DocumentModel doc, CoreSession session)
getThumbnail
in interface ThumbnailFactory
public Blob computeThumbnail(DocumentModel doc, CoreSession session)
computeThumbnail
in interface ThumbnailFactory
protected Blob getDefaultThumbnail(DocumentModel doc)
Copyright © 2015 Nuxeo SA. All rights reserved.