Package org.opennms.netmgt.dao.mock
Class MockUserNotificationDao
- java.lang.Object
-
- org.opennms.netmgt.dao.mock.AbstractMockDao<OnmsUserNotification,java.lang.Integer>
-
- org.opennms.netmgt.dao.mock.MockUserNotificationDao
-
- All Implemented Interfaces:
LegacyOnmsDao<OnmsUserNotification,java.lang.Integer>
,OnmsDao<OnmsUserNotification,java.lang.Integer>
,UserNotificationDao
,org.springframework.beans.factory.InitializingBean
public class MockUserNotificationDao extends AbstractMockDao<OnmsUserNotification,java.lang.Integer> implements UserNotificationDao
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.netmgt.dao.mock.AbstractMockDao
AbstractMockDao.NullEventForwarder
-
-
Constructor Summary
Constructors Constructor Description MockUserNotificationDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
generateId(OnmsUserNotification not)
protected java.lang.Integer
getId(OnmsUserNotification userNotif)
-
Methods inherited from class org.opennms.netmgt.dao.mock.AbstractMockDao
afterPropertiesSet, clear, countAll, countMatching, countMatching, delete, delete, findAll, findMatching, findMatching, flush, get, getAlarmAssociationDao, getAlarmDao, getAssetRecordDao, getCategoryDao, getDistPollerDao, getEventDao, getIpInterfaceDao, getMonitoredServiceDao, getMonitoringLocationDao, getNodeDao, getServiceRegistry, getServiceTypeDao, getSnmpInterfaceDao, initialize, load, lock, save, saveOrUpdate, update
-
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.OnmsDao
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
-
-
-
-
Method Detail
-
generateId
protected void generateId(OnmsUserNotification not)
- Specified by:
generateId
in classAbstractMockDao<OnmsUserNotification,java.lang.Integer>
-
getId
protected java.lang.Integer getId(OnmsUserNotification userNotif)
- Specified by:
getId
in classAbstractMockDao<OnmsUserNotification,java.lang.Integer>
-
-