|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.orm.hibernate.support.HibernateDaoSupport org.figure8.join.core.persistence.HibernateObjectDao org.figure8.join.businessobjects.artifact.persistence.HibernateBuildDao
public class HibernateBuildDao
Implementation of BuildDao using Hibernate ORM system.
Field Summary |
---|
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
---|
logger |
Constructor Summary | |
---|---|
HibernateBuildDao()
Creates a new instance of HibernateBuildDao |
Method Summary | |
---|---|
Build |
getBuild(java.lang.String key)
Retrieve a Build using its unique key identifier |
java.util.List |
getBuildsByRelease(Release release)
Retrieve all the builds produced for a spcified release |
java.util.List |
getBuildsComposedByUser(java.lang.String userId)
Retrieve builds composed by a specified user |
java.util.List |
getBuildsWithComponents(java.util.List components)
Retrieve builds having the components specified into list |
java.lang.Class |
getPersistentClass()
Get the persistent class associated to this Dao. |
Methods inherited from class org.figure8.join.core.persistence.HibernateObjectDao |
---|
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getById, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save |
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
---|
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, setHibernateTemplate, setSessionFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.figure8.join.core.persistence.ObjectDao |
---|
findAll, findAllSorted, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save |
Constructor Detail |
---|
public HibernateBuildDao()
Method Detail |
---|
public java.util.List getBuildsByRelease(Release release)
getBuildsByRelease
in interface BuildDao
release
- The release to retrieve builds for
org.figure8.join.businessobjects.artifact.Build
spublic java.util.List getBuildsComposedByUser(java.lang.String userId)
getBuildsComposedByUser
in interface BuildDao
userId
- The unique identifier of the composer
org.figure8.join.businessobjects.artifact.Build
spublic java.util.List getBuildsWithComponents(java.util.List components)
getBuildsWithComponents
in interface BuildDao
components
- The list of components builds should have
org.figure8.join.businessobjects.artifact.Build
spublic Build getBuild(java.lang.String key)
getBuild
in interface BuildDao
key
- The unique key identifier of build to retrieve
public java.lang.Class getPersistentClass()
ObjectDao
getPersistentClass
in interface ObjectDao
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |