org.kuali.rice.ken.web.spring
Class SendNotificationMessageController
java.lang.Object
   org.springframework.context.support.ApplicationObjectSupport
org.springframework.context.support.ApplicationObjectSupport
       org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
           org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.support.WebContentGenerator
               org.springframework.web.servlet.mvc.AbstractController
org.springframework.web.servlet.mvc.AbstractController
                   org.springframework.web.servlet.mvc.multiaction.MultiActionController
org.springframework.web.servlet.mvc.multiaction.MultiActionController
                       org.kuali.rice.ken.web.spring.BaseSendNotificationController
org.kuali.rice.ken.web.spring.BaseSendNotificationController
                           org.kuali.rice.ken.web.spring.SendNotificationMessageController
org.kuali.rice.ken.web.spring.SendNotificationMessageController
- 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 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)
 
| 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, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, 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
SendNotificationMessageController
public SendNotificationMessageController()
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.
 
sendSimpleNotificationMessage
public org.springframework.web.servlet.ModelAndView sendSimpleNotificationMessage(javax.servlet.http.HttpServletRequest request,
                                                                                  javax.servlet.http.HttpServletResponse response)
                                                                           throws javax.servlet.ServletException,
                                                                                  IOException
- Handles the display of the form for sending a simple notification message
 
- 
- Parameters:
- request- : a servlet request
- response- : a servlet response
- Returns:
- a ModelAndView object
- Throws:
- javax.servlet.ServletException- : an exception
- IOException- : an exception
 
submitSimpleNotificationMessage
public org.springframework.web.servlet.ModelAndView submitSimpleNotificationMessage(javax.servlet.http.HttpServletRequest request,
                                                                                    javax.servlet.http.HttpServletResponse response)
                                                                             throws javax.servlet.ServletException,
                                                                                    IOException
- This method handles submitting the actual simple notification message.
 
- 
- Parameters:
- request-
- response-
- Returns:
- ModelAndView
- Throws:
- javax.servlet.ServletException
- IOException
 
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.