You are here

retrieveContentOfDocument

retrieveContentOfDocument - Downloads the content of the given document.

retrieveContentOfDocument

-(AlfrescoRequest *) retrieveContentOfDocument:(AlfrescoDocument *)document completionBlock:(AlfrescoFileCompletionBlock)completionBlock - Downloads the content for the given document to the provided output stream.

Parameters

(AlfrescoDocument *) document
Document for which to retrieve contents.
(AlfrescoFileCompletionBlock) completionBlock
The block containing a SkyVaultContentFile and NSError object. error will be nil if successful. Otherwise, SkyVaultContentFile will be nil.

Returns

(AlfrescoRequest *)

Example




        

retrieveContentOfDocument

-(AlfrescoRequest *) retrieveContentOfDocument:(AlfrescoDocument *)document outputStream:(NSOutputStream *)outputStream completionBlock:(AlfrescoBOOLCompletionBlock)completionBlock - Downloads the content for the given document to the provided output stream..

Parameters

(AlfrescoDocument *) document
Document for which to retrieve contents.
(NSOutputStream *)outputStream
The output stream to download contents to.
(AlfrescoBOOLCompletionBlock) completionBlock
The block that is called on completion.

Returns

(AlfrescoRequest *)

Example