org.kuali.rice.ken.web.spring
Class AdministerNotificationRequestController
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.AdministerNotificationRequestController
org.kuali.rice.ken.web.spring.AdministerNotificationRequestController
- 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 AdministerNotificationRequestController 
- extends org.springframework.web.servlet.mvc.multiaction.MultiActionController
Implements reviewer Approve/Disapprove and initiator Acknowledge of a Notification requests
 sent to channels configured with reviewers
- 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 | 
 
messageContentService
protected NotificationMessageContentService messageContentService
workflowDocumentService
protected NotificationWorkflowDocumentService workflowDocumentService
recipientService
protected NotificationRecipientService recipientService
AdministerNotificationRequestController
public AdministerNotificationRequestController()
setMessageContentService
public void setMessageContentService(NotificationMessageContentService notificationMessageContentService)
- Sets the messageContentService attribute value.
 
- 
- Parameters:
- messageContentService- the NotificationMessageContentService impl
 
setWorkflowDocumentService
public void setWorkflowDocumentService(NotificationWorkflowDocumentService notificationWorkflowDocumentService)
- Sets the workflowDocumentService attribute value.
 
- 
- Parameters:
- workflowDocumentService- the NotificationWorkflowDocumentService impl
 
setRecipientService
public void setRecipientService(NotificationRecipientService notificationRecipientService)
- Sets the recipientService attribute value.
 
- 
- Parameters:
- recipientService- the NotificationRecipientService impl
 
view
public org.springframework.web.servlet.ModelAndView view(javax.servlet.http.HttpServletRequest request,
                                                         javax.servlet.http.HttpServletResponse response,
                                                         AdministerNotificationRequestController.AdministerNotificationRequestCommand command)
- View action that displays an approve/disapprove/acknowledge view
 
- 
- Parameters:
- request- the HttpServletRequest
- response- the HttpServletResponse
- command- the command object bound for this MultiActionController
- Returns:
- a view ModelAndView
 
approve
public org.springframework.web.servlet.ModelAndView approve(javax.servlet.http.HttpServletRequest request,
                                                            javax.servlet.http.HttpServletResponse response,
                                                            AdministerNotificationRequestController.AdministerNotificationRequestCommand command)
                                                     throws javax.servlet.ServletException
- Approve action that approves a notification request
 
- 
- Parameters:
- request- the HttpServletRequest
- response- the HttpServletResponse
- command- the command object bound for this MultiActionController
- Returns:
- a view ModelAndView
- Throws:
- javax.servlet.ServletException- if an error occurs during approval
 
disapprove
public org.springframework.web.servlet.ModelAndView disapprove(javax.servlet.http.HttpServletRequest request,
                                                               javax.servlet.http.HttpServletResponse response,
                                                               AdministerNotificationRequestController.AdministerNotificationRequestCommand command)
                                                        throws javax.servlet.ServletException
- Disapprove action that disapproves a notification request
 
- 
- Parameters:
- request- the HttpServletRequest
- response- the HttpServletResponse
- command- the command object bound for this MultiActionController
- Returns:
- a view ModelAndView
- Throws:
- javax.servlet.ServletException- if an error occurs during disapproval
 
acknowledge
public org.springframework.web.servlet.ModelAndView acknowledge(javax.servlet.http.HttpServletRequest request,
                                                                javax.servlet.http.HttpServletResponse response,
                                                                AdministerNotificationRequestController.AdministerNotificationRequestCommand command)
                                                         throws javax.servlet.ServletException
- Acknowledge action that acknowledges a notification request disapproval
 
- 
- Parameters:
- request- the HttpServletRequest
- response- the HttpServletResponse
- command- the command object bound for this MultiActionController
- Returns:
- a view ModelAndView
- Throws:
- javax.servlet.ServletException- if an error occurs during acknowledgement
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.