public class ApplicationDaoHibernate extends AbstractDaoHibernate<OnmsApplication,Integer> implements ApplicationDao
m_criteriaConverter
Constructor and Description |
---|
ApplicationDaoHibernate()
Constructor for ApplicationDaoHibernate.
|
Modifier and Type | Method and Description |
---|---|
OnmsApplication |
findByName(String name)
findByName
|
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. |
List<OnmsMonitoringLocation> |
getPerspectiveLocationsForService(int nodeId,
InetAddress ipAddress,
String serviceName) |
List<ServicePerspective> |
getServicePerspectives() |
buildHibernateCallback, bulkDelete, clear, countAll, countMatching, countMatching, delete, delete, deleteAll, find, find, findAll, findMatching, findMatching, findObjects, findUnique, flush, get, initDao, initialize, load, lock, merge, queryInt, queryInt, save, saveOrUpdate, update
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
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
public ApplicationDaoHibernate()
Constructor for ApplicationDaoHibernate.
public OnmsApplication findByName(String name)
findByName
findByName
in interface ApplicationDao
name
- a String
object.OnmsApplication
object.public List<ApplicationStatus> getApplicationStatus()
ApplicationDao
getApplicationStatus
in interface ApplicationDao
public List<ApplicationStatus> getApplicationStatus(List<OnmsApplication> applications)
ApplicationDao
ApplicationDao.getApplicationStatus()
but only calculates the status for the given applications.getApplicationStatus
in interface ApplicationDao
applications
- The applications to calculate the status for.public List<MonitoredServiceStatusEntity> getAlarmStatus()
ApplicationDao
getAlarmStatus
in interface ApplicationDao
public List<MonitoredServiceStatusEntity> getAlarmStatus(List<OnmsApplication> applications)
getAlarmStatus
in interface ApplicationDao
public List<OnmsMonitoringLocation> getPerspectiveLocationsForService(int nodeId, InetAddress ipAddress, String serviceName)
getPerspectiveLocationsForService
in interface ApplicationDao
public List<ServicePerspective> getServicePerspectives()
getServicePerspectives
in interface ApplicationDao
Copyright © 2021. All rights reserved.