Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.preview.helper
Class PreviewHelper

java.lang.Object
  extended by org.nuxeo.ecm.platform.preview.helper.PreviewHelper

public class PreviewHelper
extends java.lang.Object


Field Summary
static java.lang.String PREVIEWURL_DEFAULTXPATH
           
static java.lang.String PREVIEWURL_PREFIX
           
 
Method Summary
static DocumentRef getDocumentRefFromPreviewURL(java.lang.String url)
           
static java.lang.String getPreviewURL(DocumentModel doc)
           
static java.lang.String getPreviewURL(DocumentModel doc, java.lang.String xpath)
           
static boolean typeSupportsPreview(DocumentModel doc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREVIEWURL_PREFIX

public static final java.lang.String PREVIEWURL_PREFIX
See Also:
Constant Field Values

PREVIEWURL_DEFAULTXPATH

public static final java.lang.String PREVIEWURL_DEFAULTXPATH
See Also:
Constant Field Values
Method Detail

getPreviewURL

public static java.lang.String getPreviewURL(DocumentModel doc)

getPreviewURL

public static java.lang.String getPreviewURL(DocumentModel doc,
                                             java.lang.String xpath)

getDocumentRefFromPreviewURL

public static DocumentRef getDocumentRefFromPreviewURL(java.lang.String url)

typeSupportsPreview

public static boolean typeSupportsPreview(DocumentModel doc)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.