You are here

searchWithStatement:language:completionBlock

-(AlfrescoRequest *) searchWithStatement:(NSString *)statement language:(AlfrescoSearchLanguage)language completionBlock:(AlfrescoArrayCompletionBlock)completionBlock - executes a query statement against the contents of the repository using the given search language.

Parameters

(NSString *) statement
The query statement.
(AlfrescoSearchLanguage) language
The search language to use.
(AlfrescoArrayCompletionBlock) completionBlock
The block that is called with the search results on completion of the operation. The completion block has the format typedef void (^AlfrescoArrayCompletionBlock)(NSArray *array, NSError *error).

Returns

(AlfrescoRequest *)

Example