public class SendEventNotificationMessageController extends BaseSendNotificationController
dataObjectService, notificationChannelService, notificationMessageContentService, notificationRecipientService, notificationService, notificationWorkflowDocServiceDEFAULT_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, submitNotificationMessagebind, createBinder, getCommandName, getExceptionHandler, getLastModified, getMethodNameResolver, getValidators, getWebBindingInitializer, handleNoSuchRequestHandlingMethod, handleRequestInternal, initBinder, invokeNamedMethod, newCommandObject, setDelegate, setMethodNameResolver, setValidators, setWebBindingInitializerhandleRequest, isSynchronizeOnSession, setSynchronizeOnSessionapplyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic 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.ServletExceptionIOExceptionpublic 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.ServletExceptionIOExceptionprotected Map<String,Object> setupModelForSendNotification(javax.servlet.http.HttpServletRequest request)
setupModelForSendNotification in class BaseSendNotificationControllerrequest - 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 BaseSendNotificationControllerrequest - the servlet requestmodel - the Spring MVC modelerrors - the error listErrorListCopyright © 2005–2016 The Kuali Foundation. All rights reserved.