|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.itracker.persistence.dao.BaseHibernateDAOImpl<Version>
org.itracker.persistence.dao.VersionDAOImpl
public class VersionDAOImpl
Hibernate implementation of VersionDAO interface
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
VersionDAOImpl()
|
|
| Method Summary | |
|---|---|
Version |
findByPrimaryKey(Integer versionId)
find Version by id |
List<Version> |
findByProjectId(Integer projectId)
Finds Versions by a project id and returns them as
a Collection. |
| 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 |
|---|
public VersionDAOImpl()
| Method Detail |
|---|
public Version findByPrimaryKey(Integer versionId)
Version by id
findByPrimaryKey in interface VersionDAOversionId - id of the Version to find
Version foundpublic List<Version> findByProjectId(Integer projectId)
Versions by a project id and returns them as
a Collection.
findByProjectId in interface VersionDAOprojectId - id of the parent Project
Collection containing the Versions found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||