org.telscenter.sail.webapp.dao.attendance.impl
Class HibernateStudentAttendanceDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by net.sf.sail.webapp.dao.impl.AbstractHibernateDao<StudentAttendance>
              extended by org.telscenter.sail.webapp.dao.attendance.impl.HibernateStudentAttendanceDao
All Implemented Interfaces:
SimpleDao<StudentAttendance>, org.springframework.beans.factory.InitializingBean, StudentAttendanceDao<StudentAttendance>

public class HibernateStudentAttendanceDao
extends AbstractHibernateDao<StudentAttendance>
implements StudentAttendanceDao<StudentAttendance>


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibernateStudentAttendanceDao()
           
 
Method Summary
protected  Class<? extends StudentAttendance> getDataObjectClass()
          Gets the class of the persistent entity.
protected  String getFindAllQuery()
          Gets a string that will perform a query to retrieve all available objects from the persistent data store.
 List<StudentAttendance> getStudentAttendanceByRunId(Long runId)
          Get all the student attendance entries for a run id
 
Methods inherited from class net.sf.sail.webapp.dao.impl.AbstractHibernateDao
delete, getById, getList, save
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.sail.webapp.dao.SimpleDao
delete, getById, getList, save
 

Constructor Detail

HibernateStudentAttendanceDao

public HibernateStudentAttendanceDao()
Method Detail

getStudentAttendanceByRunId

public List<StudentAttendance> getStudentAttendanceByRunId(Long runId)
Get all the student attendance entries for a run id

Specified by:
getStudentAttendanceByRunId in interface StudentAttendanceDao<StudentAttendance>
See Also:
StudentAttendanceDao.getStudentAttendanceByRunId(java.lang.Long)

getDataObjectClass

protected Class<? extends StudentAttendance> getDataObjectClass()
Description copied from class: AbstractHibernateDao
Gets the class of the persistent entity.

Specified by:
getDataObjectClass in class AbstractHibernateDao<StudentAttendance>
Returns:
the Class

getFindAllQuery

protected String getFindAllQuery()
Description copied from class: AbstractHibernateDao
Gets a string that will perform a query to retrieve all available objects from the persistent data store.

Specified by:
getFindAllQuery in class AbstractHibernateDao<StudentAttendance>
Returns:
String query


Copyright © 2012. All Rights Reserved.