org.kuali.ole.patron.controller
Class OlePatronMaintenanceDocumentController

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.patron.controller.OlePatronMaintenanceDocumentController

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

.OlePatronMaintenanceDocumentController invokes MaintenanceDocumentController and returns instance of MaintenanceDocumentService.


Field Summary
 
Fields inherited from class org.kuali.rice.krad.web.controller.DocumentControllerBase
DOCUMENT_LOAD_COMMANDS
 
Fields inherited from class org.kuali.rice.krad.web.controller.UifControllerBase
REDIRECT_PREFIX
 
Constructor Summary
OlePatronMaintenanceDocumentController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView deleteDocument(org.kuali.rice.krad.web.form.MaintenanceForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          To delete the whole patron document.
protected  org.kuali.rice.krad.service.MaintenanceDocumentService getMaintenanceDocumentService()
          This method returns the instance of olePatronMaintenanceDocumentService
 OlePatronService getOlePatronService()
           
 org.springframework.web.servlet.ModelAndView maintenanceDelete(org.kuali.rice.krad.web.form.MaintenanceForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Use to create a link delete in the lookup result action field which will use to delete patron record..
 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)
          To submit or route the patron maintenance document
protected  void setupMaintenanceForDelete(org.kuali.rice.krad.web.form.MaintenanceForm 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, maintenanceCopy, maintenanceEdit, maintenanceNewWithExisting, setupMaintenance, start
 
Methods inherited from class org.kuali.rice.krad.web.controller.DocumentControllerBase
acknowledge, approve, blanketApprove, buildAuthorizationException, cancel, cancelAttachment, checkAndWarnAboutSensitiveData, combineAdHocRecipients, 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
addLine, 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

OlePatronMaintenanceDocumentController

public OlePatronMaintenanceDocumentController()
Method Detail

getOlePatronService

public OlePatronService getOlePatronService()

getMaintenanceDocumentService

protected org.kuali.rice.krad.service.MaintenanceDocumentService getMaintenanceDocumentService()
This method returns the instance of olePatronMaintenanceDocumentService

Overrides:
getMaintenanceDocumentService in class org.kuali.rice.krad.web.controller.MaintenanceDocumentController
Returns:
olePatronMaintenanceDocumentService(MaintenanceDocumentService)

maintenanceDelete

@RequestMapping(params="methodToCall=maintenanceDelete")
public org.springframework.web.servlet.ModelAndView maintenanceDelete(@ModelAttribute(value="KualiForm")
                                                                                     org.kuali.rice.krad.web.form.MaintenanceForm form,
                                                                                     org.springframework.validation.BindingResult result,
                                                                                     javax.servlet.http.HttpServletRequest request,
                                                                                     javax.servlet.http.HttpServletResponse response)
                                                               throws Exception
Use to create a link delete in the lookup result action field which will use to delete patron record..

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

deleteDocument

@RequestMapping(params="methodToCall=deleteDocument")
public org.springframework.web.servlet.ModelAndView deleteDocument(@ModelAttribute(value="KualiForm")
                                                                                  org.kuali.rice.krad.web.form.MaintenanceForm form,
                                                                                  org.springframework.validation.BindingResult result,
                                                                                  javax.servlet.http.HttpServletRequest request,
                                                                                  javax.servlet.http.HttpServletResponse response)
                                                            throws Exception
To delete the whole patron document.

Parameters:
form -
result -
request -
response -
Returns:
Close the document
Throws:
Exception

setupMaintenanceForDelete

protected void setupMaintenanceForDelete(org.kuali.rice.krad.web.form.MaintenanceForm 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)
To submit or route the patron maintenance document

Overrides:
route in class org.kuali.rice.krad.web.controller.MaintenanceDocumentController
Parameters:
form - document form base containing the document instance that will be routed
Returns:
ModelAndView


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