You are here

retrieveAllVersionsOfDocument:completionBlock

-(AlfrescoRequest *) retrieveAllVersionsOfDocument:(AlfrescoDocument *)document completionBlock:(AlfrescoArrayCompletionBlock)completionBlock - retrieves all versions of the specified document.

Parameters

(AlfrescoDocument *) document
The document to return versions for.
(AlfrescoArrayCompletionBlock) completionBlock
The block that is called with the versions on completion of the operation. The completion block has the format typedef void (^AlfrescoArrayCompletionBlock)(NSArray *array, NSError *error).

Returns

(AlfrescoRequest *)

Example