org.opennms.web.svclayer.outage
Interface OutageService

All Known Implementing Classes:
DefaultOutageService

@Transactional(readOnly=true)
public interface OutageService

OutageService interface.

Since:
1.8.1
Version:
$Id: $
Author:
Johan Edstrom, Mathew Brozowski, DJ Gregor, Johan Edstrom, Mathew Brozowski, DJ Gregor, Johan Edstrom, Mathew Brozowski, DJ Gregor

Method Summary
 Integer getCurrentOutageCount()
          getCurrentOutageCount
 Collection<OnmsOutage> getCurrentOutages()
          getCurrentOutages
 Collection<OnmsOutage> getCurrentOutages(String orderProperty)
          getCurrentOutages
 Collection<OnmsOutage> getCurrentOutagesForNode(int nodeId)
          getCurrentOutagesForNode
 Collection<OnmsOutage> getNonCurrentOutagesForNode(int nodeId)
          getNonCurrentOutagesForNode
 Integer getOutageCount()
          getOutageCount
 Integer getOutageCount(OnmsCriteria criteria)
          getOutageCount
 Collection<OnmsOutage> getOutagesByRange(Integer offset, Integer limit, String orderProperty, String direction, OnmsCriteria criteria)
          getOutagesByRange
 Collection<OnmsOutage> getOutagesByRange(Integer offset, Integer limit, String orderProperty, String direction, String filter)
          getOutagesByRange
 Collection<OnmsOutage> getOutagesForInterface(int nodeId, String ipInterface)
          getOutagesForInterface
 Collection<OnmsOutage> getOutagesForInterface(int nodeId, String ipAddr, Date time)
          getOutagesForInterface
 Collection<OnmsOutage> getOutagesForNode(int nodeId)
          getOutagesForNode
 Collection<OnmsOutage> getOutagesForNode(int nodeId, Date time)
          getOutagesForNode
 Collection<OnmsOutage> getOutagesForService(int nodeId, String ipInterface, int serviceId)
          getOutagesForService
 Collection<OnmsOutage> getOutagesForService(int nodeId, String ipAddr, int serviceId, Date time)
          getOutagesForService
 Collection<OnmsOutage> getResolvedOutagesByRange(Integer offset, Integer limit, String orderProperty, String direction, String filter)
          getResolvedOutagesByRange
 Integer getSuppressedOutageCount()
          getSuppressedOutageCount
 Collection<OnmsOutage> getSuppressedOutages()
          getSuppressedOutages
 Collection<OnmsOutage> getSuppressedOutagesByRange(Integer offset, Integer limit, String orderProperty, String direction)
          getSuppressedOutagesByRange
 OnmsOutage load(Integer outageid)
          load
 Integer outageCountFiltered(String filter)
          outageCountFiltered
 Integer outageResolvedCountFiltered(String searchFilter)
          outageResolvedCountFiltered
 void update(OnmsOutage outage)
          update
 

Method Detail

getCurrentOutages

Collection<OnmsOutage> getCurrentOutages()

getCurrentOutages

Returns:
a Collection object.

getOutagesByRange

Collection<OnmsOutage> getOutagesByRange(Integer offset,
                                         Integer limit,
                                         String orderProperty,
                                         String direction,
                                         OnmsCriteria criteria)

getOutagesByRange

Parameters:
offset - a Integer object.
limit - a Integer object.
orderProperty - a String object.
direction - a String object.
criteria - a OnmsCriteria object.
Returns:
a Collection object.

getOutagesByRange

Collection<OnmsOutage> getOutagesByRange(Integer offset,
                                         Integer limit,
                                         String orderProperty,
                                         String direction,
                                         String filter)

getOutagesByRange

Parameters:
offset - a Integer object.
limit - a Integer object.
orderProperty - a String object.
direction - a String object.
filter - a String object.
Returns:
a Collection object.

getSuppressedOutagesByRange

Collection<OnmsOutage> getSuppressedOutagesByRange(Integer offset,
                                                   Integer limit,
                                                   String orderProperty,
                                                   String direction)

getSuppressedOutagesByRange

Parameters:
offset - a Integer object.
limit - a Integer object.
orderProperty - a String object.
direction - a String object.
Returns:
a Collection object.

getSuppressedOutages

Collection<OnmsOutage> getSuppressedOutages()

getSuppressedOutages

Returns:
a Collection object.

getCurrentOutageCount

Integer getCurrentOutageCount()

getCurrentOutageCount

Returns:
a Integer object.

getOutageCount

Integer getOutageCount(OnmsCriteria criteria)

getOutageCount

Parameters:
criteria - a OnmsCriteria object.
Returns:
a Integer object.

getSuppressedOutageCount

Integer getSuppressedOutageCount()

getSuppressedOutageCount

Returns:
a Integer object.

getCurrentOutagesForNode

Collection<OnmsOutage> getCurrentOutagesForNode(int nodeId)

getCurrentOutagesForNode

Parameters:
nodeId - a int.
Returns:
a Collection object.

getNonCurrentOutagesForNode

Collection<OnmsOutage> getNonCurrentOutagesForNode(int nodeId)

getNonCurrentOutagesForNode

Parameters:
nodeId - a int.
Returns:
a Collection object.

getOutagesForNode

Collection<OnmsOutage> getOutagesForNode(int nodeId)

getOutagesForNode

Parameters:
nodeId - a int.
Returns:
a Collection object.

getOutagesForNode

Collection<OnmsOutage> getOutagesForNode(int nodeId,
                                         Date time)

getOutagesForNode

Parameters:
nodeId - a int.
time - a java$util$Date object.
Returns:
a Collection object.

getOutagesForInterface

Collection<OnmsOutage> getOutagesForInterface(int nodeId,
                                              String ipInterface)

getOutagesForInterface

Parameters:
nodeId - a int.
ipInterface - a String object.
Returns:
a Collection object.

getOutagesForInterface

Collection<OnmsOutage> getOutagesForInterface(int nodeId,
                                              String ipAddr,
                                              Date time)

getOutagesForInterface

Parameters:
nodeId - a int.
ipAddr - a String object.
time - a java$util$Date object.
Returns:
a Collection object.

getOutagesForService

Collection<OnmsOutage> getOutagesForService(int nodeId,
                                            String ipInterface,
                                            int serviceId)

getOutagesForService

Parameters:
nodeId - a int.
ipInterface - a String object.
serviceId - a int.
Returns:
a Collection object.

getOutagesForService

Collection<OnmsOutage> getOutagesForService(int nodeId,
                                            String ipAddr,
                                            int serviceId,
                                            Date time)

getOutagesForService

Parameters:
nodeId - a int.
ipAddr - a String object.
serviceId - a int.
time - a java$util$Date object.
Returns:
a Collection object.

getCurrentOutages

Collection<OnmsOutage> getCurrentOutages(String orderProperty)

getCurrentOutages

Parameters:
orderProperty - a String object.
Returns:
a Collection object.

load

OnmsOutage load(Integer outageid)

load

Parameters:
outageid - a Integer object.
Returns:
a OnmsOutage object.

update

void update(OnmsOutage outage)

update

Parameters:
outage - a OnmsOutage object.

getOutageCount

Integer getOutageCount()

getOutageCount

Returns:
a Integer object.

outageCountFiltered

Integer outageCountFiltered(String filter)

outageCountFiltered

Parameters:
filter - a String object.
Returns:
a Integer object.

getResolvedOutagesByRange

Collection<OnmsOutage> getResolvedOutagesByRange(Integer offset,
                                                 Integer limit,
                                                 String orderProperty,
                                                 String direction,
                                                 String filter)

getResolvedOutagesByRange

Parameters:
offset - a Integer object.
limit - a Integer object.
orderProperty - a String object.
direction - a String object.
filter - a String object.
Returns:
a Collection object.

outageResolvedCountFiltered

Integer outageResolvedCountFiltered(String searchFilter)

outageResolvedCountFiltered

Parameters:
searchFilter - a String object.
Returns:
a Integer object.


Copyright © 2011. All Rights Reserved.