|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.ken.web.spring.UserPreferencesController
public class UserPreferencesController
This class is the controller that handles management of various user preferences interfaces (deliver types, user subscriptions, etc).
Field Summary | |
---|---|
private static org.apache.log4j.Logger |
LOG
Logger for this class and subclasses |
protected NotificationChannelService |
notificationChannelService
|
protected Object |
notificationMessageDelivererRegistryService
|
protected UserPreferenceService |
userPreferenceService
|
private static String |
view
|
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 | |
---|---|
UserPreferencesController()
|
Method Summary | |
---|---|
org.springframework.web.servlet.ModelAndView |
displayActionListPreferences(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method displays the actionList preference screen. |
org.springframework.web.servlet.ModelAndView |
displayUserPreferences(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method handles displaying the user preferences UI. |
void |
setNotificationChannelService(NotificationChannelService notificationChannelService)
Set the NotificationChannelService |
void |
setNotificationMessageDelivererRegistryService(Object notificationMessageDelivererRegistryService)
Set the NotificationMessageDelivererRegistryService |
void |
setUserPreferenceService(UserPreferenceService userPreferenceService)
Set the UserPreferenceService |
org.springframework.web.servlet.ModelAndView |
subscribeToChannel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Subscribe To a Channel |
org.springframework.web.servlet.ModelAndView |
unsubscribeFromChannel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Unsubscribe from Channel |
Methods inherited from class org.springframework.web.servlet.mvc.multiaction.MultiActionController |
---|
bind, createBinder, getCommandName, getExceptionHandler, getLastModified, getMethodNameResolver, getValidators, getWebBindingInitializer, handleNoSuchRequestHandlingMethod, handleRequestInternal, initBinder, 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 |
---|
private static String view
private static final org.apache.log4j.Logger LOG
protected NotificationChannelService notificationChannelService
protected UserPreferenceService userPreferenceService
protected Object notificationMessageDelivererRegistryService
Constructor Detail |
---|
public UserPreferencesController()
Method Detail |
---|
public void setNotificationChannelService(NotificationChannelService notificationChannelService)
notificationChannelService
- public void setUserPreferenceService(UserPreferenceService userPreferenceService)
userPreferenceService
- public void setNotificationMessageDelivererRegistryService(Object notificationMessageDelivererRegistryService)
notificationMessageDelivererRegistryService
- public org.springframework.web.servlet.ModelAndView displayActionListPreferences(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 displayUserPreferences(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 subscribeToChannel(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 unsubscribeFromChannel(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
request
- response
-
javax.servlet.ServletException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |