- (AlfrescoRequest *)retrieveDefinitionForFolderType:(NSString *)type
completionBlock:(AlfrescoFolderTypeDefinitionCompletionBlock)completionBlock; -
Returns the type definition for the given document type, for example "cm:folder". 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.
- (AlfrescoFolderTypeDefinitionCompletionBlock)block
- The block that is called on completion of the operation. The block has the format typedef void (^AlfrescoFolderTypeDefinitonCompletionBlock)(AlfrescoFolderTypeDefinition *typeDefinition, NSError *error);.
Returns
(AlfrescoRequest *)