public class AdministerNotificationRequestController extends org.springframework.web.servlet.mvc.multiaction.MultiActionController
Modifier and Type | Class and Description |
---|---|
static class |
AdministerNotificationRequestController.AdministerNotificationRequestCommand
Command object for this controller
|
Modifier and Type | Field and Description |
---|---|
protected NotificationMessageContentService |
messageContentService |
protected NotificationRecipientService |
recipientService |
protected NotificationWorkflowDocumentService |
workflowDocumentService |
DEFAULT_COMMAND_NAME, LAST_MODIFIED_METHOD_SUFFIX, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger
Constructor and Description |
---|
AdministerNotificationRequestController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.ModelAndView |
acknowledge(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AdministerNotificationRequestController.AdministerNotificationRequestCommand command)
Acknowledge action that acknowledges a notification request disapproval
|
org.springframework.web.servlet.ModelAndView |
approve(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AdministerNotificationRequestController.AdministerNotificationRequestCommand command)
Approve action that approves a notification request
|
org.springframework.web.servlet.ModelAndView |
disapprove(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AdministerNotificationRequestController.AdministerNotificationRequestCommand command)
Disapprove action that disapproves a notification request
|
void |
setMessageContentService(NotificationMessageContentService notificationMessageContentService)
Sets the messageContentService attribute value.
|
void |
setRecipientService(NotificationRecipientService notificationRecipientService)
Sets the recipientService attribute value.
|
void |
setWorkflowDocumentService(NotificationWorkflowDocumentService notificationWorkflowDocumentService)
Sets the workflowDocumentService attribute value.
|
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
|
bind, createBinder, getCommandName, getExceptionHandler, getLastModified, getMethodNameResolver, getValidators, getWebBindingInitializer, handleNoSuchRequestHandlingMethod, handleRequestInternal, initBinder, invokeNamedMethod, newCommandObject, setDelegate, setMethodNameResolver, setValidators, setWebBindingInitializer
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
protected NotificationMessageContentService messageContentService
protected NotificationWorkflowDocumentService workflowDocumentService
protected NotificationRecipientService recipientService
public AdministerNotificationRequestController()
public void setMessageContentService(NotificationMessageContentService notificationMessageContentService)
messageContentService
- the NotificationMessageContentService implpublic void setWorkflowDocumentService(NotificationWorkflowDocumentService notificationWorkflowDocumentService)
workflowDocumentService
- the NotificationWorkflowDocumentService implpublic void setRecipientService(NotificationRecipientService notificationRecipientService)
recipientService
- the NotificationRecipientService implpublic org.springframework.web.servlet.ModelAndView view(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AdministerNotificationRequestController.AdministerNotificationRequestCommand command)
request
- the HttpServletRequestresponse
- the HttpServletResponsecommand
- the command object bound for this MultiActionControllerpublic org.springframework.web.servlet.ModelAndView approve(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AdministerNotificationRequestController.AdministerNotificationRequestCommand command) throws javax.servlet.ServletException
request
- the HttpServletRequestresponse
- the HttpServletResponsecommand
- the command object bound for this MultiActionControllerjavax.servlet.ServletException
- if an error occurs during approvalpublic org.springframework.web.servlet.ModelAndView disapprove(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AdministerNotificationRequestController.AdministerNotificationRequestCommand command) throws javax.servlet.ServletException
request
- the HttpServletRequestresponse
- the HttpServletResponsecommand
- the command object bound for this MultiActionControllerjavax.servlet.ServletException
- if an error occurs during disapprovalpublic org.springframework.web.servlet.ModelAndView acknowledge(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AdministerNotificationRequestController.AdministerNotificationRequestCommand command) throws javax.servlet.ServletException
request
- the HttpServletRequestresponse
- the HttpServletResponsecommand
- the command object bound for this MultiActionControllerjavax.servlet.ServletException
- if an error occurs during acknowledgementCopyright © 2005–2015 The Kuali Foundation. All rights reserved.