- (AlfrescoRequest *)retrieveDefinitionForDocumentType:(NSString
*)type completionBlock:(AlfrescoDocumentTypeDefinitionCompletionBlock)block; -
Returns the type definition for the given document type, for example "cm:content". An error
with a code of 1301 is returned if the type is null or unknown.
Parameters
- (NSString *) type
- Type to retrieve the definition for.
- (AlfrescoDocumentTypeDefinitionCompletionBlock)block
- The block that is called on completion of the operation. The block has the format typedef void (^AlfrescoDocumentTypeDefinitonCompletionBlock)(AlfrescoDocumentTypeDefinition *typeDefinition, NSError *error);.
Returns
(AlfrescoRequest *)