org.onebusaway.transit_data_federation.services.beans
Interface StopWithArrivalsAndDeparturesBeanService


public interface StopWithArrivalsAndDeparturesBeanService

Service methods for retrieving information about a stop or stops along with the arrival and departure information for that stop in a specified time range.

Author:
bdferris
See Also:
StopWithArrivalsAndDeparturesBean, StopsWithArrivalsAndDeparturesBean

Method Summary
 StopWithArrivalsAndDeparturesBean getArrivalsAndDeparturesByStopId(org.onebusaway.gtfs.model.AgencyAndId stopId, ArrivalsAndDeparturesQueryBean query)
          Retrieve information about a stop along with the arrival and departure information for that stop in a specified time range
 StopsWithArrivalsAndDeparturesBean getArrivalsAndDeparturesForStopIds(Set<org.onebusaway.gtfs.model.AgencyAndId> stopIds, ArrivalsAndDeparturesQueryBean query)
          Retrieve information about stops along with the arrival and departure information for that stop in a specified time range
 

Method Detail

getArrivalsAndDeparturesByStopId

StopWithArrivalsAndDeparturesBean getArrivalsAndDeparturesByStopId(org.onebusaway.gtfs.model.AgencyAndId stopId,
                                                                   ArrivalsAndDeparturesQueryBean query)
Retrieve information about a stop along with the arrival and departure information for that stop in a specified time range

Parameters:
stopId - see Stop.getId()
timeFrom - time range lower bound
timeTo - time range upper bound
Returns:
stop with arrival and departure information, or null if not stop is found

getArrivalsAndDeparturesForStopIds

StopsWithArrivalsAndDeparturesBean getArrivalsAndDeparturesForStopIds(Set<org.onebusaway.gtfs.model.AgencyAndId> stopIds,
                                                                      ArrivalsAndDeparturesQueryBean query)
                                                                      throws NoSuchStopServiceException
Retrieve information about stops along with the arrival and departure information for that stop in a specified time range

Parameters:
stopIds - see Stop.getId()
timeFrom - time range lower bound
timeTo - time range upper bound
Returns:
stops with arrival and departure information
Throws:
NoSuchStopServiceException - if one of the specified stops could not be found


Copyright © 2012 OneBusAway. All Rights Reserved.