org.kuali.rice.ken.web.spring
Class SendEventNotificationMessageController
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
org.springframework.web.servlet.mvc.multiaction.MultiActionController
org.kuali.rice.ken.web.spring.BaseSendNotificationController
org.kuali.rice.ken.web.spring.SendEventNotificationMessageController
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller, org.springframework.web.servlet.mvc.LastModified
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)
Fields inherited from class org.springframework.web.servlet.mvc.multiaction.MultiActionController |
DEFAULT_COMMAND_NAME, LAST_MODIFIED_METHOD_SUFFIX, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger |
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator |
METHOD_GET, METHOD_HEAD, METHOD_POST |
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
logger |
Methods inherited from class org.springframework.web.servlet.mvc.multiaction.MultiActionController |
bind, createBinder, getCommandName, getExceptionHandler, getLastModified, getMethodNameResolver, getValidators, getWebBindingInitializer, handleNoSuchRequestHandlingMethod, handleRequestInternal, initBinder, invokeNamedMethod, newCommandObject, setDelegate, setMethodNameResolver, setValidators, setWebBindingInitializer |
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController |
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession |
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator |
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader |
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext |
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
notificationService
protected NotificationService notificationService
notificationWorkflowDocService
protected NotificationWorkflowDocumentService notificationWorkflowDocService
notificationChannelService
protected NotificationChannelService notificationChannelService
notificationRecipientService
protected NotificationRecipientService notificationRecipientService
messageContentService
protected NotificationMessageContentService messageContentService
businessObjectDao
protected GenericDao businessObjectDao
SendEventNotificationMessageController
public SendEventNotificationMessageController()
setNotificationService
public void setNotificationService(NotificationService notificationService)
- Set the NotificationService
- Parameters:
notificationService
-
setNotificationWorkflowDocumentService
public void setNotificationWorkflowDocumentService(NotificationWorkflowDocumentService s)
- This method sets the NotificationWorkflowDocumentService
- Parameters:
s
-
setNotificationChannelService
public void setNotificationChannelService(NotificationChannelService notificationChannelService)
- Sets the notificationChannelService attribute value.
- Parameters:
notificationChannelService
- The notificationChannelService to set.
setNotificationRecipientService
public void setNotificationRecipientService(NotificationRecipientService notificationRecipientService)
- Sets the notificationRecipientService attribute value.
- Parameters:
notificationRecipientService
-
setMessageContentService
public void setMessageContentService(NotificationMessageContentService notificationMessageContentService)
- Sets the messageContentService attribute value.
- Parameters:
messageContentService
-
setBusinessObjectDao
public void setBusinessObjectDao(GenericDao businessObjectDao)
- Sets the businessObjectDao attribute value.
- Parameters:
businessObjectDao
- The businessObjectDao to set.
sendEventNotificationMessage
public org.springframework.web.servlet.ModelAndView sendEventNotificationMessage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Handles the display of the form for sending an event notification message
- Parameters:
request
- : a servlet requestresponse
- : a servlet response
- Returns:
- a ModelAndView object
- Throws:
javax.servlet.ServletException
- : an exception
IOException
- : an exception
submitEventNotificationMessage
public org.springframework.web.servlet.ModelAndView submitEventNotificationMessage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- This method handles submitting the actual event notification message.
- Parameters:
request
- response
-
- Returns:
- ModelAndView
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.