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<MonitoredServiceStatusEntity> |
getAlarmStatus()
Load all alarms from the alarm table which have a node id, ip address and service type set.
|
List<MonitoredServiceStatusEntity> |
getAlarmStatus(List<OnmsApplication> applications) |
List<ApplicationStatus> |
getApplicationStatus()
Determine the application's status.
|
List<ApplicationStatus> |
getApplicationStatus(List<OnmsApplication> applications)
same as
ApplicationDao.getApplicationStatus() but only calculates the status for the given applications. |
Integer |
getId(OnmsApplication app) |
List<OnmsMonitoringLocation> |
getPerspectiveLocationsForService(int nodeId,
InetAddress ipAddress,
String serviceName) |
List<ServicePerspective> |
getServicePerspectives() |
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, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, updateprotected 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)
ApplicationDaofindByName
findByName in interface ApplicationDaolabel - a String object.OnmsApplication object.public List<ApplicationStatus> getApplicationStatus()
ApplicationDaogetApplicationStatus in interface ApplicationDaopublic List<ApplicationStatus> getApplicationStatus(List<OnmsApplication> applications)
ApplicationDaoApplicationDao.getApplicationStatus() but only calculates the status for the given applications.getApplicationStatus in interface ApplicationDaoapplications - The applications to calculate the status for.public List<MonitoredServiceStatusEntity> getAlarmStatus()
ApplicationDaogetAlarmStatus in interface ApplicationDaopublic List<MonitoredServiceStatusEntity> getAlarmStatus(List<OnmsApplication> applications)
getAlarmStatus in interface ApplicationDaopublic List<OnmsMonitoringLocation> getPerspectiveLocationsForService(int nodeId, InetAddress ipAddress, String serviceName)
getPerspectiveLocationsForService in interface ApplicationDaopublic List<ServicePerspective> getServicePerspectives()
getServicePerspectives in interface ApplicationDaoCopyright © 2022. All rights reserved.