Class ControllerServiceImpl
java.lang.Object
org.kuali.rice.krad.web.service.impl.ControllerServiceImpl
- All Implemented Interfaces:
ControllerService
- Direct Known Subclasses:
DocumentControllerServiceImpl,InquiryControllerServiceImpl,LookupControllerServiceImpl
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndViewcancel(UifFormBase form) Navigates back to a previous point (depending on how the view was requested).voidInvokes the configuredViewAuthorizerto verify the user has access to open the view.protected ModelAndViewServiceprotected NavigationControllerServiceorg.springframework.web.servlet.ModelAndViewsessionTimeout(UifFormBase form) Default impl does nothing but render the view.voidsetModelAndViewService(ModelAndViewService modelAndViewService) voidsetNavigationControllerService(NavigationControllerService navigationControllerService) org.springframework.web.servlet.ModelAndViewstart(UifFormBase form) Initial method called when requesting a new view instance.
-
Constructor Details
-
ControllerServiceImpl
public ControllerServiceImpl()
-
-
Method Details
-
start
Initial method called when requesting a new view instance.- Specified by:
startin interfaceControllerService- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
checkViewAuthorization
public void checkViewAuthorization(UifFormBase form) throws org.kuali.rice.krad.exception.AuthorizationException Invokes the configuredViewAuthorizerto verify the user has access to open the view.- Specified by:
checkViewAuthorizationin interfaceControllerService- Throws:
org.kuali.rice.krad.exception.AuthorizationException- thrown if user does not have access to the view
-
sessionTimeout
Default impl does nothing but render the view. Invoked when a session timeout occurs.- Specified by:
sessionTimeoutin interfaceControllerService- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
cancel
Navigates back to a previous point (depending on how the view was requested). Invoked when the cancel action is invoked on a view. org.kuali.rice.krad.web.service.impl.NavigationControllerServiceImpl#back(org.kuali.rice.krad.web.form.UifFormBase, boolean)- Specified by:
cancelin interfaceControllerService- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
getModelAndViewService
-
setModelAndViewService
-