fr.paris.lutece.plugins.myportal.service.handler
Class HtmlWidgetHandler

java.lang.Object
  extended by fr.paris.lutece.plugins.myportal.service.handler.HtmlWidgetHandler
All Implemented Interfaces:
WidgetHandler

public class HtmlWidgetHandler
extends java.lang.Object
implements WidgetHandler

Html Widget Handler


Constructor Summary
HtmlWidgetHandler()
           
 
Method Summary
 java.lang.String getDescription()
          Get the description of the handler
 java.lang.String getName()
          Get the name of the handler
 boolean isCustomizable()
          Check if the widget is customizable or not.
 java.lang.String renderWidget(Widget widget, fr.paris.lutece.portal.service.security.LuteceUser user, javax.servlet.http.HttpServletRequest request)
          Render a widget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlWidgetHandler

public HtmlWidgetHandler()
Method Detail

renderWidget

public java.lang.String renderWidget(Widget widget,
                                     fr.paris.lutece.portal.service.security.LuteceUser user,
                                     javax.servlet.http.HttpServletRequest request)
Render a widget

Specified by:
renderWidget in interface WidgetHandler
Parameters:
widget - the widget
user - the LuteceUser
request - HttpServletRequest
Returns:
a data

getName

public java.lang.String getName()
Get the name of the handler

Specified by:
getName in interface WidgetHandler
Returns:
the name

getDescription

public java.lang.String getDescription()
Get the description of the handler

Specified by:
getDescription in interface WidgetHandler
Returns:
the description

isCustomizable

public boolean isCustomizable()
Check if the widget is customizable or not.
In other words, if the wiget is indeed customizable, the content depends on the LuteceUser.

Specified by:
isCustomizable in interface WidgetHandler
Returns:
true if it is customizable, false otherwise


Copyright © 2012 Mairie de Paris. All Rights Reserved.