|
||||||||||
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.InstanceEditorController
@Controller @RequestMapping(value="/instanceeditor") public class InstanceEditorController
InstanceEditorController is the controller class for Instance Editor
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.web.controller.UifControllerBase |
---|
REDIRECT_PREFIX |
Constructor Summary | |
---|---|
InstanceEditorController()
|
Method Summary | |
---|---|
org.springframework.web.servlet.ModelAndView |
addItemRecord(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 adds the existingItem records from docStore in to oleItems and it will be set in InstanceEditorForm. |
protected org.springframework.web.servlet.ModelAndView |
callSuper(org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
InstanceEditorForm instanceEditorForm)
Used for Test-case |
protected InstanceEditorForm |
createInitialForm(javax.servlet.http.HttpServletRequest httpServletRequest)
This method creates a instance of InstanceEditorForm |
DiscoveryHelperService |
getDiscoveryHelperService()
Gets the discoveryHelperService attribute. |
org.springframework.web.servlet.ModelAndView |
getNewItemData(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 get new itemData |
org.springframework.web.servlet.ModelAndView |
loadInstanceRecord(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 fetch the holding/Item records based on the AdditionalAttributes. |
void |
setDiscoveryHelperService(DiscoveryHelperService discoveryHelperService)
Sets the discoveryHelperService attribute value. |
void |
setDocstoreHelperService(DocstoreHelperService docstoreHelperService)
Sets the docstoreHelperService attribute values. |
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 InstanceEditor 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. |
org.springframework.web.servlet.ModelAndView |
updateLeftPane(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 update the Left Pane hierarchy details. |
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 InstanceEditorController()
Method Detail |
---|
protected InstanceEditorForm createInitialForm(javax.servlet.http.HttpServletRequest httpServletRequest)
createInitialForm
in class org.kuali.rice.krad.web.controller.UifControllerBase
httpServletRequest
-
@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=loadInstanceRecord") public org.springframework.web.servlet.ModelAndView loadInstanceRecord(@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
-
@RequestMapping(params="methodToCall=updateLeftPane") public org.springframework.web.servlet.ModelAndView updateLeftPane(@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(method=POST, params="methodToCall=addNewItem") public org.springframework.web.servlet.ModelAndView addItemRecord(@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(method=POST, params="methodToCall=getNewItemData") public org.springframework.web.servlet.ModelAndView getNewItemData(@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
-
protected org.springframework.web.servlet.ModelAndView callSuper(org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, InstanceEditorForm instanceEditorForm)
result
- request
- response
- instanceEditorForm
-
public void setDocstoreHelperService(DocstoreHelperService docstoreHelperService)
docstoreHelperService
- public void setDiscoveryHelperService(DiscoveryHelperService discoveryHelperService)
discoveryHelperService
- public DiscoveryHelperService getDiscoveryHelperService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |