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 Type
    Method
    Description
    org.springframework.web.servlet.ModelAndView
    Invoked when the cancel action is invoked on a view.
    void
    Invokes the configured ViewAuthorizer to verify the user has access to open the view.
    org.springframework.web.servlet.ModelAndView
    Invoked when a session timeout occurs.
    org.springframework.web.servlet.ModelAndView
    Initial method called when requesting a new view instance.
  • Method Details

    • start

      org.springframework.web.servlet.ModelAndView start(UifFormBase form)
      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 AuthorizationException
      Invokes the configured ViewAuthorizer to verify the user has access to open the view.
      Throws:
      AuthorizationException - thrown if user does not have access to the view
    • sessionTimeout

      org.springframework.web.servlet.ModelAndView sessionTimeout(UifFormBase form)
      Invoked when a session timeout occurs.
      Parameters:
      form - form instance containing the model data
      Returns:
      ModelAndView instance for rendering the view
    • cancel

      org.springframework.web.servlet.ModelAndView cancel(UifFormBase form)
      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