|
||||||||||
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.editor.contoller.MarcEditorController
@Controller @RequestMapping(value="/marceditorcomponents") public class MarcEditorController
MarcEditorController is the controller class for Marc Editor
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.web.controller.UifControllerBase |
---|
REDIRECT_PREFIX |
Constructor Summary | |
---|---|
MarcEditorController()
|
Method Summary | |
---|---|
org.springframework.web.servlet.ModelAndView |
addControlField(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 add the controlField record based on the selected Line index and updates the component. |
org.springframework.web.servlet.ModelAndView |
addDataField(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 add the datField record based on the selected Line index and updates the component. |
protected org.springframework.web.servlet.ModelAndView |
callSuper(org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
MarcEditorForm marcEditorForm)
This method used for Test-Case |
protected MarcEditorForm |
createInitialForm(javax.servlet.http.HttpServletRequest request)
This method will return instance of MarcEditorForm |
String |
getURL()
Gets the webservice URL using PropertyUtil. |
org.springframework.web.servlet.ModelAndView |
loadMarcRecord(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 load the MarcEditor records based on uuid. |
void |
processResponse(String responseFromDocstore,
MarcEditorForm marcEditorForm,
String uuid)
This method will processResponse,provided the docStore should return response and should have a tokenId |
org.springframework.web.servlet.ModelAndView |
removeControlField(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 remove the controlField based on the index position and updates the component. |
org.springframework.web.servlet.ModelAndView |
removeDataField(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 remove the dataField based on the index position and updates the component. |
boolean |
responseToOLESentRequired()
This method returns True if tokenId is not null,else return False. |
void |
setDocstoreHelperService(DocstoreHelperService docstoreHelperService)
Sets the DocstoreHelperService attribute value. |
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 MarcEditor Screen. |
org.springframework.web.servlet.ModelAndView |
submit(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 ingest new record to docStore if uuid is null else it will update exisiting record provided the marcEditorForm should be valid. |
boolean |
validateMarcEditorData(MarcEditorForm marcEditorForm)
This method will Validate the MarcEditorForm and return either True or False Validation happen based on existence of leader,Tags and values for controlFields and dataFields . |
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 MarcEditorController()
Method Detail |
---|
protected MarcEditorForm 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=addControlField") public org.springframework.web.servlet.ModelAndView addControlField(@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=removeControlField") public org.springframework.web.servlet.ModelAndView removeControlField(@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=addDataField") public org.springframework.web.servlet.ModelAndView addDataField(@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=removeDataField") public org.springframework.web.servlet.ModelAndView removeDataField(@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=loadMarcRecord") public org.springframework.web.servlet.ModelAndView loadMarcRecord(@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=submit") public org.springframework.web.servlet.ModelAndView submit(@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
-
public void processResponse(String responseFromDocstore, MarcEditorForm marcEditorForm, String uuid)
responseFromDocstore
- marcEditorForm
- public boolean responseToOLESentRequired()
public void setDocstoreHelperService(DocstoreHelperService docstoreHelperService)
docstoreHelperService
- protected org.springframework.web.servlet.ModelAndView callSuper(org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, MarcEditorForm marcEditorForm)
result
- request
- response
- marcEditorForm
-
public boolean validateMarcEditorData(MarcEditorForm marcEditorForm)
marcEditorForm
-
public String getURL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |