| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.orm.hibernate.support.HibernateDaoSupport
org.figure8.join.core.persistence.HibernateObjectDao
org.figure8.join.businessobjects.reporting.persistence.HibernateMessageDao
public class HibernateMessageDao
Implementation of MessageDao using Hibernate ORM system.
| Field Summary | 
|---|
| Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport | 
|---|
logger | 
| Constructor Summary | |
|---|---|
HibernateMessageDao()
Create a new instance of HibernateMessageDao.  | 
|
| Method Summary | |
|---|---|
 Message | 
getMessage(long id)
Retrieve a message using its unique identifier  | 
 java.util.List | 
getMessages(java.util.Date startDate,
            java.util.Date endDate)
Retrieve all messages published between publication date and expiry date  | 
 java.util.List | 
getMessagesForRelease(Release release,
                      java.util.Date startDate,
                      java.util.Date endDate)
Retrieve all messages published between publication date and expiry date for a specified release.  | 
 java.util.List | 
getOpenMessages()
Retrieve all current messages at time of invocation  | 
 java.util.List | 
getOpenMessagesForRelease(Release release)
Retrieve all current messages that are associated to release at time of invocation  | 
 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 HibernateMessageDao()
| Method Detail | 
|---|
public Message getMessage(long id)
getMessage in interface MessageDaoid - The unique identifier of message to retrieve
public java.util.List getOpenMessages()
getOpenMessages in interface MessageDaoorg.figure8.join.businessobjects.reporting.Messagespublic java.util.List getOpenMessagesForRelease(Release release)
getOpenMessagesForRelease in interface MessageDaorelease - The release to retrieve messages for
org.figure8.join.businessobjects.reporting.Messages for this release
public java.util.List getMessages(java.util.Date startDate,
                                  java.util.Date endDate)
getMessages in interface MessageDaostartDate - Start date of messages researchendDate - End date of messages research
org.figure8.join.businessobjects.reporting.Messages
public java.util.List getMessagesForRelease(Release release,
                                            java.util.Date startDate,
                                            java.util.Date endDate)
getMessagesForRelease in interface MessageDaorelease - The release to retrieve messages forstartDate - Start date of messages researchendDate - End date of messages research
org.figure8.join.businessobjects.reporting.Messagespublic java.lang.Class getPersistentClass()
ObjectDao
getPersistentClass in interface ObjectDaoorg.figure8.join.businessobjects.reporting.Message class
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||