public interface HtmlPreviewAdapter
Modifier and Type | Method and Description |
---|---|
boolean |
cachable() |
void |
cleanup() |
List<Blob> |
getFilePreviewBlobs() |
List<Blob> |
getFilePreviewBlobs(boolean postProcess) |
List<Blob> |
getFilePreviewBlobs(String xpath) |
List<Blob> |
getFilePreviewBlobs(String xpath,
boolean postProcess) |
String |
getFilePreviewURL() |
String |
getFilePreviewURL(String xpath) |
boolean |
hasBlobToPreview()
Check if the document holds some blobs that are suitable for preview
|
boolean |
hasPreview(String xpath) |
void |
setAdaptedDocument(DocumentModel doc) |
boolean cachable()
String getFilePreviewURL()
String getFilePreviewURL(String xpath)
List<Blob> getFilePreviewBlobs() throws PreviewException
PreviewException
List<Blob> getFilePreviewBlobs(String xpath) throws PreviewException
PreviewException
List<Blob> getFilePreviewBlobs(boolean postProcess) throws PreviewException
PreviewException
List<Blob> getFilePreviewBlobs(String xpath, boolean postProcess) throws PreviewException
PreviewException
void setAdaptedDocument(DocumentModel doc)
void cleanup()
boolean hasBlobToPreview() throws PreviewException
PreviewException
boolean hasPreview(String xpath)
Copyright © 2016 Nuxeo SA. All rights reserved.