org.opennms.netmgt.dao
Interface LocationMonitorDao
- All Superinterfaces:
- OnmsDao<OnmsLocationMonitor,Integer>
- All Known Implementing Classes:
- LocationMonitorDaoHibernate
public interface LocationMonitorDao
- extends OnmsDao<OnmsLocationMonitor,Integer>
- Author:
- Mathew Brozowski, David Hustace
| Methods inherited from interface org.opennms.netmgt.dao.OnmsDao |
clear, countAll, countMatching, delete, findAll, findMatching, flush, get, initialize, load, save, saveOrUpdate, update |
findByLocationDefinition
Collection<OnmsLocationMonitor> findByLocationDefinition(OnmsMonitoringLocationDefinition locationDefinition)
findAllMonitoringLocationDefinitions
List<OnmsMonitoringLocationDefinition> findAllMonitoringLocationDefinitions()
findMonitoringLocationDefinition
OnmsMonitoringLocationDefinition findMonitoringLocationDefinition(String monitoringLocationDefinitionName)
saveMonitoringLocationDefinition
void saveMonitoringLocationDefinition(OnmsMonitoringLocationDefinition def)
saveMonitoringLocationDefinitions
void saveMonitoringLocationDefinitions(Collection<OnmsMonitoringLocationDefinition> defs)
saveStatusChange
void saveStatusChange(OnmsLocationSpecificStatus status)
getMostRecentStatusChange
OnmsLocationSpecificStatus getMostRecentStatusChange(OnmsLocationMonitor locationMonitor,
OnmsMonitoredService monSvc)
getAllMostRecentStatusChanges
Collection<OnmsLocationSpecificStatus> getAllMostRecentStatusChanges()
getAllStatusChangesAt
Collection<OnmsLocationSpecificStatus> getAllStatusChangesAt(Date timestamp)
getStatusChangesBetween
Collection<OnmsLocationSpecificStatus> getStatusChangesBetween(Date startDate,
Date endDate)
- Returns all status changes since the date, and one previous
status change (so that status at the beginning of the period can be
determined).
findStatusChangesForNodeForUniqueMonitorAndInterface
Collection<LocationMonitorIpInterface> findStatusChangesForNodeForUniqueMonitorAndInterface(int nodeId)
Copyright © 2009. All Rights Reserved.