public interface

ModuleWebComponent

com.atlassian.jira.web.component.ModuleWebComponent
Known Indirect Subclasses

Class Overview

Renders com.atlassian.plugin.web.model.WebPanel with the common JIRA module structure. It also makes the header links and dropdown links.

Summary

Public Methods
String renderModule(ApplicationUser user, HttpServletRequest request, WebPanelModuleDescriptor webPanelModuleDescriptor, Map<StringObject> params)
String renderModules(ApplicationUser user, HttpServletRequest request, List<WebPanelModuleDescriptor> webPanelModuleDescriptors, Map<StringObject> params)
A convienence method that iterates over of the list of WebPanels and renders each.

Public Methods

public String renderModule (ApplicationUser user, HttpServletRequest request, WebPanelModuleDescriptor webPanelModuleDescriptor, Map<StringObject> params)

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

public String renderModules (ApplicationUser user, HttpServletRequest request, List<WebPanelModuleDescriptor> webPanelModuleDescriptors, Map<StringObject> params)

A convienence method that iterates over of the list of WebPanels and renders each.

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