Class HitResourceExtenderComponent
java.lang.Object
fr.paris.lutece.plugins.extend.web.component.AbstractResourceExtenderComponent
fr.paris.lutece.plugins.extend.web.component.NoConfigResourceExtenderComponent
fr.paris.lutece.plugins.extend.modules.hit.web.component.HitResourceExtenderComponent
- All Implemented Interfaces:
IResourceExtenderComponent
@ApplicationScoped
public class HitResourceExtenderComponent
extends NoConfigResourceExtenderComponent
HitResourceExtenderComponent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildXmlAddOn(String strIdExtendableResource, String strExtendableResourceType, String strParameters, StringBuffer strXml) Add to the the XML String additional datas.getConfig(int nIdExtender) Gets the config.getInfoHtml(ResourceExtenderDTO resourceExtender, Locale locale, jakarta.servlet.http.HttpServletRequest request) Gets the info html.getPageAddOn(String strIdExtendableResource, String strExtendableResourceType, String strParameters, jakarta.servlet.http.HttpServletRequest request) Add datas to the model use by document template.Gets the resource extender.Methods inherited from class fr.paris.lutece.plugins.extend.web.component.NoConfigResourceExtenderComponent
doSaveConfig, getConfigHtmlMethods inherited from class fr.paris.lutece.plugins.extend.web.component.AbstractResourceExtenderComponent
getPostBackUrl
-
Constructor Details
-
HitResourceExtenderComponent
public HitResourceExtenderComponent()
-
-
Method Details
-
getResourceExtender
Gets the resource extender.- Returns:
- the resource extender
-
getConfig
Description copied from class:NoConfigResourceExtenderComponentGets the config.- Specified by:
getConfigin interfaceIResourceExtenderComponent- Overrides:
getConfigin classNoConfigResourceExtenderComponent- Parameters:
nIdExtender- the n id extender- Returns:
- the config
-
buildXmlAddOn
public void buildXmlAddOn(String strIdExtendableResource, String strExtendableResourceType, String strParameters, StringBuffer strXml) Add to the the XML String additional datas.- Parameters:
strIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource typestrParameters- the str parametersstrXml- The xml string use by stylesheet
-
getPageAddOn
public String getPageAddOn(String strIdExtendableResource, String strExtendableResourceType, String strParameters, jakarta.servlet.http.HttpServletRequest request) Add datas to the model use by document template.- Parameters:
strIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource typestrParameters- the str parametersrequest- The HTTP Request- Returns:
- the page add on
-
getInfoHtml
public String getInfoHtml(ResourceExtenderDTO resourceExtender, Locale locale, jakarta.servlet.http.HttpServletRequest request) Gets the info html.- Parameters:
resourceExtender- the resource extenderlocale- the localerequest- the request- Returns:
- the info html
-