-(AlfrescoRequest *) retrieveAllVersionsOfDocument:(AlfrescoDocument
*)document listingContext:(AlfrescoListingContext *)listingContext
completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - retrieves a
paged list of all versions of the specified document.
Parameters
- (AlfrescoDocument *) document
- The document to return versions for.
- (AlfrescoListingContext *) listingContext
- The listing context with a paging definition that is used to retrieve the version history of the document.
- (AlfrescoPagingResultCompletionBlock) completionBlock
- The block that is called with the versions on completion of the operation. The completion block has the format typedef void (^AlfrescoPagingResultCompletionBlock)(AlfrescoPagingResult *pagingResult, NSError *error).
Returns
(AlfrescoRequest *)