@Controller @RequestMapping(value="/staffuploadcontroller") public class StaffUploadController extends org.kuali.rice.krad.web.controller.UifControllerBase
Constructor and Description |
---|
StaffUploadController() |
Modifier and Type | Method and Description |
---|---|
protected StaffUploadForm |
createInitialForm(javax.servlet.http.HttpServletRequest request)
This method will return instance of StaffUploadForm.
|
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 will take the initial request when click on StaffUpload 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 StaffUploadXml file into database after uploading the StaffUploadXml..
|
boolean |
validateFile(String marcFile,
String ediFile)
This method validate the xml fileType
|
addBlankLine, addLine, back, cancel, checkForm, checkViewAuthorization, createDataTablesPagingHelperInstance, defaultMapping, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getUIFModelAndView, getUIFModelAndViewWithInit, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, performRedirect, refresh, resetDialogStatus, retrieveCollectionPage, retrieveOriginalComponent, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, sessionTimeout, showDialog, tableCsvRetrieval, tableJsonRetrieval, tableXlsRetrieval, tableXmlRetrieval
public StaffUploadController()
protected StaffUploadForm 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 marcFile, String ediFile)
marcFile
- ediFile
- Copyright © 2004–2015 The Kuali Foundation. All rights reserved.