public class ModuleWebComponentImpl extends Object implements ModuleWebComponent
| Constructor and Description |
|---|
ModuleWebComponentImpl(com.atlassian.event.api.EventPublisher eventPublisher,
JiraAuthenticationContext jiraAuthenticationContext,
ModuleWebComponentFields mwcFields) |
| Modifier and Type | Method and Description |
|---|---|
protected com.atlassian.soy.renderer.SoyTemplateRenderer |
getSoyRenderer() |
String |
renderModule(ApplicationUser user,
javax.servlet.http.HttpServletRequest request,
com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor webPanelModuleDescriptor,
Map<String,Object> params) |
String |
renderModules(ApplicationUser user,
javax.servlet.http.HttpServletRequest request,
List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> webPanelModuleDescriptors,
Map<String,Object> params)
A convienence method that iterates over of the list of WebPanels and renders each.
|
public ModuleWebComponentImpl(com.atlassian.event.api.EventPublisher eventPublisher,
JiraAuthenticationContext jiraAuthenticationContext,
ModuleWebComponentFields mwcFields)
public String renderModules(ApplicationUser user, javax.servlet.http.HttpServletRequest request, List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> webPanelModuleDescriptors, Map<String,Object> params)
ModuleWebComponentrenderModules in interface ModuleWebComponentuser - The user that we are rendering these forrequest - The request that these web panels are being rendered inwebPanelModuleDescriptors - The list of WebPanels being renderedparams - The params to pass to the renderpublic String renderModule(ApplicationUser user, javax.servlet.http.HttpServletRequest request, com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor webPanelModuleDescriptor, Map<String,Object> params)
renderModule in interface ModuleWebComponentuser - The user that we are rendering these forrequest - The request that these web panels are being rendered inwebPanelModuleDescriptor - The WebPanel to renderparams - The params to pass to the renderprotected com.atlassian.soy.renderer.SoyTemplateRenderer getSoyRenderer()
Copyright © 2002-2021 Atlassian. All Rights Reserved.