edu.sampleu.travel
Class TravelAuthorizationController

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
              extended by edu.sampleu.travel.TravelAuthorizationController

@Controller
@RequestMapping(value="/approval")
public class TravelAuthorizationController
extends TransactionalDocumentControllerBase

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

Field Summary
 
Fields inherited from class org.kuali.rice.krad.web.controller.TransactionalDocumentControllerBase
LOG
 
Fields inherited from class org.kuali.rice.krad.web.controller.DocumentControllerBase
DOCUMENT_LOAD_COMMANDS
 
Constructor Summary
TravelAuthorizationController()
           
 
Method Summary
protected  TravelAuthorizationForm createInitialForm(javax.servlet.http.HttpServletRequest request)
          Called to create a new model(form) object when necessary.
 org.springframework.web.servlet.ModelAndView route(DocumentFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Showcase the dialog feature by confirming with the user that he really wants to route the document.
 
Methods inherited from class org.kuali.rice.krad.web.controller.TransactionalDocumentControllerBase
copy
 
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, downloadBOAttachment, fyi, getAttachmentService, getConfigurationService, getDataDictionaryService, getDocumentDictionaryService, getDocumentService, getLegacyDataAdapter, getNoteService, insertNote, loadDocument, performWorkflowAction, reload, save, sendAdHocRequests, setDataDictionaryService, setDocumentDictionaryService, setDocumentService, setLegacyDataAdapter, supervisorFunctions
 
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase
addBlankLine, addLine, back, checkForm, checkViewAuthorization, defaultMapping, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getUIFModelAndView, getUIFModelAndViewWithInit, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, performRedirect, refresh, resetDialogStatus, retrieveCollectionPage, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, sessionTimeout, showDialog, start, tableJsonRetrieval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TravelAuthorizationController

public TravelAuthorizationController()
Method Detail

createInitialForm

protected TravelAuthorizationForm 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)

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)
Showcase the dialog feature by confirming with the user that he really wants to route the document.

Overrides:
route in class DocumentControllerBase
Parameters:
form - - document form base containing the document instance that will be routed
Returns:
ModelAndView


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.