Class NotificationController

java.lang.Object
org.kuali.rice.ken.web.spring.NotificationController

@RequestMapping("/ken") @Controller("notificationController") public class NotificationController extends Object
This class is the controller for the basic notification related actions - viewing, etc.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Field Details

    • notificationService

      @Autowired @Qualifier("notificationService") protected NotificationService notificationService
    • notificationWorkflowDocService

      @Autowired @Qualifier("notificationWorkflowDocumentService") protected NotificationWorkflowDocumentService notificationWorkflowDocService
    • messageDeliveryService

      @Autowired @Qualifier("notificationMessageDeliveryService") protected NotificationMessageDeliveryService messageDeliveryService
  • Constructor Details

    • NotificationController

      public NotificationController()
  • Method Details

    • displayHome

      @RequestMapping("/Home.form") public org.springframework.web.servlet.ModelAndView displayHome(javax.servlet.http.HttpServletRequest request)
      Handles the display of the main home page in the system.
    • displayNotificationsSent

      @RequestMapping("/NotificationsSent.form") public org.springframework.web.servlet.ModelAndView displayNotificationsSent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      This method handles displaying the notifications that an individual sent.
      Throws:
      javax.servlet.ServletException
      IOException
    • displaySearch

      @RequestMapping("/Search.form") public org.springframework.web.servlet.ModelAndView displaySearch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      This method handles displaying the search screen.
      Throws:
      javax.servlet.ServletException
      IOException
    • displayLookupUsers

      @RequestMapping("/LookupUsers.form") public org.springframework.web.servlet.ModelAndView displayLookupUsers(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      This method displays the user lookup screen.
      Throws:
      javax.servlet.ServletException
      IOException
    • displayLookupWorkgroups

      @RequestMapping("/LookupWorkgroups.form") public org.springframework.web.servlet.ModelAndView displayLookupWorkgroups(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      This method displays the workgroup lookup screen.
      Throws:
      javax.servlet.ServletException
      IOException
    • determineMessageFromRequest

      protected NotificationMessageDelivery determineMessageFromRequest(javax.servlet.http.HttpServletRequest request)
      This method retrieves the NotificationMessageDelivery given an HttpServletRequest which may contain EITHER a message delivery id or a workflow doc id. Therefore, this is a "special case" for handling the workflow deliverer.
      Parameters:
      request - the incoming HttpServletRequest
      Returns:
      the NotificationMessageDelivery or null if not found
    • requestIsFromKEW

      protected boolean requestIsFromKEW(javax.servlet.http.HttpServletRequest req)
      Parameters:
      req - the HttpServletRequest
      Returns:
      whether the incoming request was from the action list
    • displayNotificationDetail

      @RequestMapping("/DetailView.form") public org.springframework.web.servlet.ModelAndView displayNotificationDetail(javax.servlet.http.HttpServletRequest request)
      This controller handles displaying the appropriate notification details for a specific record.
    • dismissMessage

      @RequestMapping("/DismissMessage.form") public org.springframework.web.servlet.ModelAndView dismissMessage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      This method handles user dismissal of a message.
    • setNotificationService

      public void setNotificationService(NotificationService notificationService)
    • setNotificationWorkflowDocumentService

      public void setNotificationWorkflowDocumentService(NotificationWorkflowDocumentService s)
    • setMessageDeliveryService

      public void setMessageDeliveryService(NotificationMessageDeliveryService messageDeliveryService)