public class BoxCommentsManager extends Object
| Constructor and Description |
|---|
BoxCommentsManager(com.box.sdk.BoxAPIConnection boxConnection)
Create comments manager to manage the comments of Box connection's authenticated user.
|
| Modifier and Type | Method and Description |
|---|---|
com.box.sdk.BoxFile |
addFileComment(String fileId,
String message)
Add comment to file.
|
com.box.sdk.BoxComment |
changeCommentMessage(String commentId,
String message)
Change comment message.
|
void |
deleteComment(String commentId)
Delete comment.
|
com.box.sdk.BoxComment.Info |
getCommentInfo(String commentId)
Get comment information.
|
List<com.box.sdk.BoxComment.Info> |
getFileComments(String fileId)
Get a list of any comments on this file.
|
com.box.sdk.BoxComment |
replyToComment(String commentId,
String message)
Reply to a comment.
|
public BoxCommentsManager(com.box.sdk.BoxAPIConnection boxConnection)
boxConnection - - Box connection to authenticated user account.public com.box.sdk.BoxFile addFileComment(String fileId, String message)
fileId - - the id of file.message - - the comment's message.public List<com.box.sdk.BoxComment.Info> getFileComments(String fileId)
fileId - - the id of file.public com.box.sdk.BoxComment.Info getCommentInfo(String commentId)
commentId - - the id of comment.public com.box.sdk.BoxComment replyToComment(String commentId, String message)
commentId - - the id of comment to reply to.message - - the message for the reply.public com.box.sdk.BoxComment changeCommentMessage(String commentId, String message)
commentId - - the id of comment to change.message - - the new message for the comment.public void deleteComment(String commentId)
commentId - - the id of comment to delete.Apache Camel