fr.paris.lutece.plugins.extend.web.component
Class NoConfigResourceExtenderComponent

java.lang.Object
  extended by fr.paris.lutece.plugins.extend.web.component.AbstractResourceExtenderComponent
      extended by fr.paris.lutece.plugins.extend.web.component.NoConfigResourceExtenderComponent
All Implemented Interfaces:
IResourceExtenderComponent, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
HitResourceExtenderComponent

public abstract class NoConfigResourceExtenderComponent
extends AbstractResourceExtenderComponent

This class implements the resource extender component that does not need a configuration.


Constructor Summary
NoConfigResourceExtenderComponent()
           
 
Method Summary
 void doSaveConfig(javax.servlet.http.HttpServletRequest request, IExtenderConfig config)
          Do save config.
 IExtenderConfig getConfig(int nIdExtender)
          Gets the config.
 java.lang.String getConfigHtml(ResourceExtenderDTO resourceExtender, java.util.Locale locale, javax.servlet.http.HttpServletRequest request)
          Gets the config html.
 
Methods inherited from class fr.paris.lutece.plugins.extend.web.component.AbstractResourceExtenderComponent
afterPropertiesSet, getResourceExtender, setResourceExtender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.paris.lutece.plugins.extend.web.component.IResourceExtenderComponent
buildXmlAddOn, getInfoHtml, getPageAddOn
 

Constructor Detail

NoConfigResourceExtenderComponent

public NoConfigResourceExtenderComponent()
Method Detail

getConfigHtml

public java.lang.String getConfigHtml(ResourceExtenderDTO resourceExtender,
                                      java.util.Locale locale,
                                      javax.servlet.http.HttpServletRequest request)
Gets the config html.

Parameters:
resourceExtender - the resource extender
locale - the locale
request - the request
Returns:
the config html

getConfig

public IExtenderConfig getConfig(int nIdExtender)
Gets the config.

Parameters:
nIdExtender - the n id extender
Returns:
the config

doSaveConfig

public void doSaveConfig(javax.servlet.http.HttpServletRequest request,
                         IExtenderConfig config)
Do save config.

Parameters:
request - the request
config - the config


Copyright © 2012 Mairie de Paris. All Rights Reserved.