public interface ConfigInterface
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
java.util.List<Agency> |
getAgencies()
Returns list of Agency objects containing data from GTFS agency.txt file
|
java.util.List<IpcCalendar> |
getAllCalendars()
Returns list of all Calendar objects.
|
IpcBlock |
getBlock(java.lang.String blockId,
java.lang.String serviceId)
Returns block info for specified blockId and serviceId.
|
java.util.List<java.lang.String> |
getBlockIds()
Returns list of block IDs, unsorted, duplicates removed
|
java.util.List<java.lang.String> |
getBlockIds(java.lang.String serviceId)
Returns list of block IDs for specified serviceId, unsorted
|
java.util.Collection<IpcBlock> |
getBlocks(java.lang.String blockId)
Returns blocks for each service class for the blockId specified.
|
java.util.List<IpcCalendar> |
getCurrentCalendars()
Returns list of Calendar objects that are currently active.
|
java.util.List<java.lang.String> |
getCurrentServiceIds()
Returns list of service IDs, unsorted
|
IpcRoute |
getRoute(java.lang.String routeIdOrShortName,
java.lang.String directionId,
java.lang.String stopId,
java.lang.String tripPatternId)
Obtains data for single route.
|
java.util.Collection<IpcRouteSummary> |
getRoutes()
Obtains ordered list of routes configured.
|
java.util.List<IpcSchedule> |
getSchedules(java.lang.String routeIdOrShortName)
Returns list of IpcSchedule objects for the specified routeIdOrShortName
|
java.util.List<java.lang.String> |
getServiceIds()
Returns list of service IDs, unsorted
|
IpcDirectionsForRoute |
getStops(java.lang.String routeIdOrShortName)
Returns stops for each direction for a route.
|
IpcTrip |
getTrip(java.lang.String tripId)
Returns trip info for specified tripId.
|
java.util.List<java.lang.String> |
getTripIds()
Returns list of trip IDs, unsorted
|
java.util.List<IpcTripPattern> |
getTripPatterns(java.lang.String routeIdOrShortName)
Returns trip patterns for specified routeIdOrShortName.
|
java.util.List<java.lang.String> |
getVehicleIds()
Returns list of vehicle IDs, unsorted
|
java.util.Collection<IpcRouteSummary> getRoutes() throws java.rmi.RemoteException
java.rmi.RemoteException
IpcRoute getRoute(java.lang.String routeIdOrShortName, java.lang.String directionId, java.lang.String stopId, java.lang.String tripPatternId) throws java.rmi.RemoteException
routeIdOrShortName
- Specifies which route to provide data for. routeShortName is
often used instead of routeId since routeIds unfortunately
often change when there is a schedule change.directionId
- optional. If want UI to highlight the remaining stops and
paths left in the trip then can specify directionId along with
the stopId. The directionId can be needed for agencies where
only a single stop is used for both directions for a route.stopId
- optional. If want UI to highlight the remaining stops and
paths left in trip then stopId is used to return which stops
remain in trip. If this additional info not needed for UI then
null can be specified.tripPatternId
- optional. If want UI to highlight the remaining stops and
paths left in trip then stopId is used to determine which trip
pattern to highlight. If this additional info not needed for
UI then null can be specified.java.rmi.RemoteException
IpcDirectionsForRoute getStops(java.lang.String routeIdOrShortName) throws java.rmi.RemoteException
routeIdOrShortName
- Specifies which route to provide data for. routeShortName is
often used instead of routeId since routeIds unfortunately
often change when there is a schedule change.java.rmi.RemoteException
IpcBlock getBlock(java.lang.String blockId, java.lang.String serviceId) throws java.rmi.RemoteException
blockId
- serviceId
- java.rmi.RemoteException
java.util.Collection<IpcBlock> getBlocks(java.lang.String blockId) throws java.rmi.RemoteException
blockId
- java.rmi.RemoteException
IpcTrip getTrip(java.lang.String tripId) throws java.rmi.RemoteException
tripId
- java.rmi.RemoteException
java.util.List<IpcTripPattern> getTripPatterns(java.lang.String routeIdOrShortName) throws java.rmi.RemoteException
routeIdOrShortName
- java.rmi.RemoteException
java.util.List<IpcSchedule> getSchedules(java.lang.String routeIdOrShortName) throws java.rmi.RemoteException
routeIdOrShortName
- java.rmi.RemoteException
java.util.List<Agency> getAgencies() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List<IpcCalendar> getCurrentCalendars() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List<IpcCalendar> getAllCalendars() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List<java.lang.String> getVehicleIds() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List<java.lang.String> getServiceIds() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List<java.lang.String> getCurrentServiceIds() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List<java.lang.String> getTripIds() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List<java.lang.String> getBlockIds() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.List<java.lang.String> getBlockIds(java.lang.String serviceId) throws java.rmi.RemoteException
serviceId
- If null then all block IDs are returnedjava.rmi.RemoteException