Class SendEventNotificationMessageController

java.lang.Object
org.kuali.rice.ken.web.spring.BaseSendNotificationController
org.kuali.rice.ken.web.spring.SendEventNotificationMessageController

@RequestMapping("/ken") @Controller("sendEventNotificationMessageController") public class SendEventNotificationMessageController extends BaseSendNotificationController
This class is the controller for sending Event notification messages via an end user interface.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • SendEventNotificationMessageController

      public SendEventNotificationMessageController()
  • Method Details

    • sendEventNotificationMessage

      @RequestMapping("/SendEventNotificationMessage.form") public org.springframework.web.servlet.ModelAndView sendEventNotificationMessage(javax.servlet.http.HttpServletRequest request)
      Handles the display of the form for sending a event notification message.
    • submitEventNotificationMessage

      @RequestMapping("/SubmitEventNotificationMessage.form") public org.springframework.web.servlet.ModelAndView submitEventNotificationMessage(javax.servlet.http.HttpServletRequest request)
      Handles submitting the actual event notification message.
    • setupModelForSendNotification

      protected Map<String,Object> setupModelForSendNotification(javax.servlet.http.HttpServletRequest request)
      Prepares the model used for sending the notification. Populates values pertaining to an event notification message.
      Overrides:
      setupModelForSendNotification in class BaseSendNotificationController
      Parameters:
      request - the servlet request
      Returns:
      the Spring MVC model
    • createNotification

      protected NotificationBo createNotification(javax.servlet.http.HttpServletRequest request, Map<String,Object> model, ErrorList errors) throws ErrorList
      Provides an overridable method in which to customize a created NotificationBo instance. Overrides to set the content type to "event" and add extra attributes.
      Overrides:
      createNotification in class BaseSendNotificationController
      Parameters:
      request - the servlet request
      model - the Spring MVC model
      errors - the error list
      Returns:
      a new notification
      Throws:
      ErrorList