org.opennms.netmgt.dao.hibernate
Class OutageDaoHibernate

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<OnmsOutage,Integer>
              extended by org.opennms.netmgt.dao.hibernate.OutageDaoHibernate
All Implemented Interfaces:
OnmsDao<OnmsOutage,Integer>, OutageDao, org.springframework.beans.factory.InitializingBean

public class OutageDaoHibernate
extends AbstractDaoHibernate<OnmsOutage,Integer>
implements OutageDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
OutageDaoHibernate()
           
 
Method Summary
 Integer currentOutageCount()
           
 Collection<OnmsOutage> currentOutages()
           
 Collection<OnmsOutage> findAll(Integer offset, Integer limit)
           
 Collection<OnmsOutage> matchingCurrentOutages(ServiceSelector selector)
           
 
Methods inherited from class org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate
bulkDelete, clear, countAll, countMatching, delete, deleteAll, evict, find, find, findAll, findMatching, findMatchingObjects, findObjects, findUnique, findUnique, findUnique, flush, get, initialize, load, merge, queryInt, queryInt, save, saveOrUpdate, update
 
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

OutageDaoHibernate

public OutageDaoHibernate()
Method Detail

currentOutageCount

public Integer currentOutageCount()
Specified by:
currentOutageCount in interface OutageDao

currentOutages

public Collection<OnmsOutage> currentOutages()
Specified by:
currentOutages in interface OutageDao

findAll

public Collection<OnmsOutage> findAll(Integer offset,
                                      Integer limit)
Specified by:
findAll in interface OutageDao

matchingCurrentOutages

public Collection<OnmsOutage> matchingCurrentOutages(ServiceSelector selector)
Specified by:
matchingCurrentOutages in interface OutageDao


Copyright © 2009. All Rights Reserved.