org.onebusaway.webapp.gwt.oba_application.control
Class LocalSearchHandler

java.lang.Object
  extended by org.onebusaway.webapp.gwt.oba_application.control.LocalSearchHandler
All Implemented Interfaces:
LocalSearchCallback

public class LocalSearchHandler
extends Object
implements LocalSearchCallback


Constructor Summary
LocalSearchHandler(TransitShedConstraintsBean constraints, MinTransitTimeResult result)
           
 
Method Summary
 void addQuery(String query, String category)
           
 void onFailure(Throwable ex)
           
 void onSuccess(List<LocalSearchResult> results)
           
 void run()
           
 void setEventSink(ModelEventSink<StateEvent> events)
           
 void setLocalSearchProvider(LocalSearchProvider searchProvider)
           
 void setModel(ResultsModel model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalSearchHandler

public LocalSearchHandler(TransitShedConstraintsBean constraints,
                          MinTransitTimeResult result)
Method Detail

setEventSink

public void setEventSink(ModelEventSink<StateEvent> events)

setLocalSearchProvider

public void setLocalSearchProvider(LocalSearchProvider searchProvider)

setModel

public void setModel(ResultsModel model)

addQuery

public void addQuery(String query,
                     String category)

run

public void run()

onSuccess

public void onSuccess(List<LocalSearchResult> results)
Specified by:
onSuccess in interface LocalSearchCallback

onFailure

public void onFailure(Throwable ex)
Specified by:
onFailure in interface LocalSearchCallback


Copyright © 2011 OneBusAway. All Rights Reserved.