org.apache.jetspeed.aggregator.impl
Class PageAggregatorImpl

java.lang.Object
  extended by org.apache.jetspeed.aggregator.impl.PageAggregatorImpl
All Implemented Interfaces:
org.apache.jetspeed.aggregator.Aggregator, org.apache.jetspeed.aggregator.PageAggregator

public class PageAggregatorImpl
extends Object
implements org.apache.jetspeed.aggregator.PageAggregator

ContentPageAggregator builds the content required to render a page of portlets.

Version:
$Id: PageAggregatorImpl.java 516448 2007-03-09 16:25:47Z ate $
Author:
Rapha?l Luta , David Sean Taylor

Field Summary
private static org.apache.commons.logging.Log log
           
private  org.apache.jetspeed.aggregator.PortletRenderer renderer
           
 
Constructor Summary
PageAggregatorImpl(org.apache.jetspeed.aggregator.PortletRenderer renderer)
           
 
Method Summary
protected  void aggregateAndRender(org.apache.jetspeed.om.page.ContentFragment f, org.apache.jetspeed.request.RequestContext context, org.apache.jetspeed.om.page.ContentPage page)
           
 void build(org.apache.jetspeed.request.RequestContext context)
          Builds the portlet set defined in the context into a portlet tree.
protected  void renderMaximizedWindow(org.apache.jetspeed.request.RequestContext context, org.apache.jetspeed.om.page.ContentPage page, org.apache.jetspeed.om.page.ContentFragment layoutContentFragment, org.apache.pluto.om.window.PortletWindow window)
           renderMaximizedWindow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log

renderer

private org.apache.jetspeed.aggregator.PortletRenderer renderer
Constructor Detail

PageAggregatorImpl

public PageAggregatorImpl(org.apache.jetspeed.aggregator.PortletRenderer renderer)
Method Detail

build

public void build(org.apache.jetspeed.request.RequestContext context)
           throws org.apache.jetspeed.exception.JetspeedException,
                  IOException
Builds the portlet set defined in the context into a portlet tree.

Specified by:
build in interface org.apache.jetspeed.aggregator.Aggregator
Throws:
org.apache.jetspeed.exception.JetspeedException
IOException

renderMaximizedWindow

protected void renderMaximizedWindow(org.apache.jetspeed.request.RequestContext context,
                                     org.apache.jetspeed.om.page.ContentPage page,
                                     org.apache.jetspeed.om.page.ContentFragment layoutContentFragment,
                                     org.apache.pluto.om.window.PortletWindow window)
                              throws org.apache.jetspeed.aggregator.FailedToRenderFragmentException

renderMaximizedWindow

Parameters:
context -
page -
layoutContentFragment -
defaultPortletDecorator -
dispatcher -
window -
Throws:
FailedToRenderContentFragmentException
org.apache.jetspeed.aggregator.FailedToRenderFragmentException

aggregateAndRender

protected void aggregateAndRender(org.apache.jetspeed.om.page.ContentFragment f,
                                  org.apache.jetspeed.request.RequestContext context,
                                  org.apache.jetspeed.om.page.ContentPage page)
                           throws org.apache.jetspeed.aggregator.FailedToRenderFragmentException
Throws:
org.apache.jetspeed.aggregator.FailedToRenderFragmentException


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