Nuxeo Enterprise Platform 5.4

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

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

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

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

Author:
Enrique Perez, tiry
See Also:
Serialized Form

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

Constructor Detail

PreviewActionBean

public PreviewActionBean()
Method Detail

getHasPreview

public boolean getHasPreview()

documentHasPreview

public boolean documentHasPreview(DocumentModel document)

getPreviewURL

public java.lang.String getPreviewURL()

getPreviewURL

public java.lang.String getPreviewURL(DocumentModel doc)

getPreviewWithBlobPostProcessingURL

public java.lang.String getPreviewWithBlobPostProcessingURL()

getPreviewWithBlobPostProcessingURL

public java.lang.String getPreviewWithBlobPostProcessingURL(DocumentModel doc)

resetFields

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

doSetFieldXPath

public java.lang.String doSetFieldXPath()
                                 throws ClientException
Throws:
ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.