You are here

Completion Block Definitions

This topic lists the block definitions defined for the Client API.

Block Definitions

Block Name Block declaration
AlfrescoArrayCompletionBlock typedef void (^AlfrescoArrayCompletionBlock)(NSArray *array, NSError *error);
AlfrescoBOOLCompletionBlock typedef void (^AlfrescoBOOLCompletionBlock)(BOOL succeeded, NSError *error);
AlfrescoCommentCompletionBlock typedef void (^AlfrescoCommentCompletionBlock)(AlfrescoComment *comment, NSError *error);
AlfrescoContentFileCompletionBlock typedef void (^AlfrescoContentFileCompletionBlock)(AlfrescoContentFile *contentFile, NSError *error);
AlfrescoDataCompletionBlock typedef void (^AlfrescoDataCompletionBlock)(NSData *data, NSError *error);
AlfrescoDocumentCompletionBlock typedef void (^AlfrescoDocumentCompletionBlock)(AlfrescoDocument *document, NSError *error);
AlfrescoFavoritedCompletionBlock typedef void (^AlfrescoFavoritedCompletionBlock)(BOOL succeeded, BOOL isFavorited, NSError *error);
AlfrescoFolderCompletionBlock typedef void (^AlfrescoFolderCompletionBlock)(AlfrescoFolder *folder, NSError *error);
AlfrescoLikedCompletionBlock typedef void (^AlfrescoLikedCompletionBlock)(BOOL succeeded, BOOL isLiked, NSError *error);
AlfrescoMemberCompletionBlock typedef void (^AlfrescoMemberCompletionBlock)(BOOL succeeded, BOOL isMember, NSError *error);
AlfrescoNodeCompletionBlock typedef void (^AlfrescoNodeCompletionBlock)(AlfrescoNode *node, NSError *error);
AlfrescoNumberCompletionBlock typedef void (^AlfrescoNumberCompletionBlock)(NSNumber *data, NSError *error);
AlfrescoOAuthCompletionBlock typedef void (^AlfrescoOAuthCompletionBlock)(AlfrescoOAuthData * oauthData, NSError *error);
AlfrescoPagingResultCompletionBlock typedef void (^AlfrescoPagingResultCompletionBlock)(AlfrescoPagingResult *pagingResult, NSError *error);
AlfrescoPermissionsCompletionBlock typedef void (^AlfrescoPermissionsCompletionBlock)(AlfrescoPermissions *permissions, NSError *error);
AlfrescoPersonCompletionBlock typedef void (^AlfrescoPersonCompletionBlock)(AlfrescoPerson *person, NSError *error);
AlfrescoProgressBlock typedef void (^AlfrescoProgressBlock)(NSInteger bytesTransferred, NSInteger bytesTotal);
AlfrescoSessionCompletionBlock typedef void (^AlfrescoSessionCompletionBlock)(id<AlfrescoSession> session, NSError *error);
AlfrescoSiteCompletionBlock typedef void (^AlfrescoSiteCompletionBlock)(AlfrescoSite *site, NSError *error);
AlfrescoDocumentTypeDefinitionCompletionBlock typedef void (^AlfrescoDocumentTypeDefinitonCompletionBlock)(AlfrescoDocumentTypeDefinition *typeDefinition, NSError *error);
AlfrescoFolderTypeDefinitonCompletionBlock typedef void (^AlfrescoFolderTypeDefinitonCompletionBlock)(AlfrescoFolderTypeDefinition *typeDefinition, NSError *error);
AlfrescoAspectDefinitonCompletionBlock typedef void (^AlfrescoAspectDefinitonCompletionBlock)(AlfrescoAspectDefinition *aspectDefinition, NSError *error);
AlfrescoTaskTypeDefinitonCompletionBlock typedef void (^AlfrescoTaskTypeDefinitonCompletionBlock)(AlfrescoTaskTypeDefinition *typeDefinition, NSError *error);
AlfrescoURLCompletionBlock typedef void (^AlfrescoURLCompletionBlock)(NSURL *url, NSError *error);
AlfrescoCloudSignupRequestCompletionBlock (^AlfrescoCloudSignupRequestCompletionBlock)(AlfrescoCloudSignupRequest *signupRequest, NSError *error);

Workflow related completion blocks:

Block Name Block declaration
AlfrescoProcessDefinitionCompletionBlock typedef void (^AlfrescoProcessDefinitionCompletionBlock)(AlfrescoWorkflowProcessDefinition *processDefinition, NSError *error);
AlfrescoProcessCompletionBlock typedef void (^AlfrescoProcessCompletionBlock)(AlfrescoWorkflowProcess *process, NSError *error);
AlfrescoTaskCompletionBlock typedef void (^AlfrescoTaskCompletionBlock)(AlfrescoWorkflowTask *task, NSError *error);
AlfrescoDictionaryCompletionBlock typedef void (^AlfrescoDictionaryCompletionBlock)(NSDictionary *dictionary, NSError *error);

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.