Class ResourceExtenderComponentManager
java.lang.Object
fr.paris.lutece.plugins.extend.web.component.ResourceExtenderComponentManager
- All Implemented Interfaces:
IResourceExtenderComponentManager
public class ResourceExtenderComponentManager
extends Object
implements IResourceExtenderComponentManager
ResourceExtenderComponentManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildXmlAddOn(ResourceExtenderDTO resourceExtender, StringBuffer strXml) Builds the xml add on.voiddoSaveConfig(ResourceExtenderDTO resourceExtender, javax.servlet.http.HttpServletRequest request) Do save config.getConfigHtml(ResourceExtenderDTO resourceExtender, Locale locale, javax.servlet.http.HttpServletRequest request) Gets the config html.getDefaultConfigHtml(String strExtenderType, Locale locale, javax.servlet.http.HttpServletRequest request) Gets the default config html of an extender type.getHistoryHtml(ResourceExtenderDTO resourceExtender, Locale locale, javax.servlet.http.HttpServletRequest request) Gets the history html.getInfoHtml(ResourceExtenderDTO resourceExtender, Locale locale, javax.servlet.http.HttpServletRequest request) Gets the info html.getPageAddOn(ResourceExtenderDTO resourceExtender, javax.servlet.http.HttpServletRequest request) Gets the page add on.getResourceExtenderComponent(String strExtenderType) Gets the resource extender component.
-
Field Details
-
BEAN_MANAGER
The Constant BEAN_MANAGER.- See Also:
-
-
Constructor Details
-
ResourceExtenderComponentManager
public ResourceExtenderComponentManager()
-
-
Method Details
-
getResourceExtenderComponent
Gets the resource extender component.- Specified by:
getResourceExtenderComponentin interfaceIResourceExtenderComponentManager- Parameters:
strExtenderType- the str extender type- Returns:
- the resource extender component
-
buildXmlAddOn
Builds the xml add on.- Specified by:
buildXmlAddOnin interfaceIResourceExtenderComponentManager- Parameters:
resourceExtender- the resource extenderstrXml- the str xml
-
getPageAddOn
public String getPageAddOn(ResourceExtenderDTO resourceExtender, javax.servlet.http.HttpServletRequest request) Gets the page add on.- Specified by:
getPageAddOnin interfaceIResourceExtenderComponentManager- Parameters:
resourceExtender- the resource extenderrequest- the request- Returns:
- the page add on
-
getConfigHtml
public String getConfigHtml(ResourceExtenderDTO resourceExtender, Locale locale, javax.servlet.http.HttpServletRequest request) Gets the config html.- Specified by:
getConfigHtmlin interfaceIResourceExtenderComponentManager- Parameters:
resourceExtender- the resource extenderlocale- the localerequest- the request- Returns:
- the config html
-
getDefaultConfigHtml
public String getDefaultConfigHtml(String strExtenderType, Locale locale, javax.servlet.http.HttpServletRequest request) Gets the default config html of an extender type.- Specified by:
getDefaultConfigHtmlin interfaceIResourceExtenderComponentManager- Parameters:
strExtenderType- the resource extender typelocale- the localerequest- the request- Returns:
- the config html
-
getInfoHtml
public String getInfoHtml(ResourceExtenderDTO resourceExtender, Locale locale, javax.servlet.http.HttpServletRequest request) Gets the info html.- Specified by:
getInfoHtmlin interfaceIResourceExtenderComponentManager- Parameters:
resourceExtender- the resource extenderlocale- the localerequest- the request- Returns:
- the info html
-
getHistoryHtml
public String getHistoryHtml(ResourceExtenderDTO resourceExtender, Locale locale, javax.servlet.http.HttpServletRequest request) Gets the history html.- Specified by:
getHistoryHtmlin interfaceIResourceExtenderComponentManager- Parameters:
resourceExtender- the resource extenderlocale- the localerequest- the request- Returns:
- the history html
-
doSaveConfig
public void doSaveConfig(ResourceExtenderDTO resourceExtender, javax.servlet.http.HttpServletRequest request) throws ExtendErrorException Do save config.- Specified by:
doSaveConfigin interfaceIResourceExtenderComponentManager- Parameters:
resourceExtender- the resource extenderrequest- the request- Throws:
ExtendErrorException- the extend error exception
-