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

Method Summary
 java.util.Collection<AggregateStatus> createAggregateStatuses(org.opennms.netmgt.model.AggregateStatusView statusView)
           
 java.util.Collection<AggregateStatus> createAggregateStatuses(org.opennms.netmgt.model.AggregateStatusView statusView, java.lang.String statusSite)
           
 java.util.Collection<AggregateStatus> createAggregateStatusesUsingNodeId(int nodeId, java.lang.String viewName)
           
 org.opennms.netmgt.model.AggregateStatusView createAggregateStatusView(java.lang.String statusViewName)
          This method returns method returns a collection of aggregated status of nodes for each device category.
 AggregateStatus getAggregateStatus(java.lang.String statusViewName, java.lang.String statusSite, java.lang.String rowLabel)
           
 java.util.Collection<org.opennms.netmgt.model.OnmsNode> getNodes(java.lang.String statusViewName, java.lang.String statusSite, java.lang.String rowLabel)
           
 

Method Detail

createAggregateStatusView

org.opennms.netmgt.model.AggregateStatusView createAggregateStatusView(java.lang.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

java.util.Collection<AggregateStatus> createAggregateStatuses(org.opennms.netmgt.model.AggregateStatusView statusView)

createAggregateStatuses

java.util.Collection<AggregateStatus> createAggregateStatuses(org.opennms.netmgt.model.AggregateStatusView statusView,
                                                              java.lang.String statusSite)

createAggregateStatusesUsingNodeId

java.util.Collection<AggregateStatus> createAggregateStatusesUsingNodeId(int nodeId,
                                                                         java.lang.String viewName)

getAggregateStatus

AggregateStatus getAggregateStatus(java.lang.String statusViewName,
                                   java.lang.String statusSite,
                                   java.lang.String rowLabel)

getNodes

java.util.Collection<org.opennms.netmgt.model.OnmsNode> getNodes(java.lang.String statusViewName,
                                                                 java.lang.String statusSite,
                                                                 java.lang.String rowLabel)


Copyright © 2007. All Rights Reserved.