org.nuxeo.dam.webapp.comment
Class CommentActions
java.lang.Object
org.nuxeo.dam.webapp.comment.CommentActions
- All Implemented Interfaces:
- Serializable
@Name(value="commentActions")
@Scope(value=CONVERSATION)
@Install(precedence=10)
public class CommentActions
- extends Object
- implements Serializable
Comments related actions on DAM.
- Author:
- Catalin Baican
- See Also:
- Serialized Form
CommentActions
public CommentActions()
addComment
public void addComment()
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
addComment
public org.nuxeo.ecm.core.api.DocumentModel addComment(org.nuxeo.ecm.core.api.DocumentModel comment)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
getComments
public List<org.nuxeo.ecm.core.api.DocumentModel> getComments()
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
deleteComment
public void deleteComment(org.nuxeo.ecm.core.api.DocumentModel comment)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
cleanContextVariable
@Observer(value="documentSelectionChanged",
create=false)
@BypassInterceptors
public void cleanContextVariable()
getNewContent
public String getNewContent()
setNewContent
public void setNewContent(String newContent)
isShowCreateForm
public boolean isShowCreateForm()
setShowCreateForm
public void setShowCreateForm(boolean showCreateForm)
toggleCreateForm
public void toggleCreateForm(ActionEvent event)
isShowCommentsArea
public boolean isShowCommentsArea()
setShowCommentsArea
public void setShowCommentsArea(boolean showCommentsArea)
toggleCommentsArea
public void toggleCommentsArea(ActionEvent event)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.