Class InquiryController

  extended by org.kuali.rice.krad.web.controller.UifControllerBase
      extended by org.kuali.rice.krad.web.controller.InquiryController
Direct Known Subclasses:

public class InquiryController
extends UifControllerBase

Controller for InquiryView screens which handle initial requests for the inquiry and actions coming from the inquiry view such as export

Kuali Rice Team (

Constructor Summary
Method Summary
protected  InquiryForm createInitialForm(javax.servlet.http.HttpServletRequest request)
          Called to create a new model(form) object when necessary.
 org.springframework.web.servlet.ModelAndView export(UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handles exporting the BusinessObject for this Inquiry to XML if it has a custom XML exporter available.
 org.springframework.web.servlet.ModelAndView start(UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Invoked to request an inquiry view for a data object class
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase
addBlankLine, addLine, cancel, checkForm, checkViewAuthorization, close, deleteLine, getBooleanDialogResponse, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getViewResolver, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, refresh, renderView, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, setViewResolver, showDialog, toggleInactiveRecordDisplay
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public InquiryController()
Method Detail


protected InquiryForm 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
request - - the http request that was made
See Also:


public org.springframework.web.servlet.ModelAndView start(@ModelAttribute(value="KualiForm")
                                                                         UifFormBase form,
                                                                         org.springframework.validation.BindingResult result,
                                                                         javax.servlet.http.HttpServletRequest request,
                                                                         javax.servlet.http.HttpServletResponse response)
Invoked to request an inquiry view for a data object class

Checks if the data object is externalizable and we need to redirect to the appropriate inquiry URL, else continues with the inquiry view display

Data object class name and values for a primary or alternate key set must be sent in the request

Invokes the inquirable to perform the query for the data object record, if not found an exception will be thrown. If found the object is set on the form and then the view is rendered

start in class UifControllerBase


public org.springframework.web.servlet.ModelAndView export(@ModelAttribute(value="KualiForm")
                                                                          UifFormBase form,
                                                                          org.springframework.validation.BindingResult result,
                                                                          javax.servlet.http.HttpServletRequest request,
                                                                          javax.servlet.http.HttpServletResponse response)
                                                    throws Exception
Handles exporting the BusinessObject for this Inquiry to XML if it has a custom XML exporter available.


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