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

java.lang.Object
  extended by org.kuali.rice.krad.web.controller.UifControllerBase
      extended by org.kuali.rice.krad.web.controller.ModuleLockedController

@Controller
public class ModuleLockedController
extends UifControllerBase

Loads the module locked view when a user accesses a module which has been locked for maintenance

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

Field Summary
static String MODULE_PARAMETER
           
 
Constructor Summary
ModuleLockedController()
           
 
Method Summary
protected  UifFormBase createInitialForm(javax.servlet.http.HttpServletRequest request)
          Called to create a new model(form) object when necessary.
 org.springframework.web.servlet.ModelAndView moduleLocked(UifFormBase form, String moduleNamespaceCode)
          Retrieves the module locked message test from a system parameter and then returns the message view
 
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase
addBlankLine, addLine, back, cancel, checkForm, checkViewAuthorization, createDataTablesPagingHelperInstance, defaultMapping, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getUIFModelAndView, getUIFModelAndViewWithInit, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, performRedirect, refresh, retrieveCollectionPage, retrieveOriginalComponent, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, sessionTimeout, showDialog, start, tableCsvRetrieval, tableJsonRetrieval, tableXlsRetrieval, tableXmlRetrieval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE_PARAMETER

public static final String MODULE_PARAMETER
See Also:
Constant Field Values
Constructor Detail

ModuleLockedController

public ModuleLockedController()
Method Detail

createInitialForm

protected UifFormBase 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 UifControllerBase
Parameters:
request - - the http request that was made

moduleLocked

@RequestMapping(value="/module-locked")
public org.springframework.web.servlet.ModelAndView moduleLocked(@ModelAttribute(value="KualiForm")
                                                                                UifFormBase form,
                                                                                @RequestParam(value="moduleNamespace",required=true)
                                                                                String moduleNamespaceCode)
Retrieves the module locked message test from a system parameter and then returns the message view



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