You are here

retrieveFavoriteSitesWithListingContext:completionBlock

-(AlfrescoRequest *) retrieveFavoriteSitesWithListingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - retrieves a paged list of all sites in the repository that the current user has explicit membership of and which have been marked as a favorite.

Parameters

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

Returns

(AlfrescoRequest *)

Example