You are here

addCommentToNode:content:title:completionBlock

-(AlfrescoRequest *) addCommentToNode:(AlfrescoNode *)node content:(NSString *)content title:(NSString *)title completionBlock:(AlfrescoCommentCompletionBlock)completionBlock - adds a comment to the node.

Parameters

(AlfrescoNode *) node
The node for which the comments are to be retrieved.
(NSString *) content
The content of the comment.
(NSString *) title
The title of the comment.
(AlfrescoCommentCompletionBlock) completionBlock
The block that is called with the new comment on completion of the operation. The completion block has the format typedef void (^AlfrescoCommentCompletionBlock)(AlfrescoComment *comment, NSError *error).

Returns

(AlfrescoRequest *)

Example