Package org.kuali.rice.ken.web.spring
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)
-
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.ModelAndViewsendSimpleNotificationMessage(javax.servlet.http.HttpServletRequest request) Handles the display of the form for sending a simple notification message.org.springframework.web.servlet.ModelAndViewsubmitSimpleNotificationMessage(javax.servlet.http.HttpServletRequest request) Handles submitting the actual simple 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, setupModelForSendNotification, submitNotificationMessage
-
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 ErrorListProvides an overridable method in which to customize a createdNotificationBoinstance. Overrides to set the content type to "simple".- Overrides:
createNotificationin classBaseSendNotificationController- Parameters:
request- the servlet requestmodel- the Spring MVC modelerrors- the error list- Returns:
- a new notification
- Throws:
ErrorList
-