public class RuleEditorController extends MaintenanceDocumentController
LOG
DOCUMENT_LOAD_COMMANDS
Constructor and Description |
---|
RuleEditorController() |
Modifier and Type | Method and Description |
---|---|
ModelAndView |
addProposition(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Method to initialize the adding of proposition to rule.
|
ModelAndView |
addRule(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Navigates to rule maintenance page with rule type to initialize adding of new rule.
|
ModelAndView |
ajaxRefresh(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Call the super method to avoid the agenda tree being reloaded from the db.
|
ModelAndView |
cancelEditProposition(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Reverts rule to previous state and refreshes view.
|
ModelAndView |
cancelEditRule(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Reverts rule to previous state and navigates to agenda maintenance page.
|
protected void |
compareRulePropositions(MaintenanceDocumentForm form,
RuleEditor ruleEditor) |
ModelAndView |
compareRules(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Test method for a controller that invokes a dialog lightbox.
|
ModelAndView |
copyRule(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Method to copy rule.
|
ModelAndView |
deleteProposition(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Removes proposition.
|
ModelAndView |
deleteRule(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Deletes selected rule from agenda on Manage Course Requistes page
|
protected void |
doCompareRules(UifFormBase form) |
protected MaintenanceDocumentForm |
getMaintenanceDocumentForm(UifFormBase form) |
protected RuleEditor |
getRuleEditor(UifFormBase form)
Retrieves selected rule editor from data object.
|
ModelAndView |
getSelectedKey(UifFormBase form,
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.
|
ModelAndView |
goToEditProposition(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
This method starts an edit on proposition.
|
ModelAndView |
goToRuleView(UifFormBase form,
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 |
ModelAndView |
movePropositionDown(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Moves proposition down in tree structure.
|
ModelAndView |
movePropositionLeft(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Moves proposition left in tree structure.
|
ModelAndView |
movePropositionRight(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Move proposition right in tree structure.
|
ModelAndView |
movePropositionUp(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Moves proposition up in tree structure.
|
ModelAndView |
pasteProposition(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Paste proposition in selected position in tree structure.
|
ModelAndView |
refreshLogicArea(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Refreshes logic area input field when changing tabs.
|
protected RuleEditor |
retrieveSelectedRuleEditor(MaintenanceDocumentForm document) |
ModelAndView |
togglePropositionSimpleCompound(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Introduces a new compound proposition between the selected proposition and its parent.
|
ModelAndView |
updateCompoundOperator(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Updates compound operator in tree structure.
|
ModelAndView |
updatePreview(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Updates view with changed logic expressions.
|
ModelAndView |
updateProposition(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Updates rule with new or changed propositions.
|
ModelAndView |
updatePropositionType(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Updates proposition type and reloads view.
|
ModelAndView |
updateRule(UifFormBase form,
BindingResult result,
HttpServletRequest request,
HttpServletResponse response)
Updates rule and redirects to agenda maintenance page.
|
createInitialForm, docHandler, downloadBOAttachment, getMaintenanceDocumentService, maintenanceCopy, maintenanceDelete, maintenanceEdit, maintenanceNewWithExisting, route, setupMaintenance, start
acknowledge, approve, blanketApprove, buildAuthorizationException, cancel, cancelAttachment, checkAndWarnAboutSensitiveData, combineAdHocRecipients, complete, createDocument, deleteNote, disapprove, downloadAttachment, fyi, generateDisapprovalNote, getAttachmentService, getConfigurationService, getDataDictionaryService, getDocumentDictionaryService, getDocumentService, getLegacyDataAdapter, getNoteService, insertNote, loadDocument, performWorkflowAction, reload, save, sendAdHocRequests, setDataDictionaryService, setDocumentDictionaryService, setDocumentService, setLegacyDataAdapter, supervisorFunctions
addBlankLine, addLine, back, checkForm, checkViewAuthorization, defaultMapping, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getUIFModelAndView, getUIFModelAndViewWithInit, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, performRedirect, refresh, resetDialogStatus, retrieveCollectionPage, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, sessionTimeout, showDialog, tableJsonRetrieval
public RuleEditorController()
@RequestMapping(params="methodToCall=goToRuleView") public ModelAndView goToRuleView(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @MethodAccessible @RequestMapping(params="methodToCall=deleteRule") public ModelAndView deleteRule(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=addRule") public ModelAndView addRule(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=ajaxRefresh") public ModelAndView ajaxRefresh(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- Exception
protected RuleEditor getRuleEditor(UifFormBase form)
form
- @MethodAccessible @RequestMapping(params="methodToCall=copyRule") public ModelAndView copyRule(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response) throws Exception
form
- result
- request
- response
- Exception
@MethodAccessible @RequestMapping(params="methodToCall=goToEditProposition") public ModelAndView goToEditProposition(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @MethodAccessible @RequestMapping(params="methodToCall=addProposition") public ModelAndView addProposition(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @MethodAccessible @RequestMapping(params="methodToCall=movePropositionUp") public ModelAndView movePropositionUp(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @MethodAccessible @RequestMapping(params="methodToCall=movePropositionDown") public ModelAndView movePropositionDown(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- public boolean isSimpleNode(String nodeType)
true
if node is of type simplenodeType
- false
otherwise@MethodAccessible @RequestMapping(params="methodToCall=movePropositionLeft") public ModelAndView movePropositionLeft(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @MethodAccessible @RequestMapping(params="methodToCall=movePropositionRight") public ModelAndView movePropositionRight(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @MethodAccessible @RequestMapping(params="methodToCall=togglePropositionSimpleCompound") public ModelAndView togglePropositionSimpleCompound(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- Exception
@MethodAccessible @RequestMapping(params="methodToCall=pasteProposition") public ModelAndView pasteProposition(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- Exception
@MethodAccessible @RequestMapping(params="methodToCall=deleteProposition") public ModelAndView deleteProposition(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @MethodAccessible @RequestMapping(params="methodToCall=updateCompoundOperator") public ModelAndView updateCompoundOperator(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @MethodAccessible @RequestMapping(params="methodToCall=updateProposition") public ModelAndView updateProposition(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- Exception
protected void compareRulePropositions(MaintenanceDocumentForm form, RuleEditor ruleEditor)
@RequestMapping(params="methodToCall=updateRule") public ModelAndView updateRule(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- Exception
@RequestMapping(params="methodToCall=updatePreview") public ModelAndView updatePreview(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- Exception
@MethodAccessible @RequestMapping(params="methodToCall=cancelEditProposition") public ModelAndView cancelEditProposition(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=cancelEditRule") public ModelAndView cancelEditRule(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @MethodAccessible @RequestMapping(params="methodToCall=updatePropositionType") public ModelAndView updatePropositionType(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(params="methodToCall=compareRules") public ModelAndView compareRules(@ModelAttribute(value="KualiForm") UifFormBase form, 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 ModelAndView getSelectedKey(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- @MethodAccessible @RequestMapping(params="methodToCall=refreshLogicArea") public ModelAndView refreshLogicArea(@ModelAttribute(value="KualiForm") UifFormBase form, BindingResult result, HttpServletRequest request, HttpServletResponse response)
form
- result
- request
- response
- protected RuleEditor retrieveSelectedRuleEditor(MaintenanceDocumentForm document)
protected MaintenanceDocumentForm getMaintenanceDocumentForm(UifFormBase form)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.