You are here

searchWithKeywords:options:listingContext:completionBlock

-(AlfrescoRequest *) searchWithKeywords:(NSString *)keywords options:(AlfrescoKeywordSearchOptions)options listingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)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. This method specifies a listing context.

Parameters

(NSString *) keywords
The space delimited list of keywords.
(AlfrescoKeywordsSearchOptions *) options
The search language to use.
(AlfrescoListingContext *) listingContext
The listing context with a paging definition that is used to retrieve the search results.
(AlfrescoPagingResultCompletionBlock) completionBlock
The block that is called with the search results on completion of the operation. The completion block has the format typedef void (^AlfrescoPagingResultCompletionBlock)(AlfrescoPagingResult *pagingResult, NSError *error).

Returns

(AlfrescoRequest *)

Example