Package org.onebusaway.gtfs.services
Interface GtfsDao
-
- All Superinterfaces:
GenericDao
- All Known Subinterfaces:
GtfsDataService,GtfsMutableDao,GtfsMutableRelationalDao,GtfsRelationalDao
- All Known Implementing Classes:
GtfsDaoImpl,GtfsDataServiceImpl,GtfsRelationalDaoImpl
public interface GtfsDao extends GenericDao
Basic methods for accessing GTFS entities in bulk or by id.- Author:
- bdferris
-
-
Method Summary
-
Methods inherited from interface org.onebusaway.gtfs.services.GenericDao
getAllEntitiesForType, getEntityForId
-
-
-
-
Method Detail
-
getAllAgencies
Collection<Agency> getAllAgencies()
Agency Methods
-
getAllCalendars
Collection<ServiceCalendar> getAllCalendars()
ServiceCalendarMethods
-
getCalendarForId
ServiceCalendar getCalendarForId(int id)
-
getAllCalendarDates
Collection<ServiceCalendarDate> getAllCalendarDates()
ServiceCalendarDateMethods
-
getCalendarDateForId
ServiceCalendarDate getCalendarDateForId(int id)
-
getAllFareAttributes
Collection<FareAttribute> getAllFareAttributes()
FareAttributeMethods
-
getFareAttributeForId
FareAttribute getFareAttributeForId(AgencyAndId id)
-
getAllFareLegRules
Collection<FareLegRule> getAllFareLegRules()
FareLegRuleMethods
-
getAllFareProducts
Collection<FareProduct> getAllFareProducts()
FareProductMethods
-
getFareProductForId
FareProduct getFareProductForId(AgencyAndId id)
-
getAllFareMedia
Collection<FareMedium> getAllFareMedia()
FareMediumMethods
-
getAllRiderCategories
Collection<RiderCategory> getAllRiderCategories()
RiderCategoryMethods
-
getAllFareRules
Collection<FareRule> getAllFareRules()
FareRuleMethods
-
getFareRuleForId
FareRule getFareRuleForId(int id)
-
getAllFareTransferRules
Collection<FareTransferRule> getAllFareTransferRules()
FareTransferRuleMethods
-
getAllFeedInfos
Collection<FeedInfo> getAllFeedInfos()
FeedInfoMethods
-
getAllFrequencies
Collection<Frequency> getAllFrequencies()
FrequencyMethods
-
getFrequencyForId
Frequency getFrequencyForId(int id)
-
getAllPathways
Collection<Pathway> getAllPathways()
PathwayMethods
-
getPathwayForId
Pathway getPathwayForId(AgencyAndId id)
-
getAllLevels
Collection<Level> getAllLevels()
-
getLevelForId
Level getLevelForId(AgencyAndId id)
-
getAllRoutes
Collection<Route> getAllRoutes()
RouteMethods
-
getAllRouteStops
Collection<RouteStop> getAllRouteStops()
-
getAllRouteShapes
Collection<RouteShape> getAllRouteShapes()
-
getRouteForId
Route getRouteForId(AgencyAndId id)
-
getAllShapePoints
Collection<ShapePoint> getAllShapePoints()
ShapePointMethods
-
getShapePointForId
ShapePoint getShapePointForId(int id)
-
getAllStops
Collection<Stop> getAllStops()
StopMethods
-
getStopForId
Stop getStopForId(AgencyAndId id)
-
getAllStopTimes
Collection<StopTime> getAllStopTimes()
StopTimeMethods
-
getStopTimeForId
StopTime getStopTimeForId(int id)
-
getAllTransfers
Collection<Transfer> getAllTransfers()
TransferMethods
-
getTransferForId
Transfer getTransferForId(int id)
-
getAllTrips
Collection<Trip> getAllTrips()
TripMethods
-
getTripForId
Trip getTripForId(AgencyAndId id)
-
getAllBlocks
Collection<Block> getAllBlocks()
-
getBlockForId
Block getBlockForId(int id)
-
getAllRiderships
Collection<Ridership> getAllRiderships()
-
getAllVehicles
Collection<Vehicle> getAllVehicles()
VehicleMethods
-
getVehicleForId
Vehicle getVehicleForId(AgencyAndId id)
VehicleMethods
-
getAllAreas
Collection<Area> getAllAreas()
AreaMethods
-
getAllLocationGroupElements
@Deprecated Collection<LocationGroupElement> 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
-
getAllDirectionEntries
Collection<DirectionEntry> getAllDirectionEntries()
-
getAllWrongWayConcurrencies
Collection<WrongWayConcurrency> getAllWrongWayConcurrencies()
-
hasFaresV1
default boolean hasFaresV1()
-
hasFaresV2
default boolean hasFaresV2()
-
hasMetadata
boolean hasMetadata(String filename)
-
-