org.kuali.ole.ingest.controller
Class KrmsBuilderController

java.lang.Object
  extended by org.kuali.rice.krad.web.controller.UifControllerBase
      extended by org.kuali.ole.ingest.controller.KrmsBuilderController

@Controller
@RequestMapping(value="/krmsbuildercontroller")
public class KrmsBuilderController
extends org.kuali.rice.krad.web.controller.UifControllerBase

KrmsBuilderController is the controller class for Krms Builder


Field Summary
 
Fields inherited from class org.kuali.rice.krad.web.controller.UifControllerBase
REDIRECT_PREFIX
 
Constructor Summary
KrmsBuilderController()
           
 
Method Summary
protected  KrmsBuilderForm createInitialForm(javax.servlet.http.HttpServletRequest request)
          This method returns the instance of KrmsBuilderForm.
 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 KrmsBuilder 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 krmsBuilderXml file into database after uploading the krmsBuilderXml.
 boolean validateFile(String inputFile)
          This method validate the xml file type.
 
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

KrmsBuilderController

public KrmsBuilderController()
Method Detail

createInitialForm

protected KrmsBuilderForm createInitialForm(javax.servlet.http.HttpServletRequest request)
This method returns the instance of KrmsBuilderForm.

Specified by:
createInitialForm in class org.kuali.rice.krad.web.controller.UifControllerBase
Parameters:
request -
Returns:
krmsBuilderForm

start

@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)
This method takes the initial request when click on KrmsBuilder Screen.

Overrides:
start in class org.kuali.rice.krad.web.controller.UifControllerBase
Parameters:
form -
result -
request -
response -
Returns:
ModelAndView.

upload

@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
This method persist the data from krmsBuilderXml file into database after uploading the krmsBuilderXml.

Parameters:
form -
result -
request -
response -
Returns:
ModelAndView
Throws:
Exception

validateFile

public boolean validateFile(String inputFile)
This method validate the xml file type.

Parameters:
inputFile -
Returns:
boolean


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.