|
||||||||||
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.HibernateDeliverableDao
public class HibernateDeliverableDao
Implementation of DeliverableDao using Hibernate ORM system.
Field Summary |
---|
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
---|
logger |
Constructor Summary | |
---|---|
HibernateDeliverableDao()
Creates a new instance of HibernateDeliverableDao |
Method Summary | |
---|---|
Deliverable |
getDeliverable(java.lang.String key)
Retrieve a deliverable using its unique business key |
java.util.List |
getDeliverablesByRelease(DeliverableType type,
Release release)
Retrieve deliverables of specified type for a specified release |
java.util.List |
getDeliverablesSuppliedByUser(java.lang.String userId)
Retrieve deliverables supplied by a specified user |
java.util.List |
getLastDeliverables(DeliverableType type,
int maxResult)
Retrieve the last deliverables for a specified type. |
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 HibernateDeliverableDao()
Method Detail |
---|
public Deliverable getDeliverable(java.lang.String key)
getDeliverable
in interface DeliverableDao
key
- The key of deliverable to retrieve
public java.util.List getLastDeliverables(DeliverableType type, int maxResult)
getLastDeliverables
in interface DeliverableDao
type
- The deliverables typemaxResult
- The maximum number of returned deliverables
org.figure8.join.businessobjects.artifact.Deliverable
spublic java.util.List getDeliverablesByRelease(DeliverableType type, Release release)
getDeliverablesByRelease
in interface DeliverableDao
type
- The deliverables typerelease
- The release deliverables have been done for
org.figure8.join.businessobjects.artifact.Deliverable
spublic java.util.List getDeliverablesSuppliedByUser(java.lang.String userId)
getDeliverablesSuppliedByUser
in interface DeliverableDao
userId
- The unique identifier of the supplier
org.figure8.join.businessobjects.artifact.Deliverable
spublic 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 |