|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.web.controller.UifControllerBase org.kuali.rice.krad.web.controller.InquiryController
@Controller @RequestMapping(value="/inquiry") public class InquiryController
Controller for InquiryView
screens which handle initial requests for the inquiry and
actions coming from the inquiry view such as export
Constructor Summary | |
---|---|
InquiryController()
|
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,
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 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)
UifControllerBase
createInitialForm
in class UifControllerBase
request
- - the http request that was madeUifControllerBase.createInitialForm(javax.servlet.http.HttpServletRequest)
@RequestMapping(params="methodToCall=start") public org.springframework.web.servlet.ModelAndView start(@ModelAttribute(value="KualiForm") UifFormBase form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
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
@RequestMapping(params="methodToCall=export") 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
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |