You are here

retrieveDefinitionForDocument

- (AlfrescoRequest *)retrieveDefinitionForDocument:(AlfrescoDocument *)document completionBlock:(AlfrescoDocumentTypeDefinitionCompletionBlock)block; - Returns the complete type definition for the given Document, the returned definition will also include all properties from all applied aspects.

Parameters

(AlfrescoDocument *) document
Document 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 *)

Example