Package org.kuali.rice.ken.web.spring
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)
-
Field Summary
Fields inherited from class org.kuali.rice.ken.web.spring.BaseSendNotificationController
dataObjectService, groupService, identityService, namespaceService, notificationChannelService, notificationMessageContentService, notificationRecipientService, notificationService, notificationWorkflowDocumentService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NotificationBocreateNotification(javax.servlet.http.HttpServletRequest request, Map<String, Object> model, ErrorList errors) Provides an overridable method in which to customize a createdNotificationBoinstance.org.springframework.web.servlet.ModelAndViewsendEventNotificationMessage(javax.servlet.http.HttpServletRequest request) Handles the display of the form for sending a event notification message.setupModelForSendNotification(javax.servlet.http.HttpServletRequest request) Prepares the model used for sending the notification.org.springframework.web.servlet.ModelAndViewsubmitEventNotificationMessage(javax.servlet.http.HttpServletRequest request) Handles submitting the actual event notification message.Methods inherited from class org.kuali.rice.ken.web.spring.BaseSendNotificationController
createNotificationWorkflowDocument, getDataObjectService, getDate, getGroupService, getIdentityService, getNamespaceService, getNotificationChannelService, getNotificationMessageContentService, getNotificationRecipientService, getNotificationService, getNotificationWorkflowDocumentService, getParameter, getParameter, getParameterList, getPrincipalIdFromIdOrName, isUserRecipientValid, isWorkgroupRecipientValid, parseCommaSeparatedValues, parseUserRecipients, parseWorkgroupNamespaceCodes, parseWorkgroupRecipients, populateNotificationInstance, setDataObjectService, setGroupService, setIdentityService, setNamespaceService, setNotificationChannelService, setNotificationMessageContentService, setNotificationRecipientService, setNotificationService, setNotificationWorkflowDocumentService, submitNotificationMessage
-
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:
setupModelForSendNotificationin classBaseSendNotificationController- 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 ErrorListProvides an overridable method in which to customize a createdNotificationBoinstance. Overrides to set the content type to "event" and add extra attributes.- Overrides:
createNotificationin classBaseSendNotificationController- Parameters:
request- the servlet requestmodel- the Spring MVC modelerrors- the error list- Returns:
- a new notification
- Throws:
ErrorList
-