org.onebusaway.transit_data_federation.services.beans
Interface StopsBeanService


public interface StopsBeanService

Service methods for retrieving lists of stops, usually with a search query. Note that a StopBean is our portable representation of a Stop object.

Author:
bdferris
See Also:
StopBean, Stop

Method Summary
 StopsBean getStops(SearchQueryBean query)
          TODO: Convert this to use at some point?
 ListBean<String> getStopsIdsForAgencyId(String agencyId)
           
 

Method Detail

getStops

StopsBean getStops(SearchQueryBean query)
                   throws ServiceException
TODO: Convert this to use at some point?

Parameters:
query - the stop search query
Returns:
stops that match the specified query
Throws:
ServiceException

getStopsIdsForAgencyId

ListBean<String> getStopsIdsForAgencyId(String agencyId)
Parameters:
agencyId - see Agency.getId()
Returns:
the list of all stops for the specified agency


Copyright © 2012 OneBusAway. All Rights Reserved.