@Controller @RequestMapping(value="/patronrecordcontroller") public class OlePatronRecordController extends org.kuali.rice.krad.web.controller.UifControllerBase
Constructor and Description |
---|
OlePatronRecordController() |
Modifier and Type | Method and Description |
---|---|
protected OlePatronRecordForm |
createInitialForm(javax.servlet.http.HttpServletRequest request)
This method will return new Instance of OlePatronRecordForm.
|
org.springframework.web.servlet.ModelAndView |
downloadAttachment(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 will download the Failure records as an attachment based on summaryId.
|
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 takes the initial request when click on OlePatronRecord Screen.
|
org.springframework.web.servlet.ModelAndView |
upload(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 persist the data from patronXml file into database after uploading the patronXml.
|
boolean |
validateFile(String inputFile)
This method validate the xml file type.
|
addBlankLine, addLine, cancel, checkForm, checkViewAuthorization, close, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, refresh, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, showDialog
public OlePatronRecordController()
protected OlePatronRecordForm 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=upload") public org.springframework.web.servlet.ModelAndView upload(@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) throws Exception
form
- result
- request
- response
- Exception
public boolean validateFile(String inputFile)
inputFile
- @RequestMapping(params="methodToCall=downloadAttachment") public org.springframework.web.servlet.ModelAndView downloadAttachment(@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) throws Exception
form
- result
- request
- response
- Exception
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.