public class RuleEditorController extends MaintenanceDocumentController
LOG
DOCUMENT_LOAD_COMMANDS
Constructor and Description |
---|
RuleEditorController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.ModelAndView |
addProposition(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Method to initialize the adding of proposition to rule.
|
org.springframework.web.servlet.ModelAndView |
addRule(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Navigates to rule maintenance page with rule type to initialize adding of new rule.
|
org.springframework.web.servlet.ModelAndView |
ajaxRefresh(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Call the super method to avoid the agenda tree being reloaded from the db.
|
org.springframework.web.servlet.ModelAndView |
cancelEditProposition(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Reverts rule to previous state and refreshes view.
|
org.springframework.web.servlet.ModelAndView |
cancelEditRule(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Reverts rule to previous state and navigates to agenda maintenance page.
|
protected void |
compareRulePropositions(MaintenanceDocumentForm form,
RuleEditor ruleEditor) |
org.springframework.web.servlet.ModelAndView |
compareRules(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Test method for a controller that invokes a dialog lightbox.
|
org.springframework.web.servlet.ModelAndView |
copyRule(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Method to copy rule.
|
org.springframework.web.servlet.ModelAndView |
deleteProposition(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Removes proposition.
|
org.springframework.web.servlet.ModelAndView |
deleteRule(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Deletes selected rule from agenda on Manage Course Requistes page
|
protected void |
doCompareRules(UifFormBase form) |
protected RuleEditor |
getRuleEditor(UifFormBase form)
Retrieves selected rule editor from data object.
|
org.springframework.web.servlet.ModelAndView |
getSelectedKey(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Retrieves selected proposition key and initializes edit on propostion.
|
protected RuleViewHelperService |
getViewHelper(UifFormBase form)
Returns form's view helper serivce.
|
org.springframework.web.servlet.ModelAndView |
goToEditProposition(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
This method starts an edit on proposition.
|
org.springframework.web.servlet.ModelAndView |
goToRuleView(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Method used to invoke the CO inquiry view from Manage Course Offering screen while search input is Course Offering
Code (04a screen)
|
boolean |
isSimpleNode(String nodeType)
Returns
true if node is of type simple |
org.springframework.web.servlet.ModelAndView |
movePropositionDown(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Moves proposition down in tree structure.
|
org.springframework.web.servlet.ModelAndView |
movePropositionLeft(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Moves proposition left in tree structure.
|
org.springframework.web.servlet.ModelAndView |
movePropositionRight(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Move proposition right in tree structure.
|
org.springframework.web.servlet.ModelAndView |
movePropositionUp(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Moves proposition up in tree structure.
|
org.springframework.web.servlet.ModelAndView |
pasteProposition(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Paste proposition in selected position in tree structure.
|
org.springframework.web.servlet.ModelAndView |
refreshLogicArea(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Refreshes logic area input field when changing tabs.
|
org.springframework.web.servlet.ModelAndView |
togglePropositionSimpleCompound(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Introduces a new compound proposition between the selected proposition and its parent.
|
org.springframework.web.servlet.ModelAndView |
updateCompoundOperator(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Updates compound operator in tree structure.
|
org.springframework.web.servlet.ModelAndView |
updatePreview(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Updates view with changed logic expressions.
|
org.springframework.web.servlet.ModelAndView |
updateProposition(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Updates rule with new or changed propositions.
|
org.springframework.web.servlet.ModelAndView |
updatePropositionType(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Updates proposition type and reloads view.
|
org.springframework.web.servlet.ModelAndView |
updateRule(UifFormBase form,
org.springframework.validation.BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Updates rule and redirects to agenda maintenance page.
|
createInitialForm, docHandler, getMaintenanceDocumentService, maintenanceCopy, maintenanceEdit, maintenanceNewWithExisting, route, setupMaintenance, start
acknowledge, approve, blanketApprove, buildAuthorizationException, cancel, cancelAttachment, checkAndWarnAboutSensitiveData, combineAdHocRecipients, complete, createDocument, deleteNote, disapprove, downloadAttachment, fyi, getAttachmentService, getBusinessObjectService, getConfigurationService, getDataDictionaryService, getDocumentDictionaryService, getDocumentService, getNoteService, insertNote, loadDocument, performWorkflowAction, reload, save, sendAdHocRequests, setBusinessObjectService, setDataDictionaryService, setDocumentDictionaryService, setDocumentService, supervisorFunctions
addBlankLine, addLine, back, checkForm, checkViewAuthorization, createDataTablesPagingHelperInstance, defaultMapping, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getUIFModelAndView, getUIFModelAndViewWithInit, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, performRedirect, refresh, retrieveCollectionPage, retrieveOriginalComponent, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, sessionTimeout, showDialog, tableCsvRetrieval, tableJsonRetrieval, tableXlsRetrieval, tableXmlRetrieval
public RuleEditorController()
@RequestMapping(params="methodToCall=goToRuleView") public org.springframework.web.servlet.ModelAndView goToRuleView(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=deleteRule") public org.springframework.web.servlet.ModelAndView deleteRule(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=addRule") public org.springframework.web.servlet.ModelAndView addRule(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=ajaxRefresh") public org.springframework.web.servlet.ModelAndView ajaxRefresh(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- Exception
protected RuleEditor getRuleEditor(UifFormBase form)
form
- @RequestMapping(params="methodToCall=copyRule") public org.springframework.web.servlet.ModelAndView copyRule(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response) throws Exception
form
- result
- request
- response
- Exception
@RequestMapping(params="methodToCall=goToEditProposition") public org.springframework.web.servlet.ModelAndView goToEditProposition(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=addProposition") public org.springframework.web.servlet.ModelAndView addProposition(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=movePropositionUp") public org.springframework.web.servlet.ModelAndView movePropositionUp(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=movePropositionDown") public org.springframework.web.servlet.ModelAndView movePropositionDown(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- public boolean isSimpleNode(String nodeType)
true
if node is of type simplenodeType
- false
otherwise@RequestMapping(params="methodToCall=movePropositionLeft") public org.springframework.web.servlet.ModelAndView movePropositionLeft(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=movePropositionRight") public org.springframework.web.servlet.ModelAndView movePropositionRight(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=togglePropositionSimpleCompound") public org.springframework.web.servlet.ModelAndView togglePropositionSimpleCompound(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- Exception
@RequestMapping(params="methodToCall=pasteProposition") public org.springframework.web.servlet.ModelAndView pasteProposition(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- Exception
@RequestMapping(params="methodToCall=deleteProposition") public org.springframework.web.servlet.ModelAndView deleteProposition(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=updateCompoundOperator") public org.springframework.web.servlet.ModelAndView updateCompoundOperator(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=updateProposition") public org.springframework.web.servlet.ModelAndView updateProposition(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- Exception
protected void compareRulePropositions(MaintenanceDocumentForm form, RuleEditor ruleEditor)
@RequestMapping(params="methodToCall=updateRule") public org.springframework.web.servlet.ModelAndView updateRule(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- Exception
@RequestMapping(params="methodToCall=updatePreview") public org.springframework.web.servlet.ModelAndView updatePreview(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- Exception
@RequestMapping(params="methodToCall=cancelEditProposition") public org.springframework.web.servlet.ModelAndView cancelEditProposition(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=cancelEditRule") public org.springframework.web.servlet.ModelAndView cancelEditRule(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=updatePropositionType") public org.springframework.web.servlet.ModelAndView updatePropositionType(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=compareRules") public org.springframework.web.servlet.ModelAndView compareRules(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- - test formresult
- - Spring form binding resultrequest
- - http requestresponse
- - http responseprotected void doCompareRules(UifFormBase form)
protected RuleViewHelperService getViewHelper(UifFormBase form)
form
- @RequestMapping(params="methodToCall=getSelectedKey") public org.springframework.web.servlet.ModelAndView getSelectedKey(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=refreshLogicArea") public org.springframework.web.servlet.ModelAndView refreshLogicArea(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.