You are here

searchWithKeywords:options:completionBlock

-(AlfrescoRequest *) searchWithKeywords:(NSString *)keywords options:(AlfrescoKeywordSearchOptions)options completionBlock:(AlfrescoArrayCompletionBlock)completionBlock - a space delimited list of keywords to search for. The options object defines the behavior of the search, for example, whether to limit the search to a specific folder.

Parameters

(NSString *) keywords
The space delimited list of keywords.
(AlfrescoKeywordsSearchOptions *) options
The search language to use.
(AlfrescoArrayCompletionBlock) completionBlock
The block that is called with the search results on completion of the operation. The block has the format typedef void (^AlfrescoArrayCompletionBlock)(NSArray *array, NSError *error).

Returns

(AlfrescoRequest *)

Example