org.onebusaway.transit_data_federation.impl.realtime.history
Class ScheduleDeviationHistoryDaoImpl
java.lang.Object
org.onebusaway.transit_data_federation.impl.realtime.history.ScheduleDeviationHistoryDaoImpl
- All Implemented Interfaces:
- ScheduleDeviationHistoryDao
@Component
public class ScheduleDeviationHistoryDaoImpl
- extends Object
- implements ScheduleDeviationHistoryDao
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScheduleDeviationHistoryDaoImpl
public ScheduleDeviationHistoryDaoImpl()
setSessionFactory
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
- Note we are requesting the "mutable"
SessionFactory
, aka the one we
can write to
- Parameters:
sessionFactory
-
saveScheduleDeviationHistory
public void saveScheduleDeviationHistory(ScheduleDeviationHistory record)
- Specified by:
saveScheduleDeviationHistory
in interface ScheduleDeviationHistoryDao
saveScheduleDeviationHistory
public void saveScheduleDeviationHistory(List<ScheduleDeviationHistory> records)
- Specified by:
saveScheduleDeviationHistory
in interface ScheduleDeviationHistoryDao
getScheduleDeviationHistoryForTripId
public ScheduleDeviationHistory getScheduleDeviationHistoryForTripId(org.onebusaway.gtfs.model.AgencyAndId tripId)
- Specified by:
getScheduleDeviationHistoryForTripId
in interface ScheduleDeviationHistoryDao
Copyright © 2012 OneBusAway. All Rights Reserved.