public class SendEventNotificationMessageController extends BaseSendNotificationController
dataObjectService, notificationChannelService, notificationMessageContentService, notificationRecipientService, notificationService, notificationWorkflowDocService
DEFAULT_COMMAND_NAME, LAST_MODIFIED_METHOD_SUFFIX, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger
Constructor and Description |
---|
SendEventNotificationMessageController() |
Modifier and Type | Method and Description |
---|---|
protected NotificationBo |
createNotification(javax.servlet.http.HttpServletRequest request,
Map<String,Object> model,
ErrorList errors)
Provides an overridable method in which to customize a created
NotificationBo instance. |
org.springframework.web.servlet.ModelAndView |
sendEventNotificationMessage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the display of the form for sending a event notification message.
|
protected Map<String,Object> |
setupModelForSendNotification(javax.servlet.http.HttpServletRequest request)
Prepares the model used for sending the notification.
|
org.springframework.web.servlet.ModelAndView |
submitEventNotificationMessage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles submitting the actual event notification message.
|
createNotificationWorkflowDocument, getDate, getGroupService, getIdentityService, getNamespaceService, getParameter, getParameter, getParameterList, getPrincipalIdFromIdOrName, isUserRecipientValid, isWorkgroupRecipientValid, parseCommaSeparatedValues, parseUserRecipients, parseWorkgroupNamespaceCodes, parseWorkgroupRecipients, populateNotificationInstance, setDataObjectService, setNotificationChannelService, setNotificationMessageContentService, setNotificationRecipientService, setNotificationService, setNotificationWorkflowDocumentService, submitNotificationMessage
bind, createBinder, getCommandName, getExceptionHandler, getLastModified, getMethodNameResolver, getValidators, getWebBindingInitializer, handleNoSuchRequestHandlingMethod, handleRequestInternal, initBinder, invokeNamedMethod, newCommandObject, setDelegate, setMethodNameResolver, setValidators, setWebBindingInitializer
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
public SendEventNotificationMessageController()
public org.springframework.web.servlet.ModelAndView sendEventNotificationMessage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
request
- : a servlet requestresponse
- the servlet responsejavax.servlet.ServletException
IOException
public org.springframework.web.servlet.ModelAndView submitEventNotificationMessage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
request
- the servlet requestresponse
- the servlet responsejavax.servlet.ServletException
IOException
protected Map<String,Object> setupModelForSendNotification(javax.servlet.http.HttpServletRequest request)
setupModelForSendNotification
in class BaseSendNotificationController
request
- the servlet requestprotected NotificationBo createNotification(javax.servlet.http.HttpServletRequest request, Map<String,Object> model, ErrorList errors) throws ErrorList
NotificationBo
instance.
Overrides to set the content type to "event" and add extra attributes.createNotification
in class BaseSendNotificationController
request
- the servlet requestmodel
- the Spring MVC modelerrors
- the error listErrorList
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.