|
Clearspace API (2.5.29) Core Javadocs | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Comment | |
|---|---|
| com.jivesoftware.community | Core interfaces and classes for Clearspace. |
| com.jivesoftware.community.event | Provides mechanisms to be notified of actions in the system such as new messages being created. |
| com.jivesoftware.community.util | Clearspace utility classes. |
| Uses of Comment in com.jivesoftware.community |
|---|
| Methods in com.jivesoftware.community that return Comment | |
|---|---|
Comment |
CommentManager.createComment(com.jivesoftware.community.CommentContentResource commentContentResource,
User user,
Document body)
Create a new comment. |
Comment |
CommentManager.createComment(com.jivesoftware.community.CommentContentResource commentContentResource,
User user,
String body)
Create a new comment. |
Comment |
CommentTreeWalker.getChild(Comment parent,
int index)
Returns the child of parent at index index in the parent's child array. |
Comment |
CommentManager.getComment(com.jivesoftware.community.CommentContentResource commentContentResource,
long commentID)
Returns a comment from the object based on its id. |
Comment |
Blog.getComment(long commentID)
Returns a comment by comment ID. |
Comment |
CommentManager.getComment(long commentID)
Returns a comment from the object based on its id. |
Comment |
CommentTreeWalker.getParent(Comment child)
Returns the parent of the child comment. |
| Methods in com.jivesoftware.community that return types with arguments of type Comment | |
|---|---|
JiveIterator<Comment> |
CommentTreeWalker.children(Comment parent)
Returns an Iterable for all the child comments of the parent. |
JiveIterator<Comment> |
CommentManager.getComments(com.jivesoftware.community.CommentContentResource commentContentResource)
Returns an iterable for all the comments in the object. |
JiveIterator<Comment> |
CommentManager.getComments(com.jivesoftware.community.CommentContentResource commentContentResource,
CommentResultFilter resultFilter)
Returns an Iterable for all the comments in the object that match the criteria specified by the ResultFilter. |
JiveIterator<Comment> |
Blog.getComments(FeedbackResultFilter resultFilter)
Returns all the comments on this blog that match the criteria specified by the ResultFilter. |
JiveIterator<Comment> |
BlogManager.getComments(FeedbackResultFilter resultFilter)
Returns all the comments on blog posts that match the criteria specified by the FeedbackResultFilter in the entire system. |
JiveIterator<Comment> |
Blog.getRecentComments()
Returns (at most) the ten most recent comments on this blog. |
JiveIterator<Comment> |
CommentManager.getUserContentComments(User user)
Returns a JiveIterator for all the comments in all content which has been authored by the supplied user. |
JiveIterator<Comment> |
CommentManager.getUserContentComments(User user,
com.jivesoftware.community.UserContentCommentResultFilter resultFilter)
Returns a JiveIterator for all the comments in all content which has been authored by the supplied user that match the criteria specified by the ResultFilter. |
JiveIterator<Comment> |
CommentTreeWalker.recursiveChildren(Comment parent)
Returns an Iterable for all child comments (and sub-children, etc) of the parent. |
JiveIterator<Comment> |
CommentTreeWalker.topLevelComments()
Returns an iterator of top level comments. |
| Methods in com.jivesoftware.community with parameters of type Comment | |
|---|---|
void |
CommentManager.addComment(com.jivesoftware.community.CommentContentResource commentContentResource,
Comment newComment)
Adds a new comment (no parent) to the object. |
void |
CommentManager.addComment(com.jivesoftware.community.CommentContentResource commentContentResource,
Comment parentComment,
Comment newComment)
Adds a new comment having a parent comment to the object. |
void |
SearchManager.addToIndex(Comment comment)
Adds an individual comment to the index. |
void |
CommentManager.approve(Comment comment,
AuthToken auth)
|
JiveIterator<Comment> |
CommentTreeWalker.children(Comment parent)
Returns an Iterable for all the child comments of the parent. |
Image |
CommentManager.createImage(Comment comment,
String name,
String contentType,
InputStream data)
|
SearchQueryCriteria |
SearchQueryManager.createSearchQueryCriteria(Comment comment)
Returns a SearchQueryCriteria that can be used to query for other searchable items that are deemed similar to the provided comment. |
void |
CommentManager.deleteComment(com.jivesoftware.community.CommentContentResource commentContentResource,
Comment comment)
Deletes a comment in the object. |
void |
CommentManager.deleteComment(com.jivesoftware.community.CommentContentResource commentContentResource,
Comment comment,
boolean recursive)
Deletes a comment in the object. |
void |
CommentManager.deleteImage(Comment comment,
Image image)
|
Comment |
CommentTreeWalker.getChild(Comment parent,
int index)
Returns the child of parent at index index in the parent's child array. |
int |
CommentTreeWalker.getChildCount(Comment parent)
Returns the number of children of parent. |
com.jivesoftware.community.CommentContentResource |
CommentManager.getCommentContentResource(Comment comment)
Returns the parent CommentContentResource of the comment. |
int |
CommentTreeWalker.getCommentDepth(Comment comment)
Returns the depth of a comment in the comment tree hierarchy. |
int |
CommentTreeWalker.getIndexOfChild(Comment parent,
Comment child)
Returns the index of child in parent. |
Comment |
CommentTreeWalker.getParent(Comment child)
Returns the parent of the child comment. |
int |
CommentTreeWalker.getRecursiveChildCount(Comment parent)
Returns the total number of recursive children of a parent. |
boolean |
CommentTreeWalker.isLeaf(Comment node)
Returns true if node is a leaf. |
JiveIterator<Comment> |
CommentTreeWalker.recursiveChildren(Comment parent)
Returns an Iterable for all child comments (and sub-children, etc) of the parent. |
void |
SearchManager.removeFromIndex(Comment comment)
Removes an individual comment from the index. |
void |
CommentManager.setBody(Comment comment,
String body)
|
void |
CommentManager.setModerated(Comment comment,
boolean moderated)
|
void |
CommentManager.update(Comment comment)
Updates an existing comment. |
void |
CommentManager.updateComment(com.jivesoftware.community.CommentContentResource commentContentResource,
Comment comment)
Updates an existing comment. |
void |
SearchManager.updateIndex(Comment comment)
Updates an individual comment in the index. |
| Uses of Comment in com.jivesoftware.community.event |
|---|
| Methods in com.jivesoftware.community.event that return Comment | |
|---|---|
Comment |
CommentEvent.getComment()
|
| Constructors in com.jivesoftware.community.event with parameters of type Comment | |
|---|---|
CommentEvent(int eventType,
Comment comment,
Map<String,? extends Object> params)
|
|
| Uses of Comment in com.jivesoftware.community.util |
|---|
| Methods in com.jivesoftware.community.util with parameters of type Comment | |
|---|---|
static String |
BlogUtils.getCommentPermalink(Comment comment)
Returns a permalink for a blog comment which is a combination of the base URL, the blog display name, the year / month / day, the entry name and a suffix / comment ID. |
|
Clearspace Project Page | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||