public interface IBoxCommentsManager extends IBoxResourceManager
| Modifier and Type | Method and Description |
|---|---|
BoxComment |
addComment(BoxCommentRequestObject requestObject)
Add a comment to an item.
|
BoxComment |
addComment(String commentedItemId,
IBoxType commentedItemType,
String message) |
void |
deleteComment(String commentId,
BoxDefaultRequestObject requestObject)
Delete a comment.
|
BoxComment |
getComment(String commentId,
BoxDefaultRequestObject requestObject)
Get a comment, given a comment id.
|
BoxComment |
updateComment(String commentId,
BoxCommentRequestObject requestObject)
Update a comment.
|
BoxComment addComment(BoxCommentRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException
requestObject - comment request object.BoxRestException - See BoxRestException for more info.BoxServerException - See com.box.restclientv2.exceptions.BoxServerException for more info.AuthFatalFailureException - See com.box.restclientv2.exceptions.AuthFatalFailureException for more info.BoxComment addComment(String commentedItemId, IBoxType commentedItemType, String message) throws BoxRestException, BoxServerException, AuthFatalFailureException
BoxComment getComment(String commentId, BoxDefaultRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException
commentId - id of the commentrequestObject - object that goes into request.BoxRestException - See BoxRestException for more info.BoxServerException - See com.box.restclientv2.exceptions.BoxServerException for more info.AuthFatalFailureException - See com.box.restclientv2.exceptions.AuthFatalFailureException for more info.BoxComment updateComment(String commentId, BoxCommentRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException
commentId - id of the commentrequestObject - comment request object.sBoxRestException - See BoxRestException for more info.BoxServerException - See com.box.restclientv2.exceptions.BoxServerException for more info.AuthFatalFailureException - See com.box.restclientv2.exceptions.AuthFatalFailureException for more info.void deleteComment(String commentId, BoxDefaultRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException
commentId - id of the commentrequestObject - object that goes into request.BoxRestException - See BoxRestException for more info.BoxServerException - See com.box.restclientv2.exceptions.BoxServerException for more info.AuthFatalFailureException - See com.box.restclientv2.exceptions.AuthFatalFailureException for more info.Copyright © 2014. All Rights Reserved.