org.onebusaway.gtfs.services
Interface GtfsDao

All Superinterfaces:
GenericDao
All Known Subinterfaces:
GtfsMutableDao, GtfsMutableRelationalDao, GtfsRelationalDao
All Known Implementing Classes:
GtfsDaoImpl, GtfsRelationalDaoImpl

public interface GtfsDao
extends GenericDao

Basic methods for accessing GTFS entities in bulk or by id.

Author:
bdferris

Method Summary
 Agency getAgencyForId(String id)
           
 Collection<Agency> getAllAgencies()
          Agency Methods
 Collection<ServiceCalendarDate> getAllCalendarDates()
          ServiceCalendarDate Methods
 Collection<ServiceCalendar> getAllCalendars()
          ServiceCalendar Methods
 Collection<FareAttribute> getAllFareAttributes()
          FareAttribute Methods
 Collection<FareRule> getAllFareRules()
          FareRule Methods
 Collection<Frequency> getAllFrequencies()
          Frequency Methods
 Collection<Pathway> getAllPathways()
          Pathway Methods
 Collection<Route> getAllRoutes()
          Route Methods
 Collection<ShapePoint> getAllShapePoints()
          ShapePoint Methods
 Collection<Stop> getAllStops()
          Stop Methods
 Collection<StopTime> getAllStopTimes()
          StopTime Methods
 Collection<Transfer> getAllTransfers()
          Transfer Methods
 Collection<Trip> getAllTrips()
          Trip Methods
 ServiceCalendarDate getCalendarDateForId(int id)
           
 ServiceCalendar getCalendarForId(int id)
           
 FareAttribute getFareAttributeForId(AgencyAndId id)
           
 FareRule getFareRuleForId(int id)
           
 Frequency getFrequencyForId(int id)
           
 Pathway getPathwayForId(AgencyAndId id)
           
 Route getRouteForId(AgencyAndId id)
           
 ShapePoint getShapePointForId(int id)
           
 Stop getStopForId(AgencyAndId id)
           
 StopTime getStopTimeForId(int id)
           
 Transfer getTransferForId(int id)
           
 Trip getTripForId(AgencyAndId id)
           
 
Methods inherited from interface org.onebusaway.gtfs.services.GenericDao
getAllEntitiesForType, getEntityForId
 

Method Detail

getAllAgencies

Collection<Agency> getAllAgencies()
Agency Methods


getAgencyForId

Agency getAgencyForId(String id)

getAllCalendars

Collection<ServiceCalendar> getAllCalendars()
ServiceCalendar Methods


getCalendarForId

ServiceCalendar getCalendarForId(int id)

getAllCalendarDates

Collection<ServiceCalendarDate> getAllCalendarDates()
ServiceCalendarDate Methods


getCalendarDateForId

ServiceCalendarDate getCalendarDateForId(int id)

getAllFareAttributes

Collection<FareAttribute> getAllFareAttributes()
FareAttribute Methods


getFareAttributeForId

FareAttribute getFareAttributeForId(AgencyAndId id)

getAllFareRules

Collection<FareRule> getAllFareRules()
FareRule Methods


getFareRuleForId

FareRule getFareRuleForId(int id)

getAllFrequencies

Collection<Frequency> getAllFrequencies()
Frequency Methods


getFrequencyForId

Frequency getFrequencyForId(int id)

getAllPathways

Collection<Pathway> getAllPathways()
Pathway Methods


getPathwayForId

Pathway getPathwayForId(AgencyAndId id)

getAllRoutes

Collection<Route> getAllRoutes()
Route Methods


getRouteForId

Route getRouteForId(AgencyAndId id)

getAllShapePoints

Collection<ShapePoint> getAllShapePoints()
ShapePoint Methods


getShapePointForId

ShapePoint getShapePointForId(int id)

getAllStops

Collection<Stop> getAllStops()
Stop Methods


getStopForId

Stop getStopForId(AgencyAndId id)

getAllStopTimes

Collection<StopTime> getAllStopTimes()
StopTime Methods


getStopTimeForId

StopTime getStopTimeForId(int id)

getAllTransfers

Collection<Transfer> getAllTransfers()
Transfer Methods


getTransferForId

Transfer getTransferForId(int id)

getAllTrips

Collection<Trip> getAllTrips()
Trip Methods


getTripForId

Trip getTripForId(AgencyAndId id)


Copyright © 2011 OneBusAway. All Rights Reserved.