You are here

retrieveLatestVersionOfDocument:completionBlock

- (AlfrescoRequest *)retrieveLatestVersionOfDocument:(AlfrescoDocument *)document completionBlock:(AlfrescoDocumentCompletionBlock)completionBlock - retrieve the latest version of the specified document.

Parameters

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

Returns

(AlfrescoRequest *)

Example