org.apache.jetspeed.aggregator.impl
Class ContentDispatcherImpl

java.lang.Object
  extended by org.apache.jetspeed.aggregator.impl.ContentDispatcherImpl
All Implemented Interfaces:
org.apache.jetspeed.aggregator.ContentDispatcher, org.apache.jetspeed.aggregator.ContentDispatcherCtrl

public class ContentDispatcherImpl
extends Object
implements org.apache.jetspeed.aggregator.ContentDispatcherCtrl

The ContentDispatcher allows customer classes to retrieved rendered content for a specific fragment

Version:
$Id: ContentDispatcherImpl.java 516448 2007-03-09 16:25:47Z ate $
Author:
Rapha?l Luta

Field Summary
private  org.apache.jetspeed.aggregator.PortletContent content
           
 
Constructor Summary
private ContentDispatcherImpl()
           
  ContentDispatcherImpl(org.apache.jetspeed.aggregator.PortletContent content)
           
 
Method Summary
 org.apache.jetspeed.aggregator.PortletContent getPortletContent(org.apache.jetspeed.om.page.Fragment fragment)
           getPortletContent
 javax.servlet.http.HttpServletResponse getResponseForFragment(org.apache.jetspeed.om.page.Fragment fragment, org.apache.jetspeed.request.RequestContext request)
           
 javax.servlet.http.HttpServletResponse getResponseForWindow(org.apache.pluto.om.window.PortletWindow window, org.apache.jetspeed.request.RequestContext request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

private org.apache.jetspeed.aggregator.PortletContent content
Constructor Detail

ContentDispatcherImpl

private ContentDispatcherImpl()

ContentDispatcherImpl

public ContentDispatcherImpl(org.apache.jetspeed.aggregator.PortletContent content)
Method Detail

getResponseForWindow

public javax.servlet.http.HttpServletResponse getResponseForWindow(org.apache.pluto.om.window.PortletWindow window,
                                                                   org.apache.jetspeed.request.RequestContext request)
Specified by:
getResponseForWindow in interface org.apache.jetspeed.aggregator.ContentDispatcherCtrl

getResponseForFragment

public javax.servlet.http.HttpServletResponse getResponseForFragment(org.apache.jetspeed.om.page.Fragment fragment,
                                                                     org.apache.jetspeed.request.RequestContext request)
Specified by:
getResponseForFragment in interface org.apache.jetspeed.aggregator.ContentDispatcherCtrl

getPortletContent

public org.apache.jetspeed.aggregator.PortletContent getPortletContent(org.apache.jetspeed.om.page.Fragment fragment)

getPortletContent

Specified by:
getPortletContent in interface org.apache.jetspeed.aggregator.ContentDispatcher
Parameters:
fragment -
Returns:
See Also:
ContentDispatcher.getPortletContent(org.apache.jetspeed.om.page.Fragment)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.