public class ControllerServiceImpl extends Object implements ControllerService
Constructor and Description |
---|
ControllerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.ModelAndView |
cancel(UifFormBase form)
Navigates back to a previous point (depending on how the view was requested).
|
void |
checkViewAuthorization(UifFormBase form)
Invokes the configured
ViewAuthorizer to verify the user has access to
open the view. |
protected ModelAndViewService |
getModelAndViewService() |
protected NavigationControllerService |
getNavigationControllerService() |
org.springframework.web.servlet.ModelAndView |
sessionTimeout(UifFormBase form)
Default impl does nothing but render the view.
|
void |
setModelAndViewService(ModelAndViewService modelAndViewService) |
void |
setNavigationControllerService(NavigationControllerService navigationControllerService) |
org.springframework.web.servlet.ModelAndView |
start(UifFormBase form)
Initial method called when requesting a new view instance.
|
public ControllerServiceImpl()
public org.springframework.web.servlet.ModelAndView start(UifFormBase form)
start
in interface ControllerService
form
- form instance containing the model datapublic void checkViewAuthorization(UifFormBase form) throws AuthorizationException
ViewAuthorizer
to verify the user has access to
open the view.checkViewAuthorization
in interface ControllerService
AuthorizationException
- thrown if user does not have access to the viewpublic org.springframework.web.servlet.ModelAndView sessionTimeout(UifFormBase form)
sessionTimeout
in interface ControllerService
form
- form instance containing the model datapublic org.springframework.web.servlet.ModelAndView cancel(UifFormBase form)
cancel
in interface ControllerService
form
- form instance containing the model dataprotected ModelAndViewService getModelAndViewService()
public void setModelAndViewService(ModelAndViewService modelAndViewService)
protected NavigationControllerService getNavigationControllerService()
public void setNavigationControllerService(NavigationControllerService navigationControllerService)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.