|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate<OnmsOutage,Integer>
org.opennms.netmgt.dao.hibernate.OutageDaoHibernate
public class OutageDaoHibernate
OutageDaoHibernate class.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
OutageDaoHibernate()
Constructor for OutageDaoHibernate. |
|
| Method Summary | |
|---|---|
int |
countOutagesByNode()
Get the number of nodes with outages. |
Integer |
currentOutageCount()
currentOutageCount |
Collection<OnmsOutage> |
currentOutages()
currentOutages |
Collection<OnmsOutage> |
findAll(Integer offset,
Integer limit)
findAll |
List<OutageSummary> |
getNodeOutageSummaries(int rows)
Get the list of current outages, one per node. |
Collection<OnmsOutage> |
matchingCurrentOutages(ServiceSelector selector)
matchingCurrentOutages |
| 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 |
|---|
public OutageDaoHibernate()
Constructor for OutageDaoHibernate.
| Method Detail |
|---|
public Integer currentOutageCount()
currentOutageCount
currentOutageCount in interface OutageDaoInteger object.public Collection<OnmsOutage> currentOutages()
currentOutages
currentOutages in interface OutageDaoCollection object.
public Collection<OnmsOutage> findAll(Integer offset,
Integer limit)
findAll
findAll in interface OutageDaooffset - a Integer object.limit - a Integer object.
Collection object.public Collection<OnmsOutage> matchingCurrentOutages(ServiceSelector selector)
matchingCurrentOutages
matchingCurrentOutages in interface OutageDaoselector - a ServiceSelector object.
Collection object.public int countOutagesByNode()
countOutagesByNode in interface OutageDaopublic List<OutageSummary> getNodeOutageSummaries(int rows)
getNodeOutageSummaries in interface OutageDaorows - The maximum number of outages to return.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||