Class ModuleWebComponentImpl

java.lang.Object
com.atlassian.jira.web.component.ModuleWebComponentImpl
All Implemented Interfaces:
ModuleWebComponent

public class ModuleWebComponentImpl extends Object implements ModuleWebComponent
  • Constructor Details

  • Method Details

    • renderModules

      public String renderModules(ApplicationUser user, jakarta.servlet.http.HttpServletRequest request, List<? extends com.atlassian.plugin.web.api.descriptors.WebPanelModuleDescriptor<? extends com.atlassian.plugin.web.api.model.WebPanel>> webPanelModuleDescriptors, Map<String,Object> params)
      Description copied from interface: ModuleWebComponent
      A convienence method that iterates over of the list of WebPanels and renders each.
      Specified by:
      renderModules in interface ModuleWebComponent
      Parameters:
      user - The user that we are rendering these for
      request - The request that these web panels are being rendered in
      webPanelModuleDescriptors - The list of WebPanels being rendered
      params - The params to pass to the render
      Returns:
      The rendered HTML
    • renderModule

      public String renderModule(ApplicationUser user, jakarta.servlet.http.HttpServletRequest request, com.atlassian.plugin.web.api.descriptors.WebPanelModuleDescriptor<? extends com.atlassian.plugin.web.api.model.WebPanel> webPanelModuleDescriptor, Map<String,Object> params)
      Specified by:
      renderModule in interface ModuleWebComponent
      Parameters:
      user - The user that we are rendering these for
      request - The request that these web panels are being rendered in
      webPanelModuleDescriptor - The WebPanel to render
      params - The params to pass to the render
      Returns:
      The rendered HTML
    • getSoyRenderer

      protected com.atlassian.soy.renderer.SoyTemplateRenderer getSoyRenderer()