@Name(value="commentActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class CommentActions extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CommentActions.FollowTransitionUnrestricted |
Constructor and Description |
---|
CommentActions() |
Modifier and Type | Method and Description |
---|---|
void |
addComment() |
DocumentModel |
addComment(DocumentModel comment) |
void |
cleanContextVariable() |
void |
deleteComment(DocumentModel comment) |
List<DocumentModel> |
getComments() |
String |
getNewContent() |
boolean |
isShowCommentsArea() |
boolean |
isShowCreateForm() |
void |
setNewContent(String newContent) |
void |
setShowCommentsArea(boolean showCommentsArea) |
void |
setShowCreateForm(boolean showCreateForm) |
void |
toggleCommentsArea(ActionEvent event) |
void |
toggleCreateForm(ActionEvent event) |
public void addComment() throws ClientException
ClientException
public DocumentModel addComment(DocumentModel comment) throws ClientException
ClientException
public List<DocumentModel> getComments() throws ClientException
ClientException
public void deleteComment(DocumentModel comment) throws ClientException
ClientException
@Observer(value="documentSelectionChanged", create=false) @BypassInterceptors public void cleanContextVariable()
public String getNewContent()
public void setNewContent(String newContent)
public boolean isShowCreateForm()
public void setShowCreateForm(boolean showCreateForm)
public void toggleCreateForm(ActionEvent event)
public boolean isShowCommentsArea()
public void setShowCommentsArea(boolean showCommentsArea)
public void toggleCommentsArea(ActionEvent event)
Copyright © 2011 Nuxeo SA. All Rights Reserved.