de.pangaea.metadataportal.search
Interface SearchResultCollector


public interface SearchResultCollector

Implement this interface to collect search results.

Author:
Uwe Schindler

Method Summary
 boolean collect(SearchResultItem item)
          This method is called every time a search result item was found during search.
 

Method Detail

collect

boolean collect(SearchResultItem item)
This method is called every time a search result item was found during search.

Parameters:
item - the found search result item (contained fields and XML blob depends on parameters of used search method in SearchService)
Returns:
true, if further results should be collected – false, if collecting must be stopped (use this to signal that you got enough items)


Copyright ©2007-2009 panFMP Developers c/o Uwe Schindler