org.kuali.ole.deliver.request.controller
Class OleDeliverRequestMaintenanceDocumentController

java.lang.Object
  extended by org.kuali.rice.krad.web.controller.UifControllerBase
      extended by org.kuali.rice.krad.web.controller.DocumentControllerBase
          extended by org.kuali.rice.krad.web.controller.MaintenanceDocumentController
              extended by org.kuali.ole.deliver.request.controller.OleDeliverRequestMaintenanceDocumentController

@Controller
@RequestMapping(value="/deliverRequestMaintenance")
public class OleDeliverRequestMaintenanceDocumentController
extends org.kuali.rice.krad.web.controller.MaintenanceDocumentController

Created with IntelliJ IDEA. User: ? Date: 10/17/12 Time: 1:59 PM To change this template use File | Settings | File Templates.


Field Summary
 
Fields inherited from class org.kuali.rice.krad.web.controller.DocumentControllerBase
DOCUMENT_LOAD_COMMANDS
 
Constructor Summary
OleDeliverRequestMaintenanceDocumentController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView cancelDocument(org.kuali.rice.krad.web.form.MaintenanceDocumentForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This method invokes deleteAttachment method to delete attachment and set the error accordingly ..
protected  Map<String,String> getAgendaContext(String agendaName)
          This method returns AgendaContext using agendaName..
 DocstoreHelperService getDocStoreHelperService()
           
protected  Map<String,String> getSelectionContext(String contextName)
          This method returns SelectionContext using contextName.
 org.springframework.web.servlet.ModelAndView maintenanceCancel(org.kuali.rice.krad.web.form.MaintenanceDocumentForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 org.springframework.web.servlet.ModelAndView refresh(org.kuali.rice.krad.web.form.UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 org.springframework.web.servlet.ModelAndView route(org.kuali.rice.krad.web.form.DocumentFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void setupMaintenanceForDelete(org.kuali.rice.krad.web.form.MaintenanceDocumentForm form, javax.servlet.http.HttpServletRequest request, String maintenanceAction)
          This method populates confirmation to delete the document.
 
Methods inherited from class org.kuali.rice.krad.web.controller.MaintenanceDocumentController
createInitialForm, docHandler, getMaintenanceDocumentService, maintenanceCopy, maintenanceEdit, maintenanceNewWithExisting, setupMaintenance, start
 
Methods inherited from class org.kuali.rice.krad.web.controller.DocumentControllerBase
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, setBusinessObjectService, setDataDictionaryService, setDocumentDictionaryService, setDocumentService, supervisorFunctions
 
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase
addBlankLine, addLine, checkForm, checkViewAuthorization, close, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, showDialog, toggleInactiveRecordDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OleDeliverRequestMaintenanceDocumentController

public OleDeliverRequestMaintenanceDocumentController()
Method Detail

getDocStoreHelperService

public DocstoreHelperService getDocStoreHelperService()

maintenanceCancel

@RequestMapping(params="methodToCall=maintenanceCancel")
public org.springframework.web.servlet.ModelAndView maintenanceCancel(@ModelAttribute(value="KualiForm")
                                                                                     org.kuali.rice.krad.web.form.MaintenanceDocumentForm form,
                                                                                     org.springframework.validation.BindingResult result,
                                                                                     javax.servlet.http.HttpServletRequest request,
                                                                                     javax.servlet.http.HttpServletResponse response)
                                                               throws Exception
Throws:
Exception

cancelDocument

@RequestMapping(params="methodToCall=cancelDocument")
public org.springframework.web.servlet.ModelAndView cancelDocument(@ModelAttribute(value="KualiForm")
                                                                                  org.kuali.rice.krad.web.form.MaintenanceDocumentForm form,
                                                                                  org.springframework.validation.BindingResult result,
                                                                                  javax.servlet.http.HttpServletRequest request,
                                                                                  javax.servlet.http.HttpServletResponse response)
                                                            throws Exception
This method invokes deleteAttachment method to delete attachment and set the error accordingly ..

Parameters:
form -
result -
request -
response -
Returns:
ModelAndView
Throws:
Exception

setupMaintenanceForDelete

protected void setupMaintenanceForDelete(org.kuali.rice.krad.web.form.MaintenanceDocumentForm form,
                                         javax.servlet.http.HttpServletRequest request,
                                         String maintenanceAction)
This method populates confirmation to delete the document.

Parameters:
form -
request -
maintenanceAction -

route

@RequestMapping(params="methodToCall=route")
public org.springframework.web.servlet.ModelAndView route(@ModelAttribute(value="KualiForm")
                                                                         org.kuali.rice.krad.web.form.DocumentFormBase form,
                                                                         org.springframework.validation.BindingResult result,
                                                                         javax.servlet.http.HttpServletRequest request,
                                                                         javax.servlet.http.HttpServletResponse response)
Overrides:
route in class org.kuali.rice.krad.web.controller.MaintenanceDocumentController

getSelectionContext

protected Map<String,String> getSelectionContext(String contextName)
This method returns SelectionContext using contextName.

Parameters:
contextName -
Returns:
Map

getAgendaContext

protected Map<String,String> getAgendaContext(String agendaName)
This method returns AgendaContext using agendaName..

Parameters:
agendaName -
Returns:
Map

refresh

@RequestMapping(params="methodToCall=refresh")
public org.springframework.web.servlet.ModelAndView refresh(@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)
                                                     throws Exception
Overrides:
refresh in class org.kuali.rice.krad.web.controller.UifControllerBase
Throws:
Exception


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.