@Transactional(readOnly=true)
public interface OutageService
OutageService interface.
Modifier and Type | Method and Description |
---|---|
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
|
Collection<OnmsOutage> getCurrentOutages()
getCurrentOutages
Collection
object.Collection<OnmsOutage> getOutagesByRange(Integer offset, Integer limit, String orderProperty, String direction, OnmsCriteria criteria)
getOutagesByRange
offset
- a Integer
object.limit
- a Integer
object.orderProperty
- a String
object.direction
- a String
object.criteria
- a OnmsCriteria
object.Collection
object.Collection<OnmsOutage> getOutagesByRange(Integer offset, Integer limit, String orderProperty, String direction, String filter)
getOutagesByRange
Collection<OnmsOutage> getSuppressedOutagesByRange(Integer offset, Integer limit, String orderProperty, String direction)
getSuppressedOutagesByRange
offset
- a Integer
object.limit
- a Integer
object.orderProperty
- a String
object.direction
- a String
object.Collection
object.Collection<OnmsOutage> getSuppressedOutages()
getSuppressedOutages
Collection
object.Integer getCurrentOutageCount()
getCurrentOutageCount
Integer
object.Integer getOutageCount(OnmsCriteria criteria)
getOutageCount
criteria
- a OnmsCriteria
object.Integer
object.Integer getSuppressedOutageCount()
getSuppressedOutageCount
Integer
object.Collection<OnmsOutage> getCurrentOutagesForNode(int nodeId)
getCurrentOutagesForNode
nodeId
- a int.Collection
object.Collection<OnmsOutage> getNonCurrentOutagesForNode(int nodeId)
getNonCurrentOutagesForNode
nodeId
- a int.Collection
object.Collection<OnmsOutage> getOutagesForNode(int nodeId)
getOutagesForNode
nodeId
- a int.Collection
object.Collection<OnmsOutage> getOutagesForNode(int nodeId, Date time)
getOutagesForNode
nodeId
- a int.time
- a java$util$Date object.Collection
object.Collection<OnmsOutage> getOutagesForInterface(int nodeId, String ipInterface)
getOutagesForInterface
nodeId
- a int.ipInterface
- a String
object.Collection
object.Collection<OnmsOutage> getOutagesForInterface(int nodeId, String ipAddr, Date time)
getOutagesForInterface
nodeId
- a int.ipAddr
- a String
object.time
- a java$util$Date object.Collection
object.Collection<OnmsOutage> getOutagesForService(int nodeId, String ipInterface, int serviceId)
getOutagesForService
nodeId
- a int.ipInterface
- a String
object.serviceId
- a int.Collection
object.Collection<OnmsOutage> getOutagesForService(int nodeId, String ipAddr, int serviceId, Date time)
getOutagesForService
nodeId
- a int.ipAddr
- a String
object.serviceId
- a int.time
- a java$util$Date object.Collection
object.Collection<OnmsOutage> getCurrentOutages(String orderProperty)
getCurrentOutages
orderProperty
- a String
object.Collection
object.OnmsOutage load(Integer outageid)
load
outageid
- a Integer
object.OnmsOutage
object.void update(OnmsOutage outage)
update
outage
- a OnmsOutage
object.Collection<OnmsOutage> getResolvedOutagesByRange(Integer offset, Integer limit, String orderProperty, String direction, String filter)
getResolvedOutagesByRange
Copyright © 2016. All rights reserved.