org.kuali.rice.kcb.web.spring
Class UserPreferencesController
java.lang.Object
org.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.kcb.web.spring.UserPreferencesController
- 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 UserPreferencesController
- extends org.springframework.web.servlet.mvc.multiaction.MultiActionController
This class is the controller that handles management of various user preferences interfaces (deliver types, user subscriptions, etc).
- 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 |
recipientPreferenceService
protected RecipientPreferenceService recipientPreferenceService
messageDelivererRegistryService
protected MessageDelivererRegistryService messageDelivererRegistryService
kenIntegrationService
protected KENIntegrationService kenIntegrationService
UserPreferencesController
public UserPreferencesController()
setRecipientPreferenceService
public void setRecipientPreferenceService(RecipientPreferenceService userPreferenceService)
- Set the RecipientPreferenceService
- Parameters:
recipientPreferenceService
-
setMessageDelivererRegistryService
public void setMessageDelivererRegistryService(MessageDelivererRegistryService messageDelivererRegistryService)
- Set the MessageDelivererRegistryService
- Parameters:
messageDelivererRegistryService
-
setKenIntegrationService
public void setKenIntegrationService(KENIntegrationService kis)
- Sets the KENIntegrationService
- Parameters:
kis
- the KENIntegrationService
getAllChannels
protected Collection<String> getAllChannels()
- Returns:
- all channels for Rice, including the builtin KEW action list "channel"
displayDelivererConfigurationForm
public org.springframework.web.servlet.ModelAndView displayDelivererConfigurationForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- displayDelivererConfigurationForm - obtain information necessary
for displaying all possible Deliverer types and forward to the form
- Parameters:
request
- response
-
- Returns:
-
- Throws:
javax.servlet.ServletException
IOException
saveDelivererConfiguration
public org.springframework.web.servlet.ModelAndView saveDelivererConfiguration(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- saveDelivererConfiguration - save deliverer configuration data
- Parameters:
request
- response
-
- Returns:
-
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.