@Name(value="collaborationActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class CollaborationActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
COLLABORATION_VIEW_ID |
static String |
DASHBOARD_VIEW_ID |
static String |
MAIN_TABS_DOCUMENTS |
Constructor and Description |
---|
CollaborationActions() |
Modifier and Type | Method and Description |
---|---|
String |
backToDashboard()
Navigate to the Dashboard of the Social Workspace if the document belong
to one of it, else navigate to the default view of the current document.
|
boolean |
canCreateSocialWorkspace() |
String |
createNewDocument(String type) |
String |
createSameTypeDocument() |
void |
deleteSocialDocument(DocumentModel document) |
String |
displayCreateSocialWorkspaceForm() |
String |
editSocialDocument() |
String |
editSocialDocument(DocumentModel document) |
DocumentModel |
getChangeableSocialDocument() |
String |
getCurrentDashboardUrl() |
DocumentModel |
getPrevious() |
String |
getViewId() |
String |
goBack() |
String |
goToPreviousDocument() |
String |
navigateToArticles() |
String |
navigateToCollaborationView() |
String |
navigateToDMView() |
String |
navigateToFiles() |
String |
navigateToNewsItems() |
String |
saveOncreate() |
String |
updateCurrentDocument() |
public static final String COLLABORATION_VIEW_ID
public static final String DASHBOARD_VIEW_ID
public static final String MAIN_TABS_DOCUMENTS
public DocumentModel getPrevious()
public String backToDashboard() throws ClientException
ClientException
public String getCurrentDashboardUrl() throws ClientException
ClientException
public String navigateToDMView() throws ClientException
ClientException
public String navigateToCollaborationView() throws ClientException
ClientException
public String navigateToArticles() throws ClientException
ClientException
public String createNewDocument(String type) throws ClientException
ClientException
public DocumentModel getChangeableSocialDocument() throws ClientException
ClientException
public String createSameTypeDocument() throws ClientException
ClientException
public void deleteSocialDocument(DocumentModel document) throws ClientException
ClientException
public String navigateToNewsItems() throws ClientException
ClientException
public String editSocialDocument() throws ClientException
ClientException
public String editSocialDocument(DocumentModel document) throws ClientException
ClientException
public String goBack() throws ClientException
ClientException
public String saveOncreate() throws ClientException
ClientException
public String updateCurrentDocument() throws ClientException
ClientException
public String displayCreateSocialWorkspaceForm() throws ClientException
ClientException
public String goToPreviousDocument() throws ClientException
ClientException
public String getViewId()
public boolean canCreateSocialWorkspace()
public String navigateToFiles() throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.