public class SendNotificationMessageController extends BaseSendNotificationController
dataObjectService, notificationChannelService, notificationMessageContentService, notificationRecipientService, notificationService, notificationWorkflowDocService
DEFAULT_COMMAND_NAME, LAST_MODIFIED_METHOD_SUFFIX, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger
Constructor and Description |
---|
SendNotificationMessageController() |
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 |
sendSimpleNotificationMessage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the display of the form for sending a simple notification message.
|
org.springframework.web.servlet.ModelAndView |
submitSimpleNotificationMessage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles submitting the actual simple notification message.
|
createNotificationWorkflowDocument, getDate, getGroupService, getIdentityService, getNamespaceService, getParameter, getParameter, getParameterList, getPrincipalIdFromIdOrName, isUserRecipientValid, isWorkgroupRecipientValid, parseCommaSeparatedValues, parseUserRecipients, parseWorkgroupNamespaceCodes, parseWorkgroupRecipients, populateNotificationInstance, setDataObjectService, setNotificationChannelService, setNotificationMessageContentService, setNotificationRecipientService, setNotificationService, setNotificationWorkflowDocumentService, setupModelForSendNotification, 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 SendNotificationMessageController()
public org.springframework.web.servlet.ModelAndView sendSimpleNotificationMessage(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 submitSimpleNotificationMessage(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 NotificationBo createNotification(javax.servlet.http.HttpServletRequest request, Map<String,Object> model, ErrorList errors) throws ErrorList
NotificationBo
instance.
Overrides to set the content type to "simple".createNotification
in class BaseSendNotificationController
request
- the servlet requestmodel
- the Spring MVC modelerrors
- the error listErrorList
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.