@Name(value="commentManagerActions") @Scope(value=CONVERSATION) public class CommentManagerActionsBean extends AbstractCommentManagerActionsBean implements Serializable
commentableDoc, commentMap, COMMENTS_ACTIONS, commentStarted, commentThread, deleteCommentId, documentManager, flatComments, navigationContext, newContent, principal, principalIsAdmin, replyCommentId, savedReplyCommentId, showCreateForm, uiComments, userSession, webActionsCHILDREN_COMMENT_LIST| Constructor and Description |
|---|
CommentManagerActionsBean() |
| Modifier and Type | Method and Description |
|---|---|
protected CommentableDocument |
getCommentableDoc() |
List<ThreadEntry> |
getCommentsAsThread()
Retrieves the list of comment trees associated with a document and constructs a flat list of comments associated
with their depth (to easily display them with indentation).
|
addComment, addComment, addComment, beginComment, cancelComment, cleanContextVariable, createComment, createUIComment, deleteComment, deleteComment, destroy, documentChanged, flattenTree, getActionsForComment, getActionsForComment, getChildren, getCommentableDoc, getComments, getCommentsAsThread, getCommentsAsThreadOnDoc, getCommentStarted, getLastCommentsByDate, getLastCommentsByDate, getNewContent, getPrincipalIsAdmin, getPrincipalName, getSavedReplyCommentId, getShowCreateForm, initComments, initComments, initialize, initializeComment, setNewContent, setSavedReplyCommentId, setShowCreateForm, toggleCreateFormpublic CommentManagerActionsBean()
protected CommentableDocument getCommentableDoc()
getCommentableDoc in class AbstractCommentManagerActionsBean@Factory(value="documentThreadedComments",
scope=EVENT)
public List<ThreadEntry> getCommentsAsThread()
getCommentsAsThread in interface CommentManagerActionsCopyright © 2015 Nuxeo SA. All rights reserved.