org.jasig.portal.layout.dlm.remoting
Class ChannelListController
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.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:
- xml: if "true", return an XML view of the channels rather than a
JSON view
- type: "subscribe", "manage", or "all". Displays subscribable,
manageable, or all channels (admin only). Default is subscribable.
- Version:
- $Revsion$
- Author:
- Drew Mazurek, Jen Bourey, jbourey@unicon.net
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelListController
public ChannelListController()
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.