|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Comment | |
|---|---|
| com.jivesoftware.community | Core interfaces and classes for Jive SBS. |
| com.jivesoftware.community.event | Provides mechanisms to be notified of actions in the system such as new messages being created. |
| com.jivesoftware.community.util | Jive SBS utility classes. |
| Uses of Comment in com.jivesoftware.community |
|---|
| Methods in com.jivesoftware.community that return Comment | |
|---|---|
Comment |
CommentManager.createComment(CommentContentResource commentContentResource,
User user,
Document body)
Create a new comment. |
Comment |
CommentManager.createComment(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(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(CommentContentResource commentContentResource)
Returns an iterable for all the comments in the object. |
JiveIterator<Comment> |
CommentManager.getComments(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,
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(CommentContentResource commentContentResource,
Comment newComment)
Adds a new comment (no parent) to the object. |
void |
CommentManager.addComment(CommentContentResource commentContentResource,
Comment parentComment,
Comment newComment)
Adds a new comment having a parent comment to the object. |
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)
|
void |
CommentManager.deleteComment(CommentContentResource commentContentResource,
Comment comment)
Deletes a comment in the object. |
void |
CommentManager.deleteComment(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. |
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 |
CommentableTypeInfoProvider.isDeleteable(CommentContentResource commentTarget,
Comment comment)
Returns true if the comment is deleteable, based on the deletable status of the comment target and comment itself. |
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 |
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(CommentContentResource commentContentResource,
Comment comment)
Updates an existing comment. |
boolean |
CommentableTypeInfoProvider.validateCommentOptions(CommentContentResource commentTarget,
Comment comment,
boolean isAnonymousUser)
Returns true if the options for comment authentication are valid. |
| Uses of Comment in com.jivesoftware.community.event |
|---|
| Constructors in com.jivesoftware.community.event with parameters of type Comment | |
|---|---|
CommentEvent(CommentEvent.Type eventType,
Comment comment)
|
|
CommentEvent(CommentEvent.Type eventType,
Comment comment,
Map<String,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. |
|
Jive Product Page | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||