org.opennms.web.controller.ksc
Class CustomViewController

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.CustomViewController
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 CustomViewController
extends org.springframework.web.servlet.mvc.AbstractController
implements org.springframework.beans.factory.InitializingBean

CustomViewController class.

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

Nested Class Summary
static class CustomViewController.Parameters
           
 
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
CustomViewController()
           
 
Method Summary
 void afterPropertiesSet()
          afterPropertiesSet
 int getDefaultGraphsPerLine()
          getDefaultGraphsPerLine
 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 setDefaultGraphsPerLine(int defaultGraphsPerLine)
          setDefaultGraphsPerLine
 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

CustomViewController

public CustomViewController()
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.

getDefaultGraphsPerLine

public int getDefaultGraphsPerLine()

getDefaultGraphsPerLine

Returns:
a int.

setDefaultGraphsPerLine

public void setDefaultGraphsPerLine(int defaultGraphsPerLine)

setDefaultGraphsPerLine

Parameters:
defaultGraphsPerLine - a int.

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.