public class BusServiceImpl extends Object implements BusService, org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
BusServiceImpl() |
Modifier and Type | Method and Description |
---|---|
org.springframework.context.ApplicationContext |
getApplicationContext() |
List<ScheduledStopImpl> |
getArrivalData(String routeId,
String stopId,
String campus) |
BusDao |
getDao() |
List<BusStopImpl> |
getNearbyStops(double lat1,
double lon1,
double radius) |
BusRouteImpl |
getRoute(String campus,
long id) |
List<BusRouteImpl> |
getRoutes(String campus) |
List<? extends BusRoute> |
getRoutesWithDistance(double lat1,
double lon1,
double radius) |
BusStopImpl |
getStop(String campus,
long id) |
BusStopImpl |
getStopByName(String stopName,
String campus) |
List<BusStopImpl> |
getStops(String campus) |
BusStopTransform |
getStopTransform() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setDao(BusDao dao) |
void |
setStopTransform(BusStopTransform stopTransform) |
public BusServiceImpl()
public List<BusRouteImpl> getRoutes(String campus)
getRoutes
in interface BusService
public BusRouteImpl getRoute(String campus, long id)
getRoute
in interface BusService
public List<BusStopImpl> getStops(String campus)
getStops
in interface BusService
public List<? extends BusRoute> getRoutesWithDistance(double lat1, double lon1, double radius)
getRoutesWithDistance
in interface BusService
public List<BusStopImpl> getNearbyStops(double lat1, double lon1, double radius)
getNearbyStops
in interface BusService
public BusStopImpl getStop(String campus, long id)
getStop
in interface BusService
public BusStopImpl getStopByName(String stopName, String campus)
getStopByName
in interface BusService
public List<ScheduledStopImpl> getArrivalData(String routeId, String stopId, String campus)
getArrivalData
in interface BusService
public BusDao getDao()
getDao
in interface BusService
public org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
applicationContext
- the applicationContext to setpublic BusStopTransform getStopTransform()
getStopTransform
in interface BusService
public void setStopTransform(BusStopTransform stopTransform)
stopTransform
- the stopTransform to setCopyright © 2011-2013 The Kuali Foundation. All Rights Reserved.