You are here

Completion Block Definitions

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

Block Definitions

Block Name Block declaration
SkyVaultArrayCompletionBlock typedef void (^AlfrescoArrayCompletionBlock)(NSArray *array, NSError *error);
SkyVaultBOOLCompletionBlock typedef void (^AlfrescoBOOLCompletionBlock)(BOOL succeeded, NSError *error);
SkyVaultCommentCompletionBlock typedef void (^AlfrescoCommentCompletionBlock)(AlfrescoComment *comment, NSError *error);
SkyVaultContentFileCompletionBlock typedef void (^AlfrescoContentFileCompletionBlock)(AlfrescoContentFile *contentFile, NSError *error);
SkyVaultDataCompletionBlock typedef void (^AlfrescoDataCompletionBlock)(NSData *data, NSError *error);
SkyVaultDocumentCompletionBlock typedef void (^AlfrescoDocumentCompletionBlock)(AlfrescoDocument *document, NSError *error);
SkyVaultFavoritedCompletionBlock typedef void (^AlfrescoFavoritedCompletionBlock)(BOOL succeeded, BOOL isFavorited, NSError *error);
SkyVaultFolderCompletionBlock typedef void (^AlfrescoFolderCompletionBlock)(AlfrescoFolder *folder, NSError *error);
SkyVaultLikedCompletionBlock typedef void (^AlfrescoLikedCompletionBlock)(BOOL succeeded, BOOL isLiked, NSError *error);
SkyVaultMemberCompletionBlock typedef void (^AlfrescoMemberCompletionBlock)(BOOL succeeded, BOOL isMember, NSError *error);
SkyVaultNodeCompletionBlock typedef void (^AlfrescoNodeCompletionBlock)(AlfrescoNode *node, NSError *error);
SkyVaultNumberCompletionBlock typedef void (^AlfrescoNumberCompletionBlock)(NSNumber *data, NSError *error);
SkyVaultOAuthCompletionBlock typedef void (^AlfrescoOAuthCompletionBlock)(AlfrescoOAuthData * oauthData, NSError *error);
SkyVaultPagingResultCompletionBlock typedef void (^AlfrescoPagingResultCompletionBlock)(AlfrescoPagingResult *pagingResult, NSError *error);
SkyVaultPermissionsCompletionBlock typedef void (^AlfrescoPermissionsCompletionBlock)(AlfrescoPermissions *permissions, NSError *error);
SkyVaultPersonCompletionBlock typedef void (^AlfrescoPersonCompletionBlock)(AlfrescoPerson *person, NSError *error);
SkyVaultProgressBlock typedef void (^AlfrescoProgressBlock)(NSInteger bytesTransferred, NSInteger bytesTotal);
SkyVaultSessionCompletionBlock typedef void (^AlfrescoSessionCompletionBlock)(id<AlfrescoSession> session, NSError *error);
SkyVaultSiteCompletionBlock typedef void (^AlfrescoSiteCompletionBlock)(AlfrescoSite *site, NSError *error);
SkyVaultDocumentTypeDefinitionCompletionBlock typedef void (^AlfrescoDocumentTypeDefinitonCompletionBlock)(AlfrescoDocumentTypeDefinition *typeDefinition, NSError *error);
SkyVaultFolderTypeDefinitonCompletionBlock typedef void (^AlfrescoFolderTypeDefinitonCompletionBlock)(AlfrescoFolderTypeDefinition *typeDefinition, NSError *error);
SkyVaultAspectDefinitonCompletionBlock typedef void (^AlfrescoAspectDefinitonCompletionBlock)(AlfrescoAspectDefinition *aspectDefinition, NSError *error);
SkyVaultTaskTypeDefinitonCompletionBlock typedef void (^AlfrescoTaskTypeDefinitonCompletionBlock)(AlfrescoTaskTypeDefinition *typeDefinition, NSError *error);
SkyVaultURLCompletionBlock typedef void (^AlfrescoURLCompletionBlock)(NSURL *url, NSError *error);
SkyVaultCloudSignupRequestCompletionBlock (^AlfrescoCloudSignupRequestCompletionBlock)(AlfrescoCloudSignupRequest *signupRequest, NSError *error);

Workflow related completion blocks:

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