You are here

retrieveActivityStreamForSite:withListingContext:completionBlock

-(AlfrescoRequest *) retrieveActivityStreamForSite:(AlfrescoSite *)site withListingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoArrayCompletionBlock)completionBlock - retrieves all activities for the specified site with a listing context.

Parameters

(AlfrescoSite *) site
The site whose activity stream will be returned.
(AlfrescoListingContext *)listingContext
The listing context with a paging definition that is used to retrieve the activity stream.
(AlfrescoArrayCompletionBlock) completionBlock
The block that is called with the activity stream on completion of the operation. The completion block has the format typedef void (^AlfrescoArrayCompletionBlock)(NSArray *array, NSError *error).

Returns

(AlfrescoRequest *)

Example