org.jasig.portal.layout.dlm.remoting
Class ChannelListController

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.jasig.portal.layout.dlm.remoting.ChannelListController
All Implemented Interfaces:
ApplicationContextAware, ServletContextAware, Controller

public class ChannelListController
extends AbstractController

A Spring controller that returns a JSON or XML view of channels. For non-admins, this will only display the channels the user is allowed to manage or subscribe to. Admins have a choice of viewing manageable, subscribable, or all channels by the "type" request parameter.

Request parameters:

Version:
$Revsion$
Author:
Drew Mazurek, Jen Bourey, jbourey@unicon.net

Field Summary
 
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
ChannelListController()
           
 
Method Summary
 ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response)
           
 void setChannelRegistryStore(IChannelRegistryStore channelRegistryStore)
           
 void setPersonManager(IPersonManager personManager)
          For injection of the person manager.
 
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
 

Constructor Detail

ChannelListController

public ChannelListController()
Method Detail

handleRequestInternal

public ModelAndView handleRequestInternal(HttpServletRequest request,
                                          HttpServletResponse response)
                                   throws Exception
Specified by:
handleRequestInternal in class AbstractController
Throws:
Exception

setChannelRegistryStore

public void setChannelRegistryStore(IChannelRegistryStore channelRegistryStore)

setPersonManager

public void setPersonManager(IPersonManager personManager)

For injection of the person manager. Used for authorization.

Parameters:
personManager - IPersonManager instance


Copyright © 2010 Jasig. All Rights Reserved.