You are here

retrieveDefinitionForType:completionBlock

- (AlfrescoRequest *)retrieveDefinitionForType:(NSString *)type completionBlock:(AlfrescoTypeDefinitonCompletionBlock)completionBlock - Returns the type definition for the given type, for example cm:content, wf:adhocTask, cm:person.

Parameters

(NSString *) type
The type to return the type definition for.
(AlfrescoTypeDefinitionCompletionBlock) completionBlock
The block that is called with the result on completion of the operation. The completion block has the format typedef void (^AlfrescoTypeDefinitionCompletionBlock)(AlfrescoTypeDefinition *typeDefinition, NSError *error);.

Returns

(AlfrescoRequest *)

Example