Package org.onebusaway.gtfs.services
Interface GtfsDao
- All Superinterfaces:
GenericDao
- All Known Subinterfaces:
GtfsDataService,GtfsMutableDao,GtfsMutableRelationalDao,GtfsRelationalDao
- All Known Implementing Classes:
GtfsDaoImpl,GtfsDataServiceImpl,GtfsRelationalDaoImpl
Basic methods for accessing GTFS entities in bulk or by id.
- Author:
- bdferris
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetadata(String filename, String content) getAgencyForId(String id) Agency MethodsAreaMethodsServiceCalendarDateMethodsServiceCalendarMethodsFareAttributeMethodsFareLegRuleMethodsFareMediumMethodsFareProductMethodsFareRuleMethodsFareTransferRuleMethodsFeedInfoMethodsFrequencyMethodsDeprecated.NetworkMethodsPathwayMethodsRiderCategoryMethodsRouteMethodsShapePointMethodsStopMethodsStopTimeMethodsTransferMethodsTranslationMethodsTripMethodsVehicleMethodsgetBlockForId(int id) getCalendarDateForId(int id) getCalendarForId(int id) getFareRuleForId(int id) getFrequencyForId(int id) getMetadata(String filename) getShapePointForId(int id) getStopTimeForId(int id) getTransferForId(int id) VehicleMethodsdefault booleandefault booleanbooleanhasMetadata(String filename) Methods inherited from interface org.onebusaway.gtfs.services.GenericDao
getAllEntitiesForType, getEntityForId
-
Method Details
-
getAllAgencies
Collection<Agency> getAllAgencies()Agency Methods -
getAgencyForId
-
getAllCalendars
Collection<ServiceCalendar> getAllCalendars()ServiceCalendarMethods -
getCalendarForId
-
getAllCalendarDates
Collection<ServiceCalendarDate> getAllCalendarDates()ServiceCalendarDateMethods -
getCalendarDateForId
-
getAllFareAttributes
Collection<FareAttribute> getAllFareAttributes()FareAttributeMethods -
getFareAttributeForId
-
getAllFareLegRules
Collection<FareLegRule> getAllFareLegRules()FareLegRuleMethods -
getAllFareProducts
Collection<FareProduct> getAllFareProducts()FareProductMethods -
getFareProductForId
-
getAllFareMedia
Collection<FareMedium> getAllFareMedia()FareMediumMethods -
getAllRiderCategories
Collection<RiderCategory> getAllRiderCategories()RiderCategoryMethods -
getAllFareRules
Collection<FareRule> getAllFareRules()FareRuleMethods -
getFareRuleForId
-
getAllFareTransferRules
Collection<FareTransferRule> getAllFareTransferRules()FareTransferRuleMethods -
getAllFeedInfos
Collection<FeedInfo> getAllFeedInfos()FeedInfoMethods -
getFeedInfoForId
-
getAllFrequencies
Collection<Frequency> getAllFrequencies()FrequencyMethods -
getFrequencyForId
-
getAllPathways
Collection<Pathway> getAllPathways()PathwayMethods -
getPathwayForId
-
getAllLevels
Collection<Level> getAllLevels() -
getLevelForId
-
getAllRoutes
Collection<Route> getAllRoutes()RouteMethods -
getAllRouteStops
Collection<RouteStop> getAllRouteStops() -
getAllRouteShapes
Collection<RouteShape> getAllRouteShapes() -
getRouteForId
-
getAllShapePoints
Collection<ShapePoint> getAllShapePoints()ShapePointMethods -
getShapePointForId
-
getAllStops
Collection<Stop> getAllStops()StopMethods -
getStopForId
-
getAllStopTimes
Collection<StopTime> getAllStopTimes()StopTimeMethods -
getStopTimeForId
-
getAllTransfers
Collection<Transfer> getAllTransfers()TransferMethods -
getTransferForId
-
getAllTrips
Collection<Trip> getAllTrips()TripMethods -
getTripForId
-
getAllBlocks
Collection<Block> getAllBlocks() -
getBlockForId
-
getAllRiderships
Collection<Ridership> getAllRiderships() -
getAllVehicles
Collection<Vehicle> getAllVehicles()VehicleMethods -
getVehicleForId
VehicleMethods -
getAllAreas
Collection<Area> getAllAreas()AreaMethods -
getAllLocationGroupElements
Deprecated. -
getAllLocationGroups
Collection<LocationGroup> getAllLocationGroups() -
getAllStopAreaElements
Collection<StopAreaElement> getAllStopAreaElements() -
getAllStopAreas
Collection<StopArea> getAllStopAreas() -
getAllLocations
Collection<Location> getAllLocations() -
getAllBookingRules
Collection<BookingRule> getAllBookingRules() -
getAllTranslations
Collection<Translation> getAllTranslations()TranslationMethods -
getAllNetworks
Collection<Network> getAllNetworks()NetworkMethods -
getAllDirectionEntries
Collection<DirectionEntry> getAllDirectionEntries() -
getAllWrongWayConcurrencies
Collection<WrongWayConcurrency> getAllWrongWayConcurrencies() -
hasFaresV1
default boolean hasFaresV1() -
hasFaresV2
default boolean hasFaresV2() -
getOptionalMetadataFilenames
-
hasMetadata
-
getMetadata
-
addMetadata
-