Class SendNotificationMessageController

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

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

    • SendNotificationMessageController

      public SendNotificationMessageController()
  • Method Details

    • sendSimpleNotificationMessage

      @RequestMapping("/SendSimpleNotificationMessage.form") public org.springframework.web.servlet.ModelAndView sendSimpleNotificationMessage(javax.servlet.http.HttpServletRequest request)
      Handles the display of the form for sending a simple notification message.
    • submitSimpleNotificationMessage

      @RequestMapping("/SubmitSimpleNotificationMessage.form") public org.springframework.web.servlet.ModelAndView submitSimpleNotificationMessage(javax.servlet.http.HttpServletRequest request)
      Handles submitting the actual simple notification message.
    • 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 "simple".
      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