@Name(value="popupHelper") @Scope(value=CONVERSATION) public class PopupHelper extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
POPUP_CATEGORY |
Constructor and Description |
---|
PopupHelper() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final String POPUP_CATEGORY
public List<Action> getUnfiltredPopupActions()
@WebRemote public List<String> getAvailableActionId(String popupDocId)
@WebRemote public List<String> getUnavailableActionId(String popupDocId)
@WebRemote public String getNavigationURL(String docId, String tabId) throws ClientException
ClientException
@WebRemote public String getNavigationURLOnContainer(String tabId)
@WebRemote public String getNavigationURLOnPopupdoc(String tabId)
@WebRemote public String getNavigationURLOnPopupdoc2(String tabId, String subTabId)
@WebRemote public String getCurrentURL()
@WebRemote public String getCurrentURLAfterDelete()
@WebRemote public String deleteDocument(String docId) throws ClientException
ClientException
@WebRemote public String editTitle(String docId, String newTitle) throws ClientException
ClientException
public boolean getIsCurrentContainerDirectParent() throws ClientException
ClientException
public boolean isDocumentHasBlobAttached(DocumentModel documentModel) throws ClientException
ClientException
@WebRemote public String downloadDocument(String docId, String blobPropertyName, String filenamePropertyName) throws ClientException
ClientException
@WebRemote public String lockDocument(String docId) throws ClientException
ClientException
@WebRemote public String unlockDocument(String docId) throws ClientException
ClientException
@WebRemote public String sendEmail(String docId) throws ClientException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.