com.atlassian.jira.web.component.webfragment
Class WebFragmentWebComponent

java.lang.Object
  extended by com.atlassian.jira.web.component.AbstractWebComponent
      extended by com.atlassian.jira.web.component.webfragment.WebFragmentWebComponent

public class WebFragmentWebComponent
extends AbstractWebComponent

This class displays sections of the web interface through plugins

The layout of sections and its items are handled by the velocity template file


Field Summary
 
Fields inherited from class com.atlassian.jira.web.component.AbstractWebComponent
applicationProperties, velocityManager
 
Constructor Summary
WebFragmentWebComponent(JiraWebInterfaceManager webInterfaceManager, com.atlassian.velocity.VelocityManager velocityManager, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 String getHtml(String template, String location, JiraHelper jiraHelper)
           
 String getHtml(String template, String location, JiraHelper jiraHelper, ContextLayoutBean layoutBean)
           
 boolean hasDisplayableItems(String location, JiraHelper jiraHelper)
          Checks whether the location has any displayable sections and items for the user
 
Methods inherited from class com.atlassian.jira.web.component.AbstractWebComponent
getHtml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebFragmentWebComponent

public WebFragmentWebComponent(JiraWebInterfaceManager webInterfaceManager,
                               com.atlassian.velocity.VelocityManager velocityManager,
                               ApplicationProperties applicationProperties,
                               JiraAuthenticationContext authenticationContext)
Method Detail

getHtml

public String getHtml(String template,
                      String location,
                      JiraHelper jiraHelper)

getHtml

public String getHtml(String template,
                      String location,
                      JiraHelper jiraHelper,
                      ContextLayoutBean layoutBean)

hasDisplayableItems

public boolean hasDisplayableItems(String location,
                                   JiraHelper jiraHelper)
Checks whether the location has any displayable sections and items for the user



Copyright © 2002-2008 Atlassian. All Rights Reserved.