org.opennms.web.svclayer
Interface SiteStatusViewService
- All Known Implementing Classes:
- DefaultSiteStatusViewService
@Transactional(readOnly=true)
public interface SiteStatusViewService
Service layer API for the use cases that require the monitoed status of
OpenNMS entities (i.e. OnmsNode) to be aggregated with status information
that provides color and numberic indicators of status.
- Author:
- David Hustace, DJ Gregor
createAggregateStatusView
AggregateStatusView createAggregateStatusView(String statusViewName)
- This method returns method returns a collection of aggregated status of nodes for each
device category. In this case a column in the assets table is used as "site"
for which to select devices. The devices are aggregated by the list of categories specified
in categoryGrouping.
- Parameters:
columnValue - defs -
- Returns:
createAggregateStatuses
Collection<AggregateStatus> createAggregateStatuses(AggregateStatusView statusView)
createAggregateStatuses
Collection<AggregateStatus> createAggregateStatuses(AggregateStatusView statusView,
String statusSite)
createAggregateStatusesUsingNodeId
Collection<AggregateStatus> createAggregateStatusesUsingNodeId(int nodeId,
String viewName)
getAggregateStatus
AggregateStatus getAggregateStatus(String statusViewName,
String statusSite,
String rowLabel)
getNodes
Collection<OnmsNode> getNodes(String statusViewName,
String statusSite,
String rowLabel)
Copyright © 2009. All Rights Reserved.