|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Comments
API for manipulating Comments.
Field Summary | |
---|---|
static java.lang.String |
NAME
NAME : String. |
Method Summary | |
---|---|
Comment |
create(Comment comment)
Create a new comment in CCC. |
void |
delete(java.util.UUID commentId)
Delete an existing comment. |
PagedCollection<Comment> |
query(java.util.UUID resourceId,
CommentStatus status,
java.lang.String sort,
SortOrder sortOrder,
int pageNo,
int pageSize)
List existing comments. |
Comment |
retrieve(java.util.UUID commentId)
Retrieve the comment using its ID. |
Comment |
update(java.util.UUID commentId,
Comment comment)
Update the specified comment. |
Field Detail |
---|
static final java.lang.String NAME
Method Detail |
---|
Comment create(Comment comment)
comment
- The comment to create.
Comment retrieve(java.util.UUID commentId)
commentId
- The comment's ID.
Comment update(java.util.UUID commentId, Comment comment)
commentId
- The comment's ID.comment
- The updated comment.
void delete(java.util.UUID commentId)
commentId
- The comment's ID.PagedCollection<Comment> query(java.util.UUID resourceId, CommentStatus status, java.lang.String sort, SortOrder sortOrder, int pageNo, int pageSize)
resourceId
- Filter comments by resource. NULL will return all.status
- Filter comments based on status. NULL will return all.sort
- The field to sort on.sortOrder
- The order results be sorted in.pageNo
- The page of results to return.pageSize
- The number of results in a page.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |