Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.action
Class PopupHelper

java.lang.Object
  extended by org.nuxeo.ecm.webapp.action.PopupHelper
All Implemented Interfaces:
Serializable

@Name(value="popupHelper")
@Scope(value=CONVERSATION)
public class PopupHelper
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String POPUP_CATEGORY
           
 
Constructor Summary
PopupHelper()
           
 
Method Summary
 String deleteDocument(String docId)
           
 String downloadDocument(String docId, String blobPropertyName, String filenamePropertyName)
           
 String editTitle(String docId, String newTitle)
           
 List<String> getAvailableActionId(String popupDocId)
           
 List<Action> getAvailablePopupActions(String popupDocId)
           
 String getCurrentURL()
           
 String getCurrentURLAfterDelete()
           
 boolean getIsCurrentContainerDirectParent()
           
 String getNavigationURL(String docId, String tabId)
           
 String getNavigationURLOnContainer(String tabId)
           
 String getNavigationURLOnPopupdoc(String tabId)
           
 String getNavigationURLOnPopupdoc2(String tabId, String subTabId)
           
 List<String> getUnavailableActionId(String popupDocId)
           
 List<Action> getUnfiltredPopupActions()
          Returns all popup actions: used to construct HTML menu template.
 boolean isDocumentHasBlobAttached(DocumentModel documentModel)
           
 String lockDocument(String docId)
           
 String sendEmail(String docId)
           
 String unlockDocument(String docId)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POPUP_CATEGORY

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

PopupHelper

public PopupHelper()
Method Detail

getUnfiltredPopupActions

public List<Action> getUnfiltredPopupActions()
Returns all popup actions: used to construct HTML menu template.


getAvailablePopupActions

public List<Action> getAvailablePopupActions(String popupDocId)

getAvailableActionId

@WebRemote
public List<String> getAvailableActionId(String popupDocId)

getUnavailableActionId

@WebRemote
public List<String> getUnavailableActionId(String popupDocId)

getNavigationURL

@WebRemote
public String getNavigationURL(String docId,
                                         String tabId)
                        throws ClientException
Throws:
ClientException

getNavigationURLOnContainer

@WebRemote
public String getNavigationURLOnContainer(String tabId)

getNavigationURLOnPopupdoc

@WebRemote
public String getNavigationURLOnPopupdoc(String tabId)

getNavigationURLOnPopupdoc2

@WebRemote
public String getNavigationURLOnPopupdoc2(String tabId,
                                                    String subTabId)

getCurrentURL

@WebRemote
public String getCurrentURL()

getCurrentURLAfterDelete

@WebRemote
public String getCurrentURLAfterDelete()

deleteDocument

@WebRemote
public String deleteDocument(String docId)
                      throws ClientException
Throws:
ClientException

editTitle

@WebRemote
public String editTitle(String docId,
                                  String newTitle)
                 throws ClientException
Throws:
ClientException

getIsCurrentContainerDirectParent

public boolean getIsCurrentContainerDirectParent()
                                          throws ClientException
Throws:
ClientException

isDocumentHasBlobAttached

public boolean isDocumentHasBlobAttached(DocumentModel documentModel)
                                  throws ClientException
Throws:
ClientException

downloadDocument

@WebRemote
public String downloadDocument(String docId,
                                         String blobPropertyName,
                                         String filenamePropertyName)
                        throws ClientException
Throws:
ClientException

lockDocument

@WebRemote
public String lockDocument(String docId)
                    throws ClientException
Throws:
ClientException

unlockDocument

@WebRemote
public String unlockDocument(String docId)
                      throws ClientException
Throws:
ClientException

sendEmail

@WebRemote
public String sendEmail(String docId)
                 throws ClientException
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.