Nuxeo Enterprise Platform 5.4

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()
           
 java.util.List<Blob> getFilePreviewBlobs()
           
 java.util.List<Blob> getFilePreviewBlobs(boolean postProcess)
           
 java.util.List<Blob> getFilePreviewBlobs(java.lang.String xpath)
           
 java.util.List<Blob> getFilePreviewBlobs(java.lang.String xpath, boolean postProcess)
           
 java.lang.String getFilePreviewURL()
           
 java.lang.String getFilePreviewURL(java.lang.String xpath)
           
 void setAdaptedDocument(DocumentModel doc)
           
 

Method Detail

cachable

boolean cachable()

getFilePreviewURL

java.lang.String getFilePreviewURL()

getFilePreviewURL

java.lang.String getFilePreviewURL(java.lang.String xpath)

getFilePreviewBlobs

java.util.List<Blob> getFilePreviewBlobs()
                                         throws PreviewException
Throws:
PreviewException

getFilePreviewBlobs

java.util.List<Blob> getFilePreviewBlobs(java.lang.String xpath)
                                         throws PreviewException
Throws:
PreviewException

getFilePreviewBlobs

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

getFilePreviewBlobs

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

setAdaptedDocument

void setAdaptedDocument(DocumentModel doc)

cleanup

void cleanup()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.