org.opennms.web.svclayer.support
Class DefaultKscReportService

java.lang.Object
  extended by org.opennms.web.svclayer.support.DefaultKscReportService
All Implemented Interfaces:
KscReportService, org.springframework.beans.factory.InitializingBean

public class DefaultKscReportService
extends Object
implements KscReportService, org.springframework.beans.factory.InitializingBean

Author:
DJ Gregor

Constructor Summary
DefaultKscReportService()
           
 
Method Summary
 void afterPropertiesSet()
           
 Report buildDomainReport(String domain)
           
 Report buildNodeReport(int node_id)
           
 KSC_PerformanceReportFactory getKscReportFactory()
           
 Map<Integer,String> getReportList()
           
 OnmsResource getResourceFromGraph(Graph graph)
           
 ResourceService getResourceService()
           
 List<OnmsResource> getResourcesFromGraphs(List<Graph> graphs)
           
 Map<String,String> getTimeSpans(boolean includeNone)
           
 void setKscReportFactory(KSC_PerformanceReportFactory kscReportFactory)
           
 void setResourceService(ResourceService resourceService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultKscReportService

public DefaultKscReportService()
Method Detail

buildDomainReport

public Report buildDomainReport(String domain)
Specified by:
buildDomainReport in interface KscReportService

buildNodeReport

public Report buildNodeReport(int node_id)
Specified by:
buildNodeReport in interface KscReportService

getResourceFromGraph

public OnmsResource getResourceFromGraph(Graph graph)
Specified by:
getResourceFromGraph in interface KscReportService

getResourcesFromGraphs

public List<OnmsResource> getResourcesFromGraphs(List<Graph> graphs)
Specified by:
getResourcesFromGraphs in interface KscReportService

getTimeSpans

public Map<String,String> getTimeSpans(boolean includeNone)
Specified by:
getTimeSpans in interface KscReportService

getReportList

public Map<Integer,String> getReportList()
Specified by:
getReportList in interface KscReportService

getResourceService

public ResourceService getResourceService()

setResourceService

public void setResourceService(ResourceService resourceService)

getKscReportFactory

public KSC_PerformanceReportFactory getKscReportFactory()

setKscReportFactory

public void setKscReportFactory(KSC_PerformanceReportFactory kscReportFactory)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2009. All Rights Reserved.