| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
org.springframework.web.servlet.mvc.multiaction.MultiActionController
org.kuali.rice.ken.web.spring.NotificationController
public class NotificationController
This class is the controller for the basic notification related actions - viewing, etc.
| Field Summary | |
|---|---|
| protected  NotificationMessageDeliveryService | messageDeliveryService | 
| 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 | |
|---|---|
| NotificationController() | |
| Method Summary | |
|---|---|
| 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 | 
| 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 | 
|---|
protected NotificationService notificationService
protected NotificationWorkflowDocumentService notificationWorkflowDocService
protected NotificationMessageDeliveryService messageDeliveryService
| Constructor Detail | 
|---|
public NotificationController()
| Method Detail | 
|---|
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 response
javax.servlet.ServletException - : an exception
IOException - : an exception
public 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.ServletException
IOException
public 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.ServletException
IOException
public 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.ServletException
IOException
public 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.ServletException
IOExceptionprotected NotificationMessageDelivery determineMessageFromRequest(javax.servlet.http.HttpServletRequest request)
request - the incoming HttpServletRequest
NotificationMessageDelivery or null if not foundprotected boolean requestIsFromKEW(javax.servlet.http.HttpServletRequest req)
req - the HttpServletRequest
public 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 response
javax.servlet.ServletException - : an exception
IOException - : an exception
public org.springframework.web.servlet.ModelAndView dismissMessage(javax.servlet.http.HttpServletRequest request,
                                                                   javax.servlet.http.HttpServletResponse response)
request - : a servlet requestresponse - : a servlet response
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||