public class ThumbnailAdapter extends Object implements Thumbnail
Modifier and Type | Field and Description |
---|---|
protected DocumentModel |
doc |
Constructor and Description |
---|
ThumbnailAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
Blob |
computeThumbnail(CoreSession session) |
String |
getId() |
Blob |
getThumbnail(CoreSession session) |
void |
save(CoreSession session) |
protected final DocumentModel doc
public ThumbnailAdapter(DocumentModel doc)
public Blob getThumbnail(CoreSession session)
getThumbnail
in interface Thumbnail
public void save(CoreSession session)
public Blob computeThumbnail(CoreSession session)
computeThumbnail
in interface Thumbnail
Copyright © 2015 Nuxeo SA. All rights reserved.