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 java.lang.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 java.lang.LonggetAlarmCount()java.util.List<org.opennms.integration.api.v1.model.Alarm>getAlarms()java.util.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 java.lang.Long getAlarmCount()
- Specified by:
 getAlarmCountin interfaceorg.opennms.integration.api.v1.dao.AlarmDao
 
- 
getAlarms
public java.util.List<org.opennms.integration.api.v1.model.Alarm> getAlarms()
- Specified by:
 getAlarmsin interfaceorg.opennms.integration.api.v1.dao.AlarmDao
 
- 
getAlarmWithHighestSeverity
public java.util.Optional<org.opennms.integration.api.v1.model.Alarm> getAlarmWithHighestSeverity(org.opennms.integration.api.v1.graph.NodeRef nodeRef)
- Specified by:
 getAlarmWithHighestSeverityin interfaceorg.opennms.integration.api.v1.dao.AlarmDao
 
 - 
 
 -