org.kuali.rice.krad.web.controller
Class IncidentReportController

java.lang.Object
  extended by org.kuali.rice.krad.web.controller.UifControllerBase
      extended by org.kuali.rice.krad.web.controller.IncidentReportController

@Controller
@RequestMapping(value="/incidentReport")
public class IncidentReportController
extends UifControllerBase

Handler for incident reports

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from class org.kuali.rice.krad.web.controller.UifControllerBase
REDIRECT_PREFIX
 
Constructor Summary
IncidentReportController()
           
 
Method Summary
protected  IncidentReportForm createInitialForm(javax.servlet.http.HttpServletRequest request)
          Called to create a new model(form) object when necessary.
 org.springframework.web.servlet.ModelAndView submitReport(UifFormBase uifForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Emails the report and closes the incident report screen
 
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase
addLine, addMethodToCallToUncheckedList, cancel, checkAuthorization, close, deleteLine, getMethodToCallsToNotCheckAuthorization, getRoleQualification, getSessionDocumentService, getUIFModelAndView, getUIFModelAndView, getViewService, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, refresh, returnToHistory, returnToHub, returnToPrevious, start, toggleInactiveRecordDisplay, updateComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncidentReportController

public IncidentReportController()
Method Detail

createInitialForm

protected IncidentReportForm createInitialForm(javax.servlet.http.HttpServletRequest request)
Description copied from class: UifControllerBase
Called to create a new model(form) object when necessary. This usually occurs on the initial request in a conversation (when the model is not present in the session). This method must be overridden when extending a controller and using a different form type than the superclass.

Specified by:
createInitialForm in class UifControllerBase
See Also:
UifControllerBase.createInitialForm(javax.servlet.http.HttpServletRequest)

submitReport

@RequestMapping(method=POST,
                params="methodToCall=submitReport")
public org.springframework.web.servlet.ModelAndView submitReport(@ModelAttribute(value="KualiForm")
                                                                                UifFormBase uifForm,
                                                                                org.springframework.validation.BindingResult result,
                                                                                javax.servlet.http.HttpServletRequest request,
                                                                                javax.servlet.http.HttpServletResponse response)
                                                          throws Exception
Emails the report and closes the incident report screen

Throws:
Exception


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.