@Controller @RequestMapping(value="krmsAgendaEditor") public class AgendaEditorController extends MaintenanceDocumentController
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AgendaEditorController.AgendaItemChildAccessor
This class abstracts getting and setting a child of an AgendaItemBo, making some recursive operations
require less boiler plate.
|
LOGDOCUMENT_LOAD_COMMANDS| Constructor and Description |
|---|
AgendaEditorController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
addProposition(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
addRule(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method adds the newly create rule to the agenda.
|
org.springframework.web.servlet.ModelAndView |
ajaxCategoryChangeRefresh(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Updates to the category call back to this method to set the categoryId appropriately
TODO: shouldn't this happen automatically? We're taking it out of the form by hand here
|
org.springframework.web.servlet.ModelAndView |
ajaxCut(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
ajaxDelete(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
ajaxMoveDown(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
ajaxMoveLeft(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
ajaxMoveRight(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
ajaxMoveUp(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
ajaxPaste(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
ajaxRefresh(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
ajaxValidRuleName(String name,
String namespace)
Exposes Ajax callback to UI to validate entered rule name to copy
|
org.springframework.web.servlet.ModelAndView |
copyRule(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
cutProposition(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
delete(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
deleteProposition(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
editRule(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method updates the existing rule in the agenda.
|
protected Map<String,String> |
getCustomOperatorValueMap(UifFormBase form)
Gets a map from function ID to custom operator key.
|
protected String |
getDefaultAddLocationPropositionId(Node<RuleTreeNode,String> root)
This method gets the last propostion in the topmost branch.
|
protected Node<RuleTreeNode,String> |
getLastSimpleNode(List<Node<RuleTreeNode,String>> grandChildren)
This method returns the last simple node in the topmost branch.
|
org.springframework.web.servlet.ModelAndView |
goToAddRule(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method updates the existing rule in the agenda.
|
org.springframework.web.servlet.ModelAndView |
goToEditProposition(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method starts an edit proposition.
|
org.springframework.web.servlet.ModelAndView |
goToEditRule(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method updates the existing rule in the agenda.
|
org.springframework.web.servlet.ModelAndView |
maintenanceEdit(MaintenanceDocumentForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Setups a new
MaintenanceDocumentView with the edit maintenance
action |
org.springframework.web.servlet.ModelAndView |
moveDown(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
moveLeft(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
movePropositionDown(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
movePropositionLeft(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
movePropositionRight(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
movePropositionUp(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
moveRight(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
moveUp(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
pasteProposition(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
preprocessCustomOperators(org.kuali.rice.krms.impl.repository.PropositionBo proposition,
Map<String,String> customOperatorValuesMap)
Looks for any custom function calls within simple propositions and attempts to convert them to custom
operator keys.
|
org.springframework.web.servlet.ModelAndView |
refresh(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This overridden method does extra work on refresh to update the namespace when the context has been changed.
|
org.springframework.web.servlet.ModelAndView |
route(DocumentFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Override route to set the setSelectedAgendaItemId to empty and disable all the buttons
|
org.springframework.web.servlet.ModelAndView |
togglePropositionSimpleCompound(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
createInitialForm, docHandler, getMaintenanceDocumentService, maintenanceCopy, maintenanceNewWithExisting, setupMaintenance, startacknowledge, approve, blanketApprove, buildAuthorizationException, cancel, cancelAttachment, checkAndWarnAboutSensitiveData, combineAdHocRecipients, complete, createDocument, deleteNote, disapprove, downloadAttachment, fyi, generateDisapprovalNote, getAttachmentService, getBusinessObjectService, getConfigurationService, getDataDictionaryService, getDocumentDictionaryService, getDocumentService, getNoteService, insertNote, loadDocument, performWorkflowAction, reload, save, sendAdHocRequests, setBusinessObjectService, setDataDictionaryService, setDocumentDictionaryService, setDocumentService, supervisorFunctionsaddBlankLine, addLine, back, checkForm, checkViewAuthorization, createDataTablesPagingHelperInstance, defaultMapping, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getUIFModelAndView, getUIFModelAndViewWithInit, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, performRedirect, resetDialogStatus, retrieveCollectionPage, retrieveOriginalComponent, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, sessionTimeout, showDialog, tableCsvRetrieval, tableJsonRetrieval, tableXlsRetrieval, tableXmlRetrievalpublic AgendaEditorController()
@RequestMapping(params="methodToCall=route") public org.springframework.web.servlet.ModelAndView route(@ModelAttribute(value="KualiForm") DocumentFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
route in class MaintenanceDocumentControllerform - - document form base containing the document instance that will be routed(DocumentFormBase, BindingResult, HttpServletRequest, HttpServletResponse)@RequestMapping(params="methodToCall=refresh") public org.springframework.web.servlet.ModelAndView refresh(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
refresh in class UifControllerBaseform - - Holds properties necessary to determine the View instance that will be used to
render
the UIresult - - represents binding resultsrequest - - http servlet request dataresponse - - http servlet response objectExceptionUifControllerBase.refresh(org.kuali.rice.krad.web.form.UifFormBase, org.springframework.validation.BindingResult, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)public org.springframework.web.servlet.ModelAndView maintenanceEdit(@ModelAttribute(value="KualiForm") MaintenanceDocumentForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
MaintenanceDocumentControllerMaintenanceDocumentView with the edit maintenance
actionmaintenanceEdit in class MaintenanceDocumentControllerException@RequestMapping(params="methodToCall=goToAddRule") public org.springframework.web.servlet.ModelAndView goToAddRule(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=goToEditRule") public org.springframework.web.servlet.ModelAndView goToEditRule(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exceptionprotected Map<String,String> getCustomOperatorValueMap(UifFormBase form)
The key for a custom operator uses a special prefix and format.
form - the form containing the agenda editorprotected void preprocessCustomOperators(org.kuali.rice.krms.impl.repository.PropositionBo proposition, Map<String,String> customOperatorValuesMap)
proposition - the proposition to search within and convertcustomOperatorValuesMap - a map from function ID to custom operator key, used for the conversion@RequestMapping(params="methodToCall=addRule") public org.springframework.web.servlet.ModelAndView addRule(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=editRule") public org.springframework.web.servlet.ModelAndView editRule(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=ajaxRefresh") public org.springframework.web.servlet.ModelAndView ajaxRefresh(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=moveUp") public org.springframework.web.servlet.ModelAndView moveUp(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=ajaxMoveUp") public org.springframework.web.servlet.ModelAndView ajaxMoveUp(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=ajaxValidRuleName",
method=GET)
@ResponseBody
public boolean ajaxValidRuleName(@RequestParam
String name,
@RequestParam
String namespace)
name - the copyRuleNamenamespace - the rule namespace@RequestMapping(params="methodToCall=moveDown") public org.springframework.web.servlet.ModelAndView moveDown(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=ajaxMoveDown") public org.springframework.web.servlet.ModelAndView ajaxMoveDown(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=moveLeft") public org.springframework.web.servlet.ModelAndView moveLeft(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=ajaxMoveLeft") public org.springframework.web.servlet.ModelAndView ajaxMoveLeft(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=moveRight") public org.springframework.web.servlet.ModelAndView moveRight(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=ajaxMoveRight") public org.springframework.web.servlet.ModelAndView ajaxMoveRight(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=delete") public org.springframework.web.servlet.ModelAndView delete(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=ajaxDelete") public org.springframework.web.servlet.ModelAndView ajaxDelete(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=ajaxCut") public org.springframework.web.servlet.ModelAndView ajaxCut(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=ajaxPaste") public org.springframework.web.servlet.ModelAndView ajaxPaste(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=ajaxCategoryChangeRefresh") public org.springframework.web.servlet.ModelAndView ajaxCategoryChangeRefresh(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=copyRule") public org.springframework.web.servlet.ModelAndView copyRule(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=goToEditProposition") public org.springframework.web.servlet.ModelAndView goToEditProposition(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exceptionprotected Node<RuleTreeNode,String> getLastSimpleNode(List<Node<RuleTreeNode,String>> grandChildren)
grandChildren - protected String getDefaultAddLocationPropositionId(Node<RuleTreeNode,String> root)
root - @RequestMapping(params="methodToCall=addProposition") public org.springframework.web.servlet.ModelAndView addProposition(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=movePropositionUp") public org.springframework.web.servlet.ModelAndView movePropositionUp(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=movePropositionDown") public org.springframework.web.servlet.ModelAndView movePropositionDown(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=movePropositionLeft") public org.springframework.web.servlet.ModelAndView movePropositionLeft(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=movePropositionRight") public org.springframework.web.servlet.ModelAndView movePropositionRight(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=togglePropositionSimpleCompound") public org.springframework.web.servlet.ModelAndView togglePropositionSimpleCompound(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=cutProposition") public org.springframework.web.servlet.ModelAndView cutProposition(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=pasteProposition") public org.springframework.web.servlet.ModelAndView pasteProposition(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=deleteProposition") public org.springframework.web.servlet.ModelAndView deleteProposition(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@RequestMapping(params="methodToCall=updateCompoundOperator") public org.springframework.web.servlet.ModelAndView updateCompoundOperator(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
ExceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.