Interface IResourceExtenderComponent

All Known Implementing Classes:
AbstractResourceExtenderComponent, HitResourceExtenderComponent, NoConfigResourceExtenderComponent

public interface IResourceExtenderComponent
IResourceExtenderComponent
  • Method Details

    • getResourceExtender

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

      void setResourceExtender(IResourceExtender extender)
      Sets the resource extender.
      Parameters:
      extender - the new resource extender
    • buildXmlAddOn

      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

      String getPageAddOn(String strIdExtendableResource, String strExtendableResourceType, String strParameters, javax.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
    • getConfigHtml

      String getConfigHtml(ResourceExtenderDTO resourceExtender, 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
    • getInfoHtml

      String getInfoHtml(ResourceExtenderDTO resourceExtender, Locale locale, javax.servlet.http.HttpServletRequest request)
      Gets the info html.
      Parameters:
      resourceExtender - the resource extender
      locale - the locale
      request - the request
      Returns:
      the info html
    • getConfig

      IExtenderConfig getConfig(int nIdExtender)
      Gets the config.
      Parameters:
      nIdExtender - the n id extender
      Returns:
      the config
    • doSaveConfig

      void doSaveConfig(javax.servlet.http.HttpServletRequest request, IExtenderConfig config) throws ExtendErrorException
      Do save config.
      Parameters:
      request - the request
      config - the config
      Throws:
      ExtendErrorException - the extend error exception