org.onebusaway.transit_data_federation.services.beans
Interface RoutesBeanService


public interface RoutesBeanService

Service methods for retrieving lists of routes, usually with a search query. Note that like , the underlying representation of a route in a transit data federation bundle is a RouteCollectionEntry, not a Route.

Author:
bdferris

Method Summary
 ListBean<String> getRouteIdsForAgencyId(String agencyId)
           
 ListBean<RouteBean> getRoutesForAgencyId(String agencyId)
           
 RoutesBean getRoutesForQuery(SearchQueryBean query)
          TODO: Convert this to use at some point?
 

Method Detail

getRoutesForQuery

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

Parameters:
query - the route search query
Returns:
routes that match the specified query
Throws:
ServiceException

getRouteIdsForAgencyId

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

getRoutesForAgencyId

ListBean<RouteBean> getRoutesForAgencyId(String agencyId)


Copyright © 2012 OneBusAway. All Rights Reserved.