public class MockApplicationDao extends AbstractMockDao<OnmsApplication,Integer> implements ApplicationDao
AbstractMockDao.NullEventForwarder
Constructor and Description |
---|
MockApplicationDao() |
Modifier and Type | Method and Description |
---|---|
OnmsApplication |
findByName(String label)
findByName
|
protected void |
generateId(OnmsApplication app) |
List<ApplicationStatusEntity> |
getAlarmStatus()
Load all alarms from the alarm table which have a node id, ip address and service type set.
|
Integer |
getId(OnmsApplication app) |
afterPropertiesSet, clear, countAll, countMatching, countMatching, delete, delete, findAll, findMatching, findMatching, flush, get, getAlarmDao, getAssetRecordDao, getCategoryDao, getDistPollerDao, getEventDao, getIpInterfaceDao, getMonitoredServiceDao, getNodeDao, getServiceRegistry, getServiceTypeDao, getSnmpInterfaceDao, initialize, load, lock, save, saveOrUpdate, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
protected void generateId(OnmsApplication app)
generateId
in class AbstractMockDao<OnmsApplication,Integer>
public Integer getId(OnmsApplication app)
getId
in class AbstractMockDao<OnmsApplication,Integer>
public OnmsApplication findByName(String label)
ApplicationDao
findByName
findByName
in interface ApplicationDao
label
- a String
object.OnmsApplication
object.public List<ApplicationStatusEntity> getAlarmStatus()
ApplicationDao
getAlarmStatus
in interface ApplicationDao
Copyright © 2017. All rights reserved.