org.kuali.rice.krad.web.controller
Class TransactionalDocumentControllerBase

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.TransactionalDocumentControllerBase
Direct Known Subclasses:
TravelAuthorizationController

public abstract class TransactionalDocumentControllerBase
extends DocumentControllerBase

Controller for TransactionalDocumentView screens which operate on TransactionalDocument instances.

Provides controller implementations for transactional document actions including: doc handler (retrieve from doc search and action list), save, route (and other KEW actions), and copy.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
DocumentControllerBase

Field Summary
protected static org.apache.log4j.Logger LOG
           
 
Fields inherited from class org.kuali.rice.krad.web.controller.DocumentControllerBase
DOCUMENT_LOAD_COMMANDS
 
Constructor Summary
TransactionalDocumentControllerBase()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView copy(TransactionalDocumentFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Method to call copy.
 
Methods inherited from class org.kuali.rice.krad.web.controller.DocumentControllerBase
acknowledge, approve, blanketApprove, buildAuthorizationException, cancel, cancelAttachment, checkAndWarnAboutSensitiveData, combineAdHocRecipients, complete, createDocument, createInitialForm, deleteNote, disapprove, docHandler, downloadAttachment, fyi, getAttachmentService, getBusinessObjectService, getConfigurationService, getDataDictionaryService, getDocumentDictionaryService, getDocumentService, getNoteService, insertNote, loadDocument, performWorkflowAction, reload, route, 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, refresh, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, showDialog, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.apache.log4j.Logger LOG
Constructor Detail

TransactionalDocumentControllerBase

public TransactionalDocumentControllerBase()
Method Detail

copy

@RequestMapping(params="methodToCall=maintenanceCopy")
public org.springframework.web.servlet.ModelAndView copy(@ModelAttribute(value="KualiForm")
                                                                        TransactionalDocumentFormBase form,
                                                                        org.springframework.validation.BindingResult result,
                                                                        javax.servlet.http.HttpServletRequest request,
                                                                        javax.servlet.http.HttpServletResponse response)
                                                  throws Exception
Method to call copy.

Method that will take the current document and call its copy method if Copyable.

Parameters:
form - : a TransactionalDocumentFormBase
result - : a BindingResult
Returns:
a ModelAndView object
Throws:
Exception - : an exception


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.