org.onebusaway.webapp.gwt.where_library.rpc
Interface WebappServiceAsync

All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService

public interface WebappServiceAsync
extends com.google.gwt.user.client.rpc.RemoteService


Field Summary
static WebappServiceAsync SERVICE
           
static String SERVICE_PATH
           
 
Method Summary
 void clearDefaultLocationForUser(com.google.gwt.user.client.rpc.AsyncCallback<UserBean> callback)
           
 void getAgencies(com.google.gwt.user.client.rpc.AsyncCallback<List<AgencyWithCoverageBean>> callback)
           
 void getArrivalsByStopId(String stopId, com.google.gwt.user.client.rpc.AsyncCallback<StopWithArrivalsAndDeparturesBean> callback)
           
 void getCurrentUser(com.google.gwt.user.client.rpc.AsyncCallback<UserBean> callback)
           
 void getLocalPathsToStops(ConstraintsBean constraints, MinTravelTimeToStopsBean travelTimes, List<LocalSearchResult> localResults, com.google.gwt.user.client.rpc.AsyncCallback<List<TimedPlaceBean>> callback)
           
 void getMinTravelTimeToStopsFrom(CoordinatePoint location, long time, TransitShedConstraintsBean constraints, int timeSegmentSize, com.google.gwt.user.client.rpc.AsyncCallback<MinTransitTimeResult> callback)
           
 void getRouteForId(String routeId, com.google.gwt.user.client.rpc.AsyncCallback<RouteBean> callback)
           
 void getRoutes(SearchQueryBean query, com.google.gwt.user.client.rpc.AsyncCallback<RoutesBean> callback)
           
 void getRoutesAndStops(SearchQueryBean query, com.google.gwt.user.client.rpc.AsyncCallback<RoutesAndStopsBean> callback)
           
 void getScheduleForStop(String stopId, Date date, com.google.gwt.user.client.rpc.AsyncCallback<StopScheduleBean> schedule)
           
 void getStop(String stopId, com.google.gwt.user.client.rpc.AsyncCallback<StopBean> callback)
           
 void getStops(SearchQueryBean query, com.google.gwt.user.client.rpc.AsyncCallback<StopsBean> callback)
           
 void getStopsForRoute(String routeId, com.google.gwt.user.client.rpc.AsyncCallback<StopsForRouteBean> callback)
           
 void getTripsBetween(CoordinatePoint from, CoordinatePoint to, long time, ConstraintsBean constraints, com.google.gwt.user.client.rpc.AsyncCallback<ItinerariesBean> callback)
           
 void getTripsForBounds(TripsForBoundsQueryBean query, com.google.gwt.user.client.rpc.AsyncCallback<ListBean<TripDetailsBean>> callback)
           
 void setDefaultLocationForUser(String locationName, double lat, double lon, com.google.gwt.user.client.rpc.AsyncCallback<UserBean> callback)
           
 

Field Detail

SERVICE_PATH

static final String SERVICE_PATH
See Also:
Constant Field Values

SERVICE

static final WebappServiceAsync SERVICE
Method Detail

getCurrentUser

void getCurrentUser(com.google.gwt.user.client.rpc.AsyncCallback<UserBean> callback)

setDefaultLocationForUser

void setDefaultLocationForUser(String locationName,
                               double lat,
                               double lon,
                               com.google.gwt.user.client.rpc.AsyncCallback<UserBean> callback)

clearDefaultLocationForUser

void clearDefaultLocationForUser(com.google.gwt.user.client.rpc.AsyncCallback<UserBean> callback)

getAgencies

void getAgencies(com.google.gwt.user.client.rpc.AsyncCallback<List<AgencyWithCoverageBean>> callback)

getRoutes

void getRoutes(SearchQueryBean query,
               com.google.gwt.user.client.rpc.AsyncCallback<RoutesBean> callback)

getRoutesAndStops

void getRoutesAndStops(SearchQueryBean query,
                       com.google.gwt.user.client.rpc.AsyncCallback<RoutesAndStopsBean> callback)

getRouteForId

void getRouteForId(String routeId,
                   com.google.gwt.user.client.rpc.AsyncCallback<RouteBean> callback)

getStopsForRoute

void getStopsForRoute(String routeId,
                      com.google.gwt.user.client.rpc.AsyncCallback<StopsForRouteBean> callback)

getStops

void getStops(SearchQueryBean query,
              com.google.gwt.user.client.rpc.AsyncCallback<StopsBean> callback)

getStop

void getStop(String stopId,
             com.google.gwt.user.client.rpc.AsyncCallback<StopBean> callback)

getArrivalsByStopId

void getArrivalsByStopId(String stopId,
                         com.google.gwt.user.client.rpc.AsyncCallback<StopWithArrivalsAndDeparturesBean> callback)

getScheduleForStop

void getScheduleForStop(String stopId,
                        Date date,
                        com.google.gwt.user.client.rpc.AsyncCallback<StopScheduleBean> schedule)

getTripsForBounds

void getTripsForBounds(TripsForBoundsQueryBean query,
                       com.google.gwt.user.client.rpc.AsyncCallback<ListBean<TripDetailsBean>> callback)

getTripsBetween

void getTripsBetween(CoordinatePoint from,
                     CoordinatePoint to,
                     long time,
                     ConstraintsBean constraints,
                     com.google.gwt.user.client.rpc.AsyncCallback<ItinerariesBean> callback)

getMinTravelTimeToStopsFrom

void getMinTravelTimeToStopsFrom(CoordinatePoint location,
                                 long time,
                                 TransitShedConstraintsBean constraints,
                                 int timeSegmentSize,
                                 com.google.gwt.user.client.rpc.AsyncCallback<MinTransitTimeResult> callback)

getLocalPathsToStops

void getLocalPathsToStops(ConstraintsBean constraints,
                          MinTravelTimeToStopsBean travelTimes,
                          List<LocalSearchResult> localResults,
                          com.google.gwt.user.client.rpc.AsyncCallback<List<TimedPlaceBean>> callback)


Copyright © 2011 OneBusAway. All Rights Reserved.