Package org.kuali.rice.krad.web.service
Interface ControllerService
- All Known Subinterfaces:
DocumentControllerService,InquiryControllerService,LookupControllerService,MaintenanceDocumentControllerService,TransactionalDocumentControllerService
- All Known Implementing Classes:
ControllerServiceImpl,DocumentControllerServiceImpl,InquiryControllerServiceImpl,LookupControllerServiceImpl,MaintenanceDocumentControllerServiceImpl,TransactionalDocumentControllerServiceImpl
public interface ControllerService
Controller service that provides the basic entry and exit methods.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndViewcancel(UifFormBase form) Invoked when the cancel action is invoked on a view.voidInvokes the configuredViewAuthorizerto verify the user has access to open the view.org.springframework.web.servlet.ModelAndViewsessionTimeout(UifFormBase form) Invoked when a session timeout occurs.org.springframework.web.servlet.ModelAndViewstart(UifFormBase form) Initial method called when requesting a new view instance.
-
Method Details
-
start
Initial method called when requesting a new view instance.- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
checkViewAuthorization
void checkViewAuthorization(UifFormBase form) throws org.kuali.rice.krad.exception.AuthorizationException Invokes the configuredViewAuthorizerto verify the user has access to open the view.- Throws:
org.kuali.rice.krad.exception.AuthorizationException- thrown if user does not have access to the view
-
sessionTimeout
Invoked when a session timeout occurs.- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
cancel
Invoked when the cancel action is invoked on a view.- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-