org.onebusaway.webapp.gwt.where_library.rpc
Interface WebappService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
- WebappServiceServletImpl
public interface WebappService
- extends com.google.gwt.user.client.rpc.RemoteService
Method Summary |
UserBean |
clearDefaultLocationForUser()
|
List<AgencyWithCoverageBean> |
getAgencies()
|
StopWithArrivalsAndDeparturesBean |
getArrivalsByStopId(String stopId)
|
UserBean |
getCurrentUser()
|
List<TimedPlaceBean> |
getLocalPathsToStops(ConstraintsBean constraints,
MinTravelTimeToStopsBean travelTimes,
List<LocalSearchResult> localResults)
|
MinTransitTimeResult |
getMinTravelTimeToStopsFrom(CoordinatePoint location,
long time,
TransitShedConstraintsBean constraints,
int timeSegmentSize)
|
RouteBean |
getRouteForId(String routeId)
|
RoutesBean |
getRoutes(SearchQueryBean query)
|
RoutesAndStopsBean |
getRoutesAndStops(SearchQueryBean query)
|
StopScheduleBean |
getScheduleForStop(String stopId,
Date date)
|
StopBean |
getStop(String stopId)
|
StopsBean |
getStops(SearchQueryBean query)
|
StopsForRouteBean |
getStopsForRoute(String routeId)
|
ItinerariesBean |
getTripsBetween(CoordinatePoint from,
CoordinatePoint to,
long time,
ConstraintsBean constraints)
|
ListBean<TripDetailsBean> |
getTripsForBounds(TripsForBoundsQueryBean query)
|
UserBean |
setDefaultLocationForUser(String locationName,
double lat,
double lon)
|
getCurrentUser
UserBean getCurrentUser()
setDefaultLocationForUser
UserBean setDefaultLocationForUser(String locationName,
double lat,
double lon)
clearDefaultLocationForUser
UserBean clearDefaultLocationForUser()
getAgencies
List<AgencyWithCoverageBean> getAgencies()
throws ServiceException
- Throws:
ServiceException
getRoutesAndStops
RoutesAndStopsBean getRoutesAndStops(SearchQueryBean query)
throws ServiceException
- Throws:
ServiceException
getRoutes
RoutesBean getRoutes(SearchQueryBean query)
throws ServiceException
- Throws:
ServiceException
getRouteForId
RouteBean getRouteForId(String routeId)
throws ServiceException
- Throws:
ServiceException
getStopsForRoute
StopsForRouteBean getStopsForRoute(String routeId)
throws ServiceException
- Throws:
ServiceException
getStops
StopsBean getStops(SearchQueryBean query)
throws ServiceException
- Throws:
ServiceException
getStop
StopBean getStop(String stopId)
throws ServiceException
- Throws:
ServiceException
getArrivalsByStopId
StopWithArrivalsAndDeparturesBean getArrivalsByStopId(String stopId)
throws ServiceException
- Throws:
ServiceException
getScheduleForStop
StopScheduleBean getScheduleForStop(String stopId,
Date date)
throws ServiceException
- Throws:
ServiceException
getTripsForBounds
ListBean<TripDetailsBean> getTripsForBounds(TripsForBoundsQueryBean query)
getTripsBetween
ItinerariesBean getTripsBetween(CoordinatePoint from,
CoordinatePoint to,
long time,
ConstraintsBean constraints)
throws ServiceException
- Throws:
ServiceException
getMinTravelTimeToStopsFrom
MinTransitTimeResult getMinTravelTimeToStopsFrom(CoordinatePoint location,
long time,
TransitShedConstraintsBean constraints,
int timeSegmentSize)
throws ServiceException
- Throws:
ServiceException
getLocalPathsToStops
List<TimedPlaceBean> getLocalPathsToStops(ConstraintsBean constraints,
MinTravelTimeToStopsBean travelTimes,
List<LocalSearchResult> localResults)
throws ServiceException
- Throws:
ServiceException
Copyright © 2012 OneBusAway. All Rights Reserved.