com.atlassian.jira.web.component
Class ModuleWebComponentImpl
java.lang.Object
com.atlassian.jira.web.component.ModuleWebComponentImpl
- All Implemented Interfaces:
- ModuleWebComponent
public class ModuleWebComponentImpl
- extends Object
- implements ModuleWebComponent
Method Summary |
protected com.atlassian.soy.renderer.SoyTemplateRenderer |
getSoyRenderer()
|
String |
renderModule(com.atlassian.crowd.embedded.api.User user,
javax.servlet.http.HttpServletRequest request,
com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor webPanelModuleDescriptor,
Map<String,Object> params)
|
String |
renderModules(com.atlassian.crowd.embedded.api.User 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleWebComponentImpl
public ModuleWebComponentImpl(JiraAuthenticationContext jiraAuthenticationContext,
ModuleWebComponentFields mwcFields)
renderModules
public String renderModules(com.atlassian.crowd.embedded.api.User user,
javax.servlet.http.HttpServletRequest request,
List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> 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 forrequest
- The request that these web panels are being rendered inwebPanelModuleDescriptors
- The list of WebPanels being renderedparams
- The params to pass to the render
- Returns:
- The rendered HTML
renderModule
public String renderModule(com.atlassian.crowd.embedded.api.User user,
javax.servlet.http.HttpServletRequest request,
com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor webPanelModuleDescriptor,
Map<String,Object> params)
- Specified by:
renderModule
in interface ModuleWebComponent
- Parameters:
user
- 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 render
- Returns:
- The rendered HTML
getSoyRenderer
protected com.atlassian.soy.renderer.SoyTemplateRenderer getSoyRenderer()
Copyright © 2002-2013 Atlassian. All Rights Reserved.