You are here

checkoutDocument:completionBlock

- (AlfrescoRequest *)checkoutDocument:(AlfrescoDocument *)document completionBlock:(AlfrescoDocumentCompletionBlock)completionBlock - Checks out the document, if successful the private working copy is returned.

Parameters

(AlfrescoDocument *) document
The document to check out.
(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