hu.elte.tribus.services
Class HibernateQaDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by 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

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibernateQaDao()
           
 
Method Summary
 void deleteQa(QA qa)
           
 void deleteTopic(Topic topic)
           
 QA getQaById(java.lang.Integer id)
           
 java.util.List<QA> getQaList()
           
 Topic getTopicById(java.lang.Integer id)
           
 Topic getTopicByName(java.lang.String name)
           
 java.util.List<Topic> getTopicList()
           
 void saveQa(QA qa)
           
 void saveTopic(Topic topic)
           
 
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
 

Constructor Detail

HibernateQaDao

public HibernateQaDao()
Method Detail

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.