org.opennms.web.controller
Class OnlineReportController

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.springframework.web.servlet.mvc.BaseCommandController
                      extended by org.springframework.web.servlet.mvc.AbstractFormController
                          extended by org.springframework.web.servlet.mvc.SimpleFormController
                              extended by org.opennms.web.controller.OnlineReportController
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller

public class OnlineReportController
extends org.springframework.web.servlet.mvc.SimpleFormController

OnlineReportController class.

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

Field Summary
 
Fields inherited from class org.springframework.web.servlet.mvc.BaseCommandController
DEFAULT_COMMAND_NAME
 
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
OnlineReportController()
          Constructor for OnlineReportController.
 
Method Summary
protected  Object formBackingObject(javax.servlet.http.HttpServletRequest req)
          
protected  void initBinder(javax.servlet.http.HttpServletRequest req, org.springframework.web.bind.ServletRequestDataBinder binder)
          
protected  org.springframework.web.servlet.ModelAndView onSubmit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object command, org.springframework.validation.BindException errors)
          
protected  Map<String,Object> referenceData(javax.servlet.http.HttpServletRequest req)
          
 void setCategoryConfigService(CategoryConfigService catConfigService)
          setCategoryConfigService
 void setCategoryDao(CategoryDao categoryDao)
          setCategoryDao
 void setReportWrapperService(ReportWrapperService reportWrapperService)
          setReportWrapperService
 
Methods inherited from class org.springframework.web.servlet.mvc.SimpleFormController
doSubmitAction, getFormView, getSuccessView, isFormChangeRequest, isFormChangeRequest, onFormChange, onFormChange, onSubmit, onSubmit, processFormSubmission, referenceData, setFormView, setSuccessView, showForm, showForm, suppressValidation
 
Methods inherited from class org.springframework.web.servlet.mvc.AbstractFormController
currentFormObject, getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, handleInvalidSubmit, handleRequestInternal, isBindOnNewForm, isFormSubmission, isSessionForm, onBindOnNewForm, onBindOnNewForm, setBindOnNewForm, setSessionForm, showForm, showForm, showNewForm
 
Methods inherited from class org.springframework.web.servlet.mvc.BaseCommandController
bindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, getWebBindingInitializer, initApplicationContext, isValidateOnBinding, onBind, onBind, onBindAndValidate, prepareBinder, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, setWebBindingInitializer, suppressBinding, suppressValidation, suppressValidation, useDirectFieldAccess
 
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, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnlineReportController

public OnlineReportController()

Constructor for OnlineReportController.

Method Detail

formBackingObject

protected Object formBackingObject(javax.servlet.http.HttpServletRequest req)
                            throws Exception

Overrides:
formBackingObject in class org.springframework.web.servlet.mvc.AbstractFormController
Throws:
Exception

referenceData

protected Map<String,Object> referenceData(javax.servlet.http.HttpServletRequest req)
                                    throws Exception

Overrides:
referenceData in class org.springframework.web.servlet.mvc.SimpleFormController
Throws:
Exception

initBinder

protected void initBinder(javax.servlet.http.HttpServletRequest req,
                          org.springframework.web.bind.ServletRequestDataBinder binder)
                   throws Exception

Overrides:
initBinder in class org.springframework.web.servlet.mvc.BaseCommandController
Throws:
Exception

onSubmit

protected org.springframework.web.servlet.ModelAndView onSubmit(javax.servlet.http.HttpServletRequest request,
                                                                javax.servlet.http.HttpServletResponse response,
                                                                Object command,
                                                                org.springframework.validation.BindException errors)
                                                         throws Exception

Overrides:
onSubmit in class org.springframework.web.servlet.mvc.SimpleFormController
Throws:
Exception

setReportWrapperService

public void setReportWrapperService(ReportWrapperService reportWrapperService)

setReportWrapperService

Parameters:
reportWrapperService - a ReportWrapperService object.

setCategoryConfigService

public void setCategoryConfigService(CategoryConfigService catConfigService)

setCategoryConfigService

Parameters:
catConfigService - a CategoryConfigService object.

setCategoryDao

public void setCategoryDao(CategoryDao categoryDao)

setCategoryDao

Parameters:
categoryDao - a CategoryDao object.


Copyright © 2011. All Rights Reserved.