Class AlarmDaoImpl
- java.lang.Object
-
- org.opennms.features.apilayer.dao.AlarmDaoImpl
-
- All Implemented Interfaces:
org.opennms.integration.api.v1.dao.AlarmDao
public class AlarmDaoImpl extends Object implements org.opennms.integration.api.v1.dao.AlarmDao
-
-
Constructor Summary
Constructors Constructor Description AlarmDaoImpl(AlarmDao alarmDao, SessionUtils sessionUtils)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getAlarmCount()
List<org.opennms.integration.api.v1.model.Alarm>
getAlarms()
Optional<org.opennms.integration.api.v1.model.Alarm>
getAlarmWithHighestSeverity(org.opennms.integration.api.v1.graph.NodeRef nodeRef)
-
-
-
Constructor Detail
-
AlarmDaoImpl
public AlarmDaoImpl(AlarmDao alarmDao, SessionUtils sessionUtils)
-
-
Method Detail
-
getAlarmCount
public Long getAlarmCount()
- Specified by:
getAlarmCount
in interfaceorg.opennms.integration.api.v1.dao.AlarmDao
-
getAlarms
public List<org.opennms.integration.api.v1.model.Alarm> getAlarms()
- Specified by:
getAlarms
in interfaceorg.opennms.integration.api.v1.dao.AlarmDao
-
getAlarmWithHighestSeverity
public Optional<org.opennms.integration.api.v1.model.Alarm> getAlarmWithHighestSeverity(org.opennms.integration.api.v1.graph.NodeRef nodeRef)
- Specified by:
getAlarmWithHighestSeverity
in interfaceorg.opennms.integration.api.v1.dao.AlarmDao
-
-