You are here

cancelCheckoutOfDocument:completionBlock

- (AlfrescoRequest *)cancelCheckoutOfDocument:(AlfrescoDocument *)document completionBlock:(AlfrescoBOOLCompletionBlock)completionBlock - Cancels the check out of the document.

Parameters

(AlfrescoDocument *) document
The document for which to cancel checkout.
(AlfrescoBOOLCompletionBlock) completionBlock
The block that is called on completion of the operation. The completion block has the format typedef void (^AlfrescoBOOLCompletionBlock)(BOOL succeeded, NSError *error).

Returns

(AlfrescoRequest *)

Example