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(java.lang.String id)
           
 java.util.Collection<Agency> getAllAgencies()
          Agency Methods
 java.util.Collection<ServiceCalendarDate> getAllCalendarDates()
          ServiceCalendarDate Methods
 java.util.Collection<ServiceCalendar> getAllCalendars()
          ServiceCalendar Methods
 java.util.Collection<FareAttribute> getAllFareAttributes()
          FareAttribute Methods
 java.util.Collection<FareRule> getAllFareRules()
          FareRule Methods
 java.util.Collection<Frequency> getAllFrequencies()
          Frequency Methods
 java.util.Collection<Pathway> getAllPathways()
          Pathway Methods
 java.util.Collection<Route> getAllRoutes()
          Route Methods
 java.util.Collection<ShapePoint> getAllShapePoints()
          ShapePoint Methods
 java.util.Collection<Stop> getAllStops()
          Stop Methods
 java.util.Collection<StopTime> getAllStopTimes()
          StopTime Methods
 java.util.Collection<Transfer> getAllTransfers()
          Transfer Methods
 java.util.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

java.util.Collection<Agency> getAllAgencies()
Agency Methods


getAgencyForId

Agency getAgencyForId(java.lang.String id)

getAllCalendars

java.util.Collection<ServiceCalendar> getAllCalendars()
ServiceCalendar Methods


getCalendarForId

ServiceCalendar getCalendarForId(int id)

getAllCalendarDates

java.util.Collection<ServiceCalendarDate> getAllCalendarDates()
ServiceCalendarDate Methods


getCalendarDateForId

ServiceCalendarDate getCalendarDateForId(int id)

getAllFareAttributes

java.util.Collection<FareAttribute> getAllFareAttributes()
FareAttribute Methods


getFareAttributeForId

FareAttribute getFareAttributeForId(AgencyAndId id)

getAllFareRules

java.util.Collection<FareRule> getAllFareRules()
FareRule Methods


getFareRuleForId

FareRule getFareRuleForId(int id)

getAllFrequencies

java.util.Collection<Frequency> getAllFrequencies()
Frequency Methods


getFrequencyForId

Frequency getFrequencyForId(int id)

getAllPathways

java.util.Collection<Pathway> getAllPathways()
Pathway Methods


getPathwayForId

Pathway getPathwayForId(AgencyAndId id)

getAllRoutes

java.util.Collection<Route> getAllRoutes()
Route Methods


getRouteForId

Route getRouteForId(AgencyAndId id)

getAllShapePoints

java.util.Collection<ShapePoint> getAllShapePoints()
ShapePoint Methods


getShapePointForId

ShapePoint getShapePointForId(int id)

getAllStops

java.util.Collection<Stop> getAllStops()
Stop Methods


getStopForId

Stop getStopForId(AgencyAndId id)

getAllStopTimes

java.util.Collection<StopTime> getAllStopTimes()
StopTime Methods


getStopTimeForId

StopTime getStopTimeForId(int id)

getAllTransfers

java.util.Collection<Transfer> getAllTransfers()
Transfer Methods


getTransferForId

Transfer getTransferForId(int id)

getAllTrips

java.util.Collection<Trip> getAllTrips()
Trip Methods


getTripForId

Trip getTripForId(AgencyAndId id)


Copyright © 2010 OneBusAway. All Rights Reserved.