org.opennms.netmgt.dao.hibernate
Class ServiceTypeDaoHibernate

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<T,DbKey>
              extended by org.opennms.netmgt.dao.hibernate.AbstractCachingDaoHibernate<OnmsServiceType,Integer,String>
                  extended by org.opennms.netmgt.dao.hibernate.ServiceTypeDaoHibernate
All Implemented Interfaces:
OnmsDao<OnmsServiceType,Integer>, ServiceTypeDao, org.springframework.beans.factory.InitializingBean

public class ServiceTypeDaoHibernate
extends AbstractCachingDaoHibernate<OnmsServiceType,Integer,String>
implements ServiceTypeDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ServiceTypeDaoHibernate()
           
 
Method Summary
 OnmsServiceType findByName(String name)
           
protected  String getKey(OnmsServiceType serviceType)
           
 
Methods inherited from class org.opennms.netmgt.dao.hibernate.AbstractCachingDaoHibernate
clear, delete, deleteAll, findAll, findByCacheKey, get, load, merge, save, saveOrUpdate, update
 
Methods inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
bulkDelete, countAll, countMatching, evict, find, find, findMatching, findMatchingObjects, findObjects, findUnique, findUnique, findUnique, flush, initialize, queryInt, queryInt
 
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.opennms.netmgt.dao.OnmsDao
clear, countAll, countMatching, delete, findAll, findMatching, flush, get, initialize, load, save, saveOrUpdate, update
 

Constructor Detail

ServiceTypeDaoHibernate

public ServiceTypeDaoHibernate()
Method Detail

getKey

protected String getKey(OnmsServiceType serviceType)
Specified by:
getKey in class AbstractCachingDaoHibernate<OnmsServiceType,Integer,String>

findByName

public OnmsServiceType findByName(String name)
Specified by:
findByName in interface ServiceTypeDao


Copyright © 2009. All Rights Reserved.