Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.preview.seam
Class PreviewActionBean

java.lang.Object
  extended by org.nuxeo.ecm.platform.preview.seam.PreviewActionBean
All Implemented Interfaces:
Serializable

@Name(value="previewActions")
@Scope(value=CONVERSATION)
public class PreviewActionBean
extends Object
implements Serializable

Seam Action bean to handle the preview tabs and associated actions.

Author:
Enrique Perez, tiry
See Also:
Serialized Form

Field Summary
static String PREVIEW_POPUP_VIEW
           
 
Constructor Summary
PreviewActionBean()
           
 
Method Summary
 boolean documentHasPreview(DocumentModel document)
           
 String doSetFieldXPath()
           
 String getCurrentDocumentPreviewPopupURL()
           
 boolean getHasPreview()
           
 String getPreviewPopupURL(DocumentModel doc)
           
 String getPreviewPopupURL(String docId)
           
 String getPreviewURL()
           
 String getPreviewURL(DocumentModel doc)
           
 String getPreviewWithBlobPostProcessingURL()
           
 String getPreviewWithBlobPostProcessingURL(DocumentModel doc)
           
 void resetFields()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREVIEW_POPUP_VIEW

public static final String PREVIEW_POPUP_VIEW
See Also:
Constant Field Values
Constructor Detail

PreviewActionBean

public PreviewActionBean()
Method Detail

getHasPreview

public boolean getHasPreview()

documentHasPreview

public boolean documentHasPreview(DocumentModel document)

getPreviewURL

public String getPreviewURL()

getPreviewURL

public String getPreviewURL(DocumentModel doc)

getPreviewWithBlobPostProcessingURL

public String getPreviewWithBlobPostProcessingURL()

getPreviewWithBlobPostProcessingURL

public String getPreviewWithBlobPostProcessingURL(DocumentModel doc)

getCurrentDocumentPreviewPopupURL

public String getCurrentDocumentPreviewPopupURL()

getPreviewPopupURL

public String getPreviewPopupURL(DocumentModel doc)

getPreviewPopupURL

@WebRemote
public String getPreviewPopupURL(String docId)

resetFields

@Observer(value={"documentSelectionChanged","documentChanged"},
          create=false)
@BypassInterceptors
public void resetFields()

doSetFieldXPath

public String doSetFieldXPath()
                       throws ClientException
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.