pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.core.site.search
Class SearchSiteSuggestions

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.component.core.site.search.SearchSiteSuggestions

public final class SearchSiteSuggestions
extends Controller

returns the SearchSuggestions for the query in a JSONOutputEvent.

Version:
$Revision: 1459 $
Author:
Thomas Weber

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
SearchSiteSuggestions()
           
 
Method Summary
 java.lang.Object run(ServiceRequest request)
          returns the SearchSuggestions for the query in a JSONOutputEvent.
 
Methods inherited from class org.torweg.pulse.bundle.Controller
getAlwaysRun, isAlwaysRun, setAlwaysRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchSiteSuggestions

public SearchSiteSuggestions()
Method Detail

run

@Action(value="searchSuggestions", generate=true, security=KEEP)
@Permission(value="searchSuggestions")
public java.lang.Object run(ServiceRequest request)
returns the SearchSuggestions for the query in a JSONOutputEvent.

The query is sent with the Parameter q .

Parameters:
request - the ServiceRequest as a basic context for the Controller
Returns:
null