org.opennms.web.outage
Interface WebOutageRepository

All Known Implementing Classes:
DaoWebOutageRepository, JdbcWebOutageRepository

public interface WebOutageRepository

WebOutageRepository interface.

Since:
1.8.1
Version:
$Id: $
Author:
ranger

Method Summary
 int countCurrentOutages()
          Count the current number of nodes with outages.
 int countMatchingOutages(OutageCriteria criteria)
          countMatchingOutages
 int countMatchingOutageSummaries(OutageCriteria criteria)
          countMatchingOutageSummaries
 OutageSummary[] getCurrentOutages(int rows)
          Get the current list of outages by node.
 Outage[] getMatchingOutages(OutageCriteria criteria)
          getMatchingOutages
 OutageSummary[] getMatchingOutageSummaries(OutageCriteria criteria)
          getMatchingOutageSummaries
 Outage getOutage(int OutageId)
          getOutage
 

Method Detail

countMatchingOutages

int countMatchingOutages(OutageCriteria criteria)

countMatchingOutages

Parameters:
criteria - a OutageCriteria object.
Returns:
a int.

getOutage

Outage getOutage(int OutageId)

getOutage

Parameters:
OutageId - a int.
Returns:
a Outage object.

getMatchingOutages

Outage[] getMatchingOutages(OutageCriteria criteria)

getMatchingOutages

Parameters:
criteria - a OutageCriteria object.
Returns:
an array of Outage objects.

countMatchingOutageSummaries

int countMatchingOutageSummaries(OutageCriteria criteria)

countMatchingOutageSummaries

Parameters:
criteria - a OutageCriteria object.
Returns:
a int.

getMatchingOutageSummaries

OutageSummary[] getMatchingOutageSummaries(OutageCriteria criteria)

getMatchingOutageSummaries

Parameters:
criteria - a OutageCriteria object.
Returns:
an array of OutageSummary objects.

countCurrentOutages

int countCurrentOutages()
Count the current number of nodes with outages.


getCurrentOutages

OutageSummary[] getCurrentOutages(int rows)
Get the current list of outages by node.

Parameters:
rows - the number of outages to return.
Returns:


Copyright © 2011. All Rights Reserved.