org.nuxeo.ecm.platform.preview.helper
Class PreviewHelper
java.lang.Object
org.nuxeo.ecm.platform.preview.helper.PreviewHelper
public class PreviewHelper
- extends Object
PREVIEWURL_PREFIX
public static final String PREVIEWURL_PREFIX
- See Also:
- Constant Field Values
PREVIEWURL_DEFAULTXPATH
public static final String PREVIEWURL_DEFAULTXPATH
- See Also:
- Constant Field Values
getPreviewURL
public static String getPreviewURL(DocumentModel doc)
getPreviewURL
public static String getPreviewURL(DocumentModel doc,
String xpath)
getDocumentRefFromPreviewURL
public static DocumentRef getDocumentRefFromPreviewURL(String url)
typeSupportsPreview
public static boolean typeSupportsPreview(DocumentModel doc)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.