org.itracker.persistence.dao
Class ConfigurationDAOImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.itracker.persistence.dao.BaseHibernateDAOImpl<Configuration>
              extended by org.itracker.persistence.dao.ConfigurationDAOImpl
All Implemented Interfaces:
BaseDAO<Configuration>, ConfigurationDAO, org.springframework.beans.factory.InitializingBean

public class ConfigurationDAOImpl
extends BaseHibernateDAOImpl<Configuration>
implements ConfigurationDAO


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ConfigurationDAOImpl()
           
 
Method Summary
 Configuration findByPrimaryKey(Integer configId)
           
 List<Configuration> findByType(int type)
           
 List<Configuration> findByTypeAndValue(int type, String value)
           
 
Methods inherited from class org.itracker.persistence.dao.BaseHibernateDAOImpl
delete, detach, merge, refresh, save, saveOrUpdate
 
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
 
Methods inherited from interface org.itracker.persistence.dao.BaseDAO
delete, detach, merge, refresh, save, saveOrUpdate
 

Constructor Detail

ConfigurationDAOImpl

public ConfigurationDAOImpl()
Method Detail

findByPrimaryKey

public Configuration findByPrimaryKey(Integer configId)
Specified by:
findByPrimaryKey in interface ConfigurationDAO

findByType

public List<Configuration> findByType(int type)
Specified by:
findByType in interface ConfigurationDAO

findByTypeAndValue

public List<Configuration> findByTypeAndValue(int type,
                                              String value)
Specified by:
findByTypeAndValue in interface ConfigurationDAO


Copyright © 2002-2012 itracker. All Rights Reserved.