org.kuali.rice.ken.web.spring
Class SendEventNotificationMessageController

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.support.WebContentGenerator
              extended by org.springframework.web.servlet.mvc.AbstractController
                  extended by org.springframework.web.servlet.mvc.multiaction.MultiActionController
                      extended by org.kuali.rice.ken.web.spring.BaseSendNotificationController
                          extended by 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)

Field Summary
protected  GenericDao businessObjectDao
           
protected  NotificationMessageContentService messageContentService
           
protected  NotificationChannelService notificationChannelService
           
protected  NotificationRecipientService notificationRecipientService
           
protected  NotificationService notificationService
           
protected  NotificationWorkflowDocumentService notificationWorkflowDocService
           
 
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
 
Constructor Summary
SendEventNotificationMessageController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView sendEventNotificationMessage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handles the display of the form for sending an event notification message
 void setBusinessObjectDao(GenericDao businessObjectDao)
          Sets the businessObjectDao attribute value.
 void setMessageContentService(NotificationMessageContentService notificationMessageContentService)
          Sets the messageContentService attribute value.
 void setNotificationChannelService(NotificationChannelService notificationChannelService)
          Sets the notificationChannelService attribute value.
 void setNotificationRecipientService(NotificationRecipientService notificationRecipientService)
          Sets the notificationRecipientService attribute value.
 void setNotificationService(NotificationService notificationService)
          Set the NotificationService
 void setNotificationWorkflowDocumentService(NotificationWorkflowDocumentService s)
          This method sets the NotificationWorkflowDocumentService
 org.springframework.web.servlet.ModelAndView submitEventNotificationMessage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This method handles submitting the actual event notification message.
 
Methods inherited from class org.kuali.rice.ken.web.spring.BaseSendNotificationController
getGroupService, getIdentityService, getNamespaceService, isUserRecipientValid, isWorkgroupRecipientValid, parseCommaSeparatedValues, parseUserRecipients, parseWorkgroupNamespaceCodes, parseWorkgroupRecipients
 
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
 

Field Detail

notificationService

protected NotificationService notificationService

notificationWorkflowDocService

protected NotificationWorkflowDocumentService notificationWorkflowDocService

notificationChannelService

protected NotificationChannelService notificationChannelService

notificationRecipientService

protected NotificationRecipientService notificationRecipientService

messageContentService

protected NotificationMessageContentService messageContentService

businessObjectDao

protected GenericDao businessObjectDao
Constructor Detail

SendEventNotificationMessageController

public SendEventNotificationMessageController()
Method Detail

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 request
response - : 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-2012 The Kuali Foundation. All Rights Reserved.