fr.paris.lutece.plugins.myportal.service
Class PageBuilder

java.lang.Object
  extended by fr.paris.lutece.plugins.myportal.service.PageBuilder
All Implemented Interfaces:
IPageBuilder

public class PageBuilder
extends java.lang.Object
implements IPageBuilder

This is an implentation of a page builder. Other implementation can be injected using Spring IoC


Constructor Summary
PageBuilder()
           
 
Method Summary
 java.lang.String buildPage(PageConfig pageConfig, fr.paris.lutece.portal.service.security.LuteceUser user, javax.servlet.http.HttpServletRequest request)
          Build the page given a page config and a LuteceUser
 void setWidgetContentService(WidgetContentService widgetContentService)
          Set the widget content service
 void setWidgetService(WidgetService widgetService)
          Set the widget service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageBuilder

public PageBuilder()
Method Detail

buildPage

public java.lang.String buildPage(PageConfig pageConfig,
                                  fr.paris.lutece.portal.service.security.LuteceUser user,
                                  javax.servlet.http.HttpServletRequest request)
Build the page given a page config and a LuteceUser

Specified by:
buildPage in interface IPageBuilder
Parameters:
pageConfig - a PageConfig
user - a LuteceUser
request - HttpServletRequest
Returns:
the page

setWidgetContentService

public void setWidgetContentService(WidgetContentService widgetContentService)
Set the widget content service

Parameters:
widgetContentService - the widget content service

setWidgetService

public void setWidgetService(WidgetService widgetService)
Set the widget service

Parameters:
widgetService - the widget content service


Copyright © 2012 Mairie de Paris. All Rights Reserved.