Class ControllerServiceImpl

java.lang.Object
org.kuali.rice.krad.web.service.impl.ControllerServiceImpl
All Implemented Interfaces:
ControllerService
Direct Known Subclasses:
DocumentControllerServiceImpl, InquiryControllerServiceImpl, LookupControllerServiceImpl

public class ControllerServiceImpl extends Object implements ControllerService
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • ControllerServiceImpl

      public ControllerServiceImpl()
  • Method Details

    • start

      public org.springframework.web.servlet.ModelAndView start(UifFormBase form)
      Initial method called when requesting a new view instance.
      Specified by:
      start in interface ControllerService
      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 configured ViewAuthorizer to verify the user has access to open the view.
      Specified by:
      checkViewAuthorization in interface ControllerService
      Throws:
      org.kuali.rice.krad.exception.AuthorizationException - thrown if user does not have access to the view
    • sessionTimeout

      public org.springframework.web.servlet.ModelAndView sessionTimeout(UifFormBase form)
      Default impl does nothing but render the view. Invoked when a session timeout occurs.
      Specified by:
      sessionTimeout in interface ControllerService
      Parameters:
      form - form instance containing the model data
      Returns:
      ModelAndView instance for rendering the view
    • cancel

      public org.springframework.web.servlet.ModelAndView cancel(UifFormBase form)
      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:
      cancel in interface ControllerService
      Parameters:
      form - form instance containing the model data
      Returns:
      ModelAndView instance for rendering the view
    • getModelAndViewService

      protected ModelAndViewService getModelAndViewService()
    • setModelAndViewService

      public void setModelAndViewService(ModelAndViewService modelAndViewService)
    • getNavigationControllerService

      protected NavigationControllerService getNavigationControllerService()
    • setNavigationControllerService

      public void setNavigationControllerService(NavigationControllerService navigationControllerService)