Package org.opennms.netmgt.dao.stats
Class DefaultAlarmStatisticsService
- java.lang.Object
-
- org.opennms.netmgt.dao.stats.AbstractBaseStatisticsService<OnmsAlarm>
-
- org.opennms.netmgt.dao.stats.DefaultAlarmStatisticsService
-
- All Implemented Interfaces:
AlarmStatisticsService
,StatisticsService<OnmsAlarm>
,org.springframework.beans.factory.InitializingBean
public class DefaultAlarmStatisticsService extends AbstractBaseStatisticsService<OnmsAlarm> implements AlarmStatisticsService
-
-
Constructor Summary
Constructors Constructor Description DefaultAlarmStatisticsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OnmsAlarm
getAcknowledged(Criteria criteria)
int
getAcknowledgedCount(Criteria criteria)
AlarmDao
getDao()
OnmsAlarm
getUnacknowledged(Criteria criteria)
-
Methods inherited from class org.opennms.netmgt.dao.stats.AbstractBaseStatisticsService
afterPropertiesSet, getTotalCount
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.dao.api.StatisticsService
getTotalCount
-
-
-
-
Method Detail
-
getDao
public AlarmDao getDao()
- Specified by:
getDao
in classAbstractBaseStatisticsService<OnmsAlarm>
-
getAcknowledgedCount
@Transactional public int getAcknowledgedCount(Criteria criteria)
- Specified by:
getAcknowledgedCount
in interfaceAlarmStatisticsService
-
getAcknowledged
@Transactional public OnmsAlarm getAcknowledged(Criteria criteria)
- Specified by:
getAcknowledged
in interfaceAlarmStatisticsService
-
getUnacknowledged
@Transactional public OnmsAlarm getUnacknowledged(Criteria criteria)
- Specified by:
getUnacknowledged
in interfaceAlarmStatisticsService
-
-