org.onebusaway.transit_data_federation.impl.realtime.history
Class ScheduleDeviationHistoryDaoImpl

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.realtime.history.ScheduleDeviationHistoryDaoImpl
All Implemented Interfaces:
ScheduleDeviationHistoryDao

@Component
public class ScheduleDeviationHistoryDaoImpl
extends Object
implements ScheduleDeviationHistoryDao


Constructor Summary
ScheduleDeviationHistoryDaoImpl()
           
 
Method Summary
 ScheduleDeviationHistory getScheduleDeviationHistoryForTripId(org.onebusaway.gtfs.model.AgencyAndId tripId)
           
 void saveScheduleDeviationHistory(List<ScheduleDeviationHistory> records)
           
 void saveScheduleDeviationHistory(ScheduleDeviationHistory record)
           
 void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
          Note we are requesting the "mutable" SessionFactory, aka the one we can write to
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScheduleDeviationHistoryDaoImpl

public ScheduleDeviationHistoryDaoImpl()
Method Detail

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.