@Name(value="previewActions") @Scope(value=CONVERSATION) public class PreviewActionBean extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
PREVIEW_POPUP_VIEW |
Constructor and Description |
---|
PreviewActionBean() |
Modifier and Type | Method and Description |
---|---|
boolean |
documentHasPreview(DocumentModel document) |
String |
doSetFieldXPath() |
String |
getCurrentDocumentPreviewPopupURL() |
boolean |
getHasPreview() |
String |
getPreviewPopupURL(DocumentModel doc) |
String |
getPreviewPopupURL(DocumentModel doc,
boolean newConversation) |
String |
getPreviewPopupURL(String docId) |
String |
getPreviewURL() |
String |
getPreviewURL(DocumentModel doc) |
String |
getPreviewURL(DocumentModel doc,
String field) |
String |
getPreviewWithBlobPostProcessingURL() |
String |
getPreviewWithBlobPostProcessingURL(DocumentModel doc) |
void |
resetFields() |
public static final String PREVIEW_POPUP_VIEW
public boolean getHasPreview()
public boolean documentHasPreview(DocumentModel document)
public String getPreviewURL()
public String getPreviewURL(DocumentModel doc)
public String getPreviewURL(DocumentModel doc, String field)
public String getPreviewWithBlobPostProcessingURL()
public String getPreviewWithBlobPostProcessingURL(DocumentModel doc)
public String getCurrentDocumentPreviewPopupURL()
public String getPreviewPopupURL(DocumentModel doc)
public String getPreviewPopupURL(DocumentModel doc, boolean newConversation)
@WebRemote public String getPreviewPopupURL(String docId)
@Observer(value={"documentSelectionChanged","documentChanged"}, create=false) @BypassInterceptors public void resetFields()
public String doSetFieldXPath() throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.