com.atlassian.jira.web.component
Class ModuleWebComponentImpl

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

public class ModuleWebComponentImpl
extends Object
implements ModuleWebComponent


Constructor Summary
ModuleWebComponentImpl(JiraAuthenticationContext jiraAuthenticationContext, ModuleWebComponentFields mwcFields)
           
 
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
 

Constructor Detail

ModuleWebComponentImpl

public ModuleWebComponentImpl(JiraAuthenticationContext jiraAuthenticationContext,
                              ModuleWebComponentFields mwcFields)
Method Detail

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 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(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 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()


Copyright © 2002-2012 Atlassian. All Rights Reserved.