|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.krad.web.controller.UifControllerBase
org.kuali.rice.krad.web.controller.LookupController
@Controller @RequestMapping(value="/lookup") public class LookupController
Controller that handles requests coming from a LookupView
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.web.controller.UifControllerBase |
---|
REDIRECT_PREFIX |
Constructor Summary | |
---|---|
LookupController()
|
Method Summary | |
---|---|
org.springframework.web.servlet.ModelAndView |
cancel(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Just returns as if return with no value was selected. |
void |
checkAuthorization(UifFormBase form,
String methodToCall)
Override this method to provide controller class-level access controls to the application. |
org.springframework.web.servlet.ModelAndView |
clearValues(LookupForm lookupForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
clearValues - clears the values of all the fields on the jsp. |
protected LookupForm |
createInitialForm(javax.servlet.http.HttpServletRequest request)
Called to create a new model(form) object when necessary. |
org.springframework.web.servlet.ModelAndView |
returnSelected(LookupForm lookupForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invoked from the UI to return the selected lookup results lines, parameters are collected to build a URL to the caller and then a redirect is performed |
org.springframework.web.servlet.ModelAndView |
search(LookupForm lookupForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
search - sets the values of the data entered on the form on the jsp into a map and then searches for the results. |
org.springframework.web.servlet.ModelAndView |
start(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Initial method called when requesting a new view instance which forwards the view for rendering |
protected void |
suppressActionsIfNeeded(LookupForm lookupForm)
|
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase |
---|
addLine, addMethodToCallToUncheckedList, close, deleteLine, getMethodToCallsToNotCheckAuthorization, getRoleQualification, getSessionDocumentService, getUIFModelAndView, getUIFModelAndView, getViewService, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, refresh, returnToHistory, returnToHub, returnToPrevious, toggleInactiveRecordDisplay, updateComponent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LookupController()
Method Detail |
---|
protected LookupForm createInitialForm(javax.servlet.http.HttpServletRequest request)
UifControllerBase
createInitialForm
in class UifControllerBase
UifControllerBase.createInitialForm(javax.servlet.http.HttpServletRequest)
protected void suppressActionsIfNeeded(LookupForm lookupForm)
public void checkAuthorization(UifFormBase form, String methodToCall) throws AuthorizationException
UifControllerBase
checkAuthorization
in class UifControllerBase
AuthorizationException
UifControllerBase.checkAuthorization(org.kuali.rice.krad.web.form.UifFormBase, java.lang.String)
@RequestMapping(params="methodToCall=start") 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)
UifControllerBase
start
in class UifControllerBase
@RequestMapping(params="methodToCall=cancel") public org.springframework.web.servlet.ModelAndView cancel(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
cancel
in class UifControllerBase
@RequestMapping(params="methodToCall=clearValues") public org.springframework.web.servlet.ModelAndView clearValues(@ModelAttribute(value="KualiForm") LookupForm lookupForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(params="methodToCall=search") public org.springframework.web.servlet.ModelAndView search(@ModelAttribute(value="KualiForm") LookupForm lookupForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(params="methodToCall=returnSelected") public org.springframework.web.servlet.ModelAndView returnSelected(@ModelAttribute(value="KualiForm") LookupForm lookupForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
lookupForm
- - lookup form instance containing the selected results and lookup configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |