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

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
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
Direct Known Subclasses:
SendEventNotificationMessageController, SendNotificationMessageController

public class BaseSendNotificationController
extends org.springframework.web.servlet.mvc.multiaction.MultiActionController

Base class for KEN controllers for sending notifications

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
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
BaseSendNotificationController()
           
 
Method Summary
protected static GroupService getGroupService()
           
protected static IdentityService getIdentityService()
           
protected static NamespaceService getNamespaceService()
           
protected  String getPrincipalIdFromIdOrName(String principalIdOrName)
           
protected  boolean isUserRecipientValid(String user, ErrorList errors)
           
protected  boolean isWorkgroupRecipientValid(String groupName, String namespaceCode, ErrorList errors)
           
protected  String[] parseCommaSeparatedValues(javax.servlet.http.HttpServletRequest request, String param)
           
protected  String[] parseUserRecipients(javax.servlet.http.HttpServletRequest request)
           
protected  String[] parseWorkgroupNamespaceCodes(javax.servlet.http.HttpServletRequest request)
           
protected  String[] parseWorkgroupRecipients(javax.servlet.http.HttpServletRequest request)
           
 
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, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, 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
 

Constructor Detail

BaseSendNotificationController

public BaseSendNotificationController()
Method Detail

getIdentityService

protected static IdentityService getIdentityService()

getGroupService

protected static GroupService getGroupService()

getNamespaceService

protected static NamespaceService getNamespaceService()

parseUserRecipients

protected String[] parseUserRecipients(javax.servlet.http.HttpServletRequest request)

parseWorkgroupRecipients

protected String[] parseWorkgroupRecipients(javax.servlet.http.HttpServletRequest request)

parseWorkgroupNamespaceCodes

protected String[] parseWorkgroupNamespaceCodes(javax.servlet.http.HttpServletRequest request)

parseCommaSeparatedValues

protected String[] parseCommaSeparatedValues(javax.servlet.http.HttpServletRequest request,
                                             String param)

isUserRecipientValid

protected boolean isUserRecipientValid(String user,
                                       ErrorList errors)

isWorkgroupRecipientValid

protected boolean isWorkgroupRecipientValid(String groupName,
                                            String namespaceCode,
                                            ErrorList errors)

getPrincipalIdFromIdOrName

protected String getPrincipalIdFromIdOrName(String principalIdOrName)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.