Class HitResourceExtenderComponent

All Implemented Interfaces:
IResourceExtenderComponent

@ApplicationScoped public class HitResourceExtenderComponent extends NoConfigResourceExtenderComponent
HitResourceExtenderComponent
  • Constructor Details

    • HitResourceExtenderComponent

      public HitResourceExtenderComponent()
  • Method Details

    • getResourceExtender

      public IResourceExtender getResourceExtender()
      Gets the resource extender.
      Returns:
      the resource extender
    • getConfig

      public IExtenderConfig getConfig(int nIdExtender)
      Description copied from class: NoConfigResourceExtenderComponent
      Gets the config.
      Specified by:
      getConfig in interface IResourceExtenderComponent
      Overrides:
      getConfig in class NoConfigResourceExtenderComponent
      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 resource
      strExtendableResourceType - the str extendable resource type
      strParameters - the str parameters
      strXml - 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 resource
      strExtendableResourceType - the str extendable resource type
      strParameters - the str parameters
      request - 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 extender
      locale - the locale
      request - the request
      Returns:
      the info html