You are here

retrieveFavoriteDocumentsWithListingContext:listingContext:completionBlock

- (AlfrescoRequest *)retrieveFavoriteDocumentsWithListingContext: (AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - Returns a paged list of the current user's favorite documents through the completionBlock. This method was added in SDK version 1.3.

Parameters

(AlfrescoListingContext *) listingContext
The listing context with a paging definition that is used to control the return of results.
(AlfrescoPagingResultCompletionBlock) completionBlock
The block that is called with the documents on completion of the operation. The block has the format typedef void (^AlfrescoPagingResultCompletionBlock)(AlfrescoPagingResult *pagingResult, NSError *error).

Returns

(AlfrescoRequest *)

Example