public class PreviewHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PREVIEWURL_DEFAULTXPATH |
static String |
PREVIEWURL_PREFIX |
Modifier and Type | Method and Description |
---|---|
static DocumentRef |
getDocumentRefFromPreviewURL(String url) |
static String |
getPreviewURL(DocumentModel doc) |
static String |
getPreviewURL(DocumentModel doc,
String xpath) |
static boolean |
typeSupportsPreview(DocumentModel doc) |
public static final String PREVIEWURL_PREFIX
public static final String PREVIEWURL_DEFAULTXPATH
public static String getPreviewURL(DocumentModel doc)
public static String getPreviewURL(DocumentModel doc, String xpath)
public static DocumentRef getDocumentRefFromPreviewURL(String url)
public static boolean typeSupportsPreview(DocumentModel doc)
Copyright © 2011 Nuxeo SA. All Rights Reserved.