You are here

retrieveCommentsForNode:withListingContext:completionBlock

-(AlfrescoRequest *) retrieveCommentsForNode:(AlfrescoNode *)node withListingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoArrayCompletionBlock)completionBlock - retrieves the comments for a given node with a listing context.

Parameters

(AlfrescoNode *) node
The node for which the comments are to be retrieved.
(AlfrescoListingContext *) listingContext
The listing context with a paging definition that's used to retrieve the activity stream.
(AlfrescoPagingResultCompletionBlock) completionBlock
The block that is called with the retrieved comments on completion of the operation. The completion block has the format typedef void (^AlfrescoPagingResultCompletionBlock)(AlfrescoPagingResult *pagingResult, NSError *error).

Returns

(AlfrescoRequest *)

Example