Package org.opennms.web.outage
Interface WebOutageRepository
-
- All Known Implementing Classes:
DaoWebOutageRepository
public interface WebOutageRepository
WebOutageRepository interface.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
countCurrentOutages()
Count the current number of nodes with outages.int
countMatchingOutages(OutageCriteria criteria)
countMatchingOutagesint
countMatchingOutageSummaries(OutageCriteria criteria)
countMatchingOutageSummariesOutageSummary[]
getCurrentOutages(int rows)
Get the current list of outages by node.Outage[]
getMatchingOutages(OutageCriteria criteria)
getMatchingOutagesOutageSummary[]
getMatchingOutageSummaries(OutageCriteria criteria)
getMatchingOutageSummariesOutage
getOutage(int OutageId)
getOutage
-
-
-
Method Detail
-
countMatchingOutages
int countMatchingOutages(OutageCriteria criteria)
countMatchingOutages
- Parameters:
criteria
- aOutageCriteria
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
- aOutageCriteria
object.- Returns:
- an array of
Outage
objects.
-
countMatchingOutageSummaries
int countMatchingOutageSummaries(OutageCriteria criteria)
countMatchingOutageSummaries
- Parameters:
criteria
- aOutageCriteria
object.- Returns:
- a int.
-
getMatchingOutageSummaries
OutageSummary[] getMatchingOutageSummaries(OutageCriteria criteria)
getMatchingOutageSummaries
- Parameters:
criteria
- aOutageCriteria
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:
-
-