Package | Description |
---|---|
org.nuxeo.ecm.platform.comment.web |
Modifier and Type | Field and Description |
---|---|
protected Map<String,UIComment> |
AbstractCommentManagerActionsBean.commentMap |
protected List<UIComment> |
AbstractCommentManagerActionsBean.flatComments |
protected List<UIComment> |
AbstractCommentManagerActionsBean.uiComments |
Modifier and Type | Method and Description |
---|---|
protected UIComment |
AbstractCommentManagerActionsBean.createUIComment(UIComment parent,
DocumentModel comment)
Creates a UIComment wrapping "comment", having "parent" as parent.
|
UIComment |
UIComment.getParent() |
Modifier and Type | Method and Description |
---|---|
List<UIComment> |
UIComment.getChildren() |
List<UIComment> |
AbstractCommentManagerActionsBean.getComments(DocumentModel doc) |
List<UIComment> |
CommentManagerActions.getLastCommentsByDate(String commentNumber)
Retrieves a given number of comments from currentDocument.
|
List<UIComment> |
AbstractCommentManagerActionsBean.getLastCommentsByDate(String commentNumber) |
List<UIComment> |
CommentManagerActions.getLastCommentsByDate(String commentNumber,
DocumentModel commentedDoc)
Retrieves a given number of comments from the given Document.
|
List<UIComment> |
AbstractCommentManagerActionsBean.getLastCommentsByDate(String commentNumber,
DocumentModel commentedDoc) |
Modifier and Type | Method and Description |
---|---|
boolean |
UIComment.addChild(UIComment child) |
protected UIComment |
AbstractCommentManagerActionsBean.createUIComment(UIComment parent,
DocumentModel comment)
Creates a UIComment wrapping "comment", having "parent" as parent.
|
void |
AbstractCommentManagerActionsBean.flattenTree(List<ThreadEntry> commentThread,
UIComment uiComment,
int depth)
Visits a list of comment trees and puts them into a list of "ThreadEntry"s.
|
void |
AbstractCommentManagerActionsBean.getChildren(UIComment comment)
Retrieves children for a given comment.
|
boolean |
UIComment.removeChild(UIComment child) |
Modifier and Type | Method and Description |
---|---|
void |
UIComment.setChildren(List<UIComment> children) |
Constructor and Description |
---|
UIComment(UIComment parent,
DocumentModel docModel) |
Copyright © 2017 Nuxeo. All rights reserved.