| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.spark.search.SearchManager
public class SearchManager
Users of the SearchManager can add their own Searchable objects to the Spark
 search service. This allows for a pluggable search architecture by simply plugging into the
 find area of the bottom of Spark.
| Method Summary | |
|---|---|
 void | 
addSearchService(Searchable searchable)
Add your own Searchable service.The UI will take
 immediate effect to indicate that this search service is now available as
 an option. | 
static SearchManager | 
getInstance()
Returns the singleton instance of SearchManager,
 creating it if necessary. | 
 java.util.Collection<Searchable> | 
getSearchServices()
Returns all registered search services.  | 
 SearchService | 
getSearchServiceUI()
 | 
 void | 
removeSearchService(Searchable searchable)
Remove the Searchable service. | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static SearchManager getInstance()
SearchManager,
 creating it if necessary.
 
SearchManagerpublic void addSearchService(Searchable searchable)
Searchable service.The UI will take
 immediate effect to indicate that this search service is now available as
 an option.
searchable - the search service.public void removeSearchService(Searchable searchable)
Searchable service. The UI will take
 immediate effect to indicate that this search service is no longer
 an option.
searchable - the searchable object to remove.public java.util.Collection<Searchable> getSearchServices()
public SearchService getSearchServiceUI()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||