public class NotificationController extends org.springframework.web.servlet.mvc.multiaction.MultiActionController
| Modifier and Type | Field and Description |
|---|---|
protected NotificationMessageDeliveryService |
messageDeliveryService |
protected NotificationService |
notificationService |
protected NotificationWorkflowDocumentService |
notificationWorkflowDocService |
DEFAULT_COMMAND_NAME, LAST_MODIFIED_METHOD_SUFFIX, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger| Constructor and Description |
|---|
NotificationController() |
| Modifier and Type | Method and Description |
|---|---|
protected NotificationMessageDelivery |
determineMessageFromRequest(javax.servlet.http.HttpServletRequest request)
This method retrieves the NotificationMessageDelivery given an HttpServletRequest which
may contain EITHER a message delivery id or a workflow doc id.
|
org.springframework.web.servlet.ModelAndView |
dismissMessage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method handles user dismissal of a message
|
org.springframework.web.servlet.ModelAndView |
displayHome(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the display of the main home page in the system.
|
org.springframework.web.servlet.ModelAndView |
displayLookupUsers(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method displays the user lookup screen.
|
org.springframework.web.servlet.ModelAndView |
displayLookupWorkgroups(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method displays the workgroup lookup screen.
|
org.springframework.web.servlet.ModelAndView |
displayNotificationDetail(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This controller handles displaying the appropriate notification details for a specific record.
|
org.springframework.web.servlet.ModelAndView |
displayNotificationsSent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method handles displaying the notifications that an individual sent.
|
org.springframework.web.servlet.ModelAndView |
displaySearch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method handles displaying the search screen.
|
protected boolean |
requestIsFromKEW(javax.servlet.http.HttpServletRequest req) |
void |
setMessageDeliveryService(NotificationMessageDeliveryService messageDeliveryService)
Sets the messageDeliveryService attribute value.
|
void |
setNotificationService(NotificationService notificationService)
Set the NotificationService
|
void |
setNotificationWorkflowDocumentService(NotificationWorkflowDocumentService s)
This method sets the NotificationWorkflowDocumentService
|
bind, createBinder, getCommandName, getExceptionHandler, getLastModified, getMethodNameResolver, getValidators, getWebBindingInitializer, handleNoSuchRequestHandlingMethod, handleRequestInternal, initBinder, invokeNamedMethod, newCommandObject, setDelegate, setMethodNameResolver, setValidators, setWebBindingInitializerhandleRequest, isSynchronizeOnSession, setSynchronizeOnSessionapplyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextprotected NotificationService notificationService
protected NotificationWorkflowDocumentService notificationWorkflowDocService
protected NotificationMessageDeliveryService messageDeliveryService
public NotificationController()
public void setNotificationService(NotificationService notificationService)
notificationService - public void setNotificationWorkflowDocumentService(NotificationWorkflowDocumentService s)
s - public void setMessageDeliveryService(NotificationMessageDeliveryService messageDeliveryService)
messageDeliveryService - The messageDeliveryService to set.public org.springframework.web.servlet.ModelAndView displayHome(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
request - : a servlet requestresponse - : a servlet responsejavax.servlet.ServletException - : an exceptionIOException - : an exceptionpublic org.springframework.web.servlet.ModelAndView displayNotificationsSent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
request - response - javax.servlet.ServletExceptionIOExceptionpublic org.springframework.web.servlet.ModelAndView displaySearch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
request - response - javax.servlet.ServletExceptionIOExceptionpublic org.springframework.web.servlet.ModelAndView displayLookupUsers(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
request - response - javax.servlet.ServletExceptionIOExceptionpublic org.springframework.web.servlet.ModelAndView displayLookupWorkgroups(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
request - response - javax.servlet.ServletExceptionIOExceptionprotected NotificationMessageDelivery determineMessageFromRequest(javax.servlet.http.HttpServletRequest request)
request - the incoming HttpServletRequestNotificationMessageDelivery or null if not foundprotected boolean requestIsFromKEW(javax.servlet.http.HttpServletRequest req)
req - the HttpServletRequestpublic org.springframework.web.servlet.ModelAndView displayNotificationDetail(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
request - : a servlet requestresponse - : a servlet responsejavax.servlet.ServletException - : an exceptionIOException - : an exceptionpublic org.springframework.web.servlet.ModelAndView dismissMessage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request - : a servlet requestresponse - : a servlet responseCopyright © 2005–2015 The Kuali Foundation. All rights reserved.