org.itracker.persistence.dao
Class IssueHistoryDAOImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.itracker.persistence.dao.BaseHibernateDAOImpl<IssueHistory>
              extended by org.itracker.persistence.dao.IssueHistoryDAOImpl
All Implemented Interfaces:
BaseDAO<IssueHistory>, IssueHistoryDAO, org.springframework.beans.factory.InitializingBean

public class IssueHistoryDAOImpl
extends BaseHibernateDAOImpl<IssueHistory>
implements IssueHistoryDAO


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
IssueHistoryDAOImpl()
           
 
Method Summary
 List<IssueHistory> findByIssueId(Integer issueId)
          Finds all history entries for an Issue.
 IssueHistory findByPrimaryKey(Integer entryId)
          Returns the issue history entry with the given primary key.
 
Methods inherited from class org.itracker.persistence.dao.BaseHibernateDAOImpl
delete, detach, merge, refresh, save, saveOrUpdate
 
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 org.itracker.persistence.dao.BaseDAO
delete, detach, merge, refresh, save, saveOrUpdate
 

Constructor Detail

IssueHistoryDAOImpl

public IssueHistoryDAOImpl()
Method Detail

findByPrimaryKey

public IssueHistory findByPrimaryKey(Integer entryId)
Description copied from interface: IssueHistoryDAO
Returns the issue history entry with the given primary key.

Specified by:
findByPrimaryKey in interface IssueHistoryDAO
Parameters:
entryId - system ID
Returns:
issue history entry or null

findByIssueId

public List<IssueHistory> findByIssueId(Integer issueId)
Description copied from interface: IssueHistoryDAO
Finds all history entries for an Issue.

Specified by:
findByIssueId in interface IssueHistoryDAO
Parameters:
issueId - system ID
Returns:
list of history entries in unspecified order


Copyright © 2002-2012 itracker. All Rights Reserved.