org.opennms.web.controller.ksc
Class CustomReportController

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.support.WebContentGenerator
              extended by org.springframework.web.servlet.mvc.AbstractController
                  extended by org.opennms.web.controller.ksc.CustomReportController
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller

public class CustomReportController
extends org.springframework.web.servlet.mvc.AbstractController
implements org.springframework.beans.factory.InitializingBean

CustomReportController class.

Since:
1.8.1
Version:
$Id: $
Author:
ranger

Field Summary
 
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator
METHOD_GET, METHOD_HEAD, METHOD_POST
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
CustomReportController()
           
 
Method Summary
 void afterPropertiesSet()
          afterPropertiesSet
 KSC_PerformanceReportFactory getKscReportFactory()
          getKscReportFactory
 KscReportService getKscReportService()
          getKscReportService
 ResourceService getResourceService()
          getResourceService
protected  org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          
 void setKscReportFactory(KSC_PerformanceReportFactory kscReportFactory)
          setKscReportFactory
 void setKscReportService(KscReportService kscReportService)
          setKscReportService
 void setResourceService(ResourceService resourceService)
          setResourceService
 
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
 
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomReportController

public CustomReportController()
Method Detail

handleRequestInternal

protected org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request,
                                                                             javax.servlet.http.HttpServletResponse response)
                                                                      throws Exception

Specified by:
handleRequestInternal in class org.springframework.web.servlet.mvc.AbstractController
Throws:
Exception

getKscReportFactory

public KSC_PerformanceReportFactory getKscReportFactory()

getKscReportFactory

Returns:
a KSC_PerformanceReportFactory object.

setKscReportFactory

public void setKscReportFactory(KSC_PerformanceReportFactory kscReportFactory)

setKscReportFactory

Parameters:
kscReportFactory - a KSC_PerformanceReportFactory object.

getKscReportService

public KscReportService getKscReportService()

getKscReportService

Returns:
a KscReportService object.

setKscReportService

public void setKscReportService(KscReportService kscReportService)

setKscReportService

Parameters:
kscReportService - a KscReportService object.

getResourceService

public ResourceService getResourceService()

getResourceService

Returns:
a ResourceService object.

setResourceService

public void setResourceService(ResourceService resourceService)

setResourceService

Parameters:
resourceService - a ResourceService object.

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

afterPropertiesSet

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception - if any.


Copyright © 2011. All Rights Reserved.