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

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.TransactionalDocumentController

@Controller
@RequestMapping(value="/transactional")
public class TransactionalDocumentController
extends DocumentControllerBase

Controller for TransactionalView screens which operate on TransactionalDocument instances

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

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
TransactionalDocumentController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView copy(TransactionForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Method that will take the current document and call its copy method if Copyable.
protected  TransactionForm createInitialForm(javax.servlet.http.HttpServletRequest request)
          Called to create a new model(form) object when necessary.
 
Methods inherited from class org.kuali.rice.krad.web.controller.DocumentControllerBase
acknowledge, approve, blanketApprove, buildAuthorizationException, cancel, cancelAttachment, checkAndWarnAboutSensitiveData, combineAdHocRecipients, complete, createDocument, 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, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getViewResolver, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, refresh, renderView, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, setViewResolver, showDialog, start, toggleInactiveRecordDisplay
 
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

TransactionalDocumentController

public TransactionalDocumentController()
Method Detail

createInitialForm

protected TransactionForm createInitialForm(javax.servlet.http.HttpServletRequest request)
Description copied from class: UifControllerBase
Called to create a new model(form) object when necessary. This usually occurs on the initial request in a conversation (when the model is not present in the session). This method must be overridden when extending a controller and using a different form type than the superclass.

Specified by:
createInitialForm in class DocumentControllerBase
Parameters:
request - - the http request that was made
See Also:
UifControllerBase.createInitialForm(javax.servlet.http.HttpServletRequest)

copy

@RequestMapping(params="methodToCall=maintenanceCopy")
public org.springframework.web.servlet.ModelAndView copy(@ModelAttribute(value="KualiForm")
                                                                        TransactionForm form,
                                                                        org.springframework.validation.BindingResult result,
                                                                        javax.servlet.http.HttpServletRequest request,
                                                                        javax.servlet.http.HttpServletResponse response)
                                                  throws Exception
Method that will take the current document and call its copy method if Copyable.

Throws:
Exception


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