Class NoteHtmlPreviewAdapter
- java.lang.Object
-
- org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter
-
- org.nuxeo.ecm.platform.preview.adapter.base.PreprocessedHtmlPreviewAdapter
-
- org.nuxeo.ecm.platform.preview.adapter.base.NoteHtmlPreviewAdapter
-
- All Implemented Interfaces:
HtmlPreviewAdapter
public class NoteHtmlPreviewAdapter extends PreprocessedHtmlPreviewAdapter
- Author:
- Thomas Roger
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.platform.preview.adapter.base.PreprocessedHtmlPreviewAdapter
storedPreviewFieldsPaths
-
Fields inherited from class org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter
adaptedDoc
-
-
Constructor Summary
Constructors Constructor Description NoteHtmlPreviewAdapter(List<String> fieldsPaths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Blob>
getPreviewBlobs()
List<Blob>
getPreviewBlobs(String xpath)
protected Blob
processNoteBlob(Blob blob)
-
Methods inherited from class org.nuxeo.ecm.platform.preview.adapter.base.PreprocessedHtmlPreviewAdapter
cachable, cleanup, hasBlobToPreview, hasPreview
-
Methods inherited from class org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter
getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewBlobs, getFilePreviewURL, getFilePreviewURL, getPreviewManager, getPreviewTitle, postProcessBlobs, setAdaptedDocument, updateTitleInHtml, updateTitleInHtml
-
-
-
-
Method Detail
-
getPreviewBlobs
public List<Blob> getPreviewBlobs() throws PreviewException
- Overrides:
getPreviewBlobs
in classPreprocessedHtmlPreviewAdapter
- Throws:
PreviewException
-
processNoteBlob
protected Blob processNoteBlob(Blob blob) throws PreviewException
- Throws:
PreviewException
-
getPreviewBlobs
public List<Blob> getPreviewBlobs(String xpath) throws PreviewException
- Overrides:
getPreviewBlobs
in classPreprocessedHtmlPreviewAdapter
- Throws:
PreviewException
-
-