org.nuxeo.ecm.webapp.action
Class PopupHelper
java.lang.Object
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
POPUP_CATEGORY
public static final String POPUP_CATEGORY
- See Also:
- Constant Field Values
PopupHelper
public PopupHelper()
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.