|
||||||||||
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.ole.loan.controller.LoanController
@Controller @RequestMapping(value="/loancontroller") public class LoanController
The LoanController is the controller class for processing all the actions that corresponds to the Loan functionality in OLE. The request mapping tag takes care of mapping the individual action to the corresponding functions.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.web.controller.UifControllerBase |
---|
REDIRECT_PREFIX |
Constructor Summary | |
---|---|
LoanController()
|
Method Summary | |
---|---|
org.springframework.web.servlet.ModelAndView |
addItem(org.kuali.rice.krad.web.form.UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method creates new loan for a patron.. |
org.springframework.web.servlet.ModelAndView |
clearPatron(org.kuali.rice.krad.web.form.UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method clear UI for next borrower session.. |
protected OleLoanForm |
createInitialForm(javax.servlet.http.HttpServletRequest request)
This method creates new OleLoan form |
org.springframework.web.servlet.ModelAndView |
doNotLoanPatron(org.kuali.rice.krad.web.form.UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method doesn't allow a patron to be loaned. |
org.springframework.web.servlet.ModelAndView |
loanPatron(org.kuali.rice.krad.web.form.UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method creates loan for a patron who is not able to borrow. |
org.springframework.web.servlet.ModelAndView |
searchPatron(org.kuali.rice.krad.web.form.UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method displays information about a patron in UI. |
org.springframework.web.servlet.ModelAndView |
start(org.kuali.rice.krad.web.form.UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method converts UifFormBase to OleLoanForm |
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase |
---|
addLine, cancel, checkViewAuthorization, close, deleteLine, 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 LoanController()
Method Detail |
---|
protected OleLoanForm createInitialForm(javax.servlet.http.HttpServletRequest request)
createInitialForm
in class org.kuali.rice.krad.web.controller.UifControllerBase
request
-
@RequestMapping(params="methodToCall=start") public org.springframework.web.servlet.ModelAndView start(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
start
in class org.kuali.rice.krad.web.controller.UifControllerBase
form
- result
- request
- response
-
@RequestMapping(params="methodToCall=searchPatron") public org.springframework.web.servlet.ModelAndView searchPatron(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
form
- result
- request
- response
-
@RequestMapping(params="methodToCall=addItem") public org.springframework.web.servlet.ModelAndView addItem(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
form
- result
- request
- response
-
@RequestMapping(params="methodToCall=loan") public org.springframework.web.servlet.ModelAndView loanPatron(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
form
- result
- request
- response
-
@RequestMapping(params="methodToCall=noLoan") public org.springframework.web.servlet.ModelAndView doNotLoanPatron(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
form
- result
- request
- response
-
@RequestMapping(params="methodToCall=saveAndClear") public org.springframework.web.servlet.ModelAndView clearPatron(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
form
- result
- request
- response
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |