hu.elte.tribus.services
Class HibernateQaDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
hu.elte.tribus.services.HibernateQaDao
- All Implemented Interfaces:
- QaDao, org.springframework.beans.factory.InitializingBean
public class HibernateQaDao
- extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
- implements QaDao
- Author:
- kocka
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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 |
HibernateQaDao
public HibernateQaDao()
getQaById
public QA getQaById(java.lang.Integer id)
- Specified by:
getQaById
in interface QaDao
saveQa
public void saveQa(QA qa)
- Specified by:
saveQa
in interface QaDao
deleteQa
public void deleteQa(QA qa)
- Specified by:
deleteQa
in interface QaDao
getQaList
public java.util.List<QA> getQaList()
- Specified by:
getQaList
in interface QaDao
deleteTopic
public void deleteTopic(Topic topic)
- Specified by:
deleteTopic
in interface QaDao
getTopicById
public Topic getTopicById(java.lang.Integer id)
- Specified by:
getTopicById
in interface QaDao
getTopicList
public java.util.List<Topic> getTopicList()
- Specified by:
getTopicList
in interface QaDao
saveTopic
public void saveTopic(Topic topic)
- Specified by:
saveTopic
in interface QaDao
getTopicByName
public Topic getTopicByName(java.lang.String name)
- Specified by:
getTopicByName
in interface QaDao
Copyright © 2006-2007. All Rights Reserved.