You are here

retrieveFoldersInFolder:listingContext:completionBlock

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

Parameters

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

Returns

(AlfrescoRequest *)

Example