You are here

retrieveDocumentsInFolder:listingContext:completionBlock

-(AlfrescoRequest *) retrieveDocumentsInFolder:(AlfrescoFolder *)folder listingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - retrieves the immediate child documents of the given folder with a listing context.

Parameters

(Folder *) folder
The name of the folder from which to retrieve the documents.
(AlfrescoListingContext *) listingContext
The listing context with a paging definition that is used to retrieve the documents.
(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