Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.preview.api
Interface HtmlPreviewAdapter

All Known Implementing Classes:
AbstractHtmlPreviewAdapter, ConverterBasedHtmlPreviewAdapter, NoteHtmlPreviewAdapter, PreprocessedHtmlPreviewAdapter

public interface HtmlPreviewAdapter

Interface for the Preview DocumentModel adapter.

Author:
tiry

Method Summary
 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)
           
 void setAdaptedDocument(DocumentModel doc)
           
 

Method Detail

cachable

boolean cachable()

getFilePreviewURL

String getFilePreviewURL()

getFilePreviewURL

String getFilePreviewURL(String xpath)

getFilePreviewBlobs

List<Blob> getFilePreviewBlobs()
                               throws PreviewException
Throws:
PreviewException

getFilePreviewBlobs

List<Blob> getFilePreviewBlobs(String xpath)
                               throws PreviewException
Throws:
PreviewException

getFilePreviewBlobs

List<Blob> getFilePreviewBlobs(boolean postProcess)
                               throws PreviewException
Throws:
PreviewException

getFilePreviewBlobs

List<Blob> getFilePreviewBlobs(String xpath,
                               boolean postProcess)
                               throws PreviewException
Throws:
PreviewException

setAdaptedDocument

void setAdaptedDocument(DocumentModel doc)

cleanup

void cleanup()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.