AbstractMockDao.NullEventForwarder
Constructor and Description |
---|
MockAlarmDao() |
Modifier and Type | Method and Description |
---|---|
void |
delete(OnmsAlarm alarm) |
OnmsAlarm |
findByReductionKey(String reductionKey) |
protected void |
generateId(OnmsAlarm alarm) |
List<OnmsAlarm> |
getAlarmsForEventParameters(Map<String,String> eventParameters) |
List<HeatMapElement> |
getHeatMapItemsForEntity(String entityNameColumn,
String entityIdColumn,
boolean processAcknowledgedAlarms,
String restrictionColumn,
String restrictionValue,
String... groupByColumns) |
protected Integer |
getId(OnmsAlarm alarm) |
List<AlarmSummary> |
getNodeAlarmSummaries()
Get the list of current - not yet acknowledged - alarms per node with severity greater than normal,
reflecting the max severity, the minimum last event time and alarm count;
ordered by the oldest.
|
List<AlarmSummary> |
getNodeAlarmSummariesIncludeAcknowledgedOnes(List<Integer> nodeIds)
Get the list of current alarms per node with severity not equal to cleared, reflecting the max severity,
the minimum last event time and alarm count.
|
List<SituationSummary> |
getSituationSummaries()
Get the list of current - not yet acknowledged - situations with severity greater than normal;
|
Integer |
save(OnmsAlarm alarm) |
void |
update(OnmsAlarm alarm) |
afterPropertiesSet, clear, countAll, countMatching, countMatching, delete, findAll, findMatching, findMatching, flush, get, getAlarmAssociationDao, getAlarmDao, getAssetRecordDao, getCategoryDao, getDistPollerDao, getEventDao, getIpInterfaceDao, getMonitoredServiceDao, getMonitoringLocationDao, getNodeDao, getServiceRegistry, getServiceTypeDao, getSnmpInterfaceDao, initialize, load, lock, saveOrUpdate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countMatching, findMatching
clear, countAll, countMatching, delete, findAll, findMatching, flush, get, initialize, load, lock, saveOrUpdate
public void update(OnmsAlarm alarm)
public void delete(OnmsAlarm alarm)
protected void generateId(OnmsAlarm alarm)
generateId
in class AbstractMockDao<OnmsAlarm,Integer>
protected Integer getId(OnmsAlarm alarm)
getId
in class AbstractMockDao<OnmsAlarm,Integer>
public OnmsAlarm findByReductionKey(String reductionKey)
findByReductionKey
in interface AlarmDao
public List<AlarmSummary> getNodeAlarmSummaries()
AlarmDao
Get the list of current - not yet acknowledged - alarms per node with severity greater than normal, reflecting the max severity, the minimum last event time and alarm count; ordered by the oldest.
getNodeAlarmSummaries
in interface AlarmDao
public List<SituationSummary> getSituationSummaries()
AlarmDao
Get the list of current - not yet acknowledged - situations with severity greater than normal;
getSituationSummaries
in interface AlarmDao
public List<AlarmSummary> getNodeAlarmSummariesIncludeAcknowledgedOnes(List<Integer> nodeIds)
AlarmDao
getNodeAlarmSummariesIncludeAcknowledgedOnes
in interface AlarmDao
nodeIds
- The nodeIds you want to restrict the AlarmSummary calculation to. Must not be NULL!public List<HeatMapElement> getHeatMapItemsForEntity(String entityNameColumn, String entityIdColumn, boolean processAcknowledgedAlarms, String restrictionColumn, String restrictionValue, String... groupByColumns)
getHeatMapItemsForEntity
in interface AlarmDao
Copyright © 2021. All rights reserved.