com.atlassian.jira.web.component.issuesummary
Class IssueSummaryBlock

java.lang.Object
  extended by com.atlassian.jira.web.component.AbstractWebComponent
      extended by com.atlassian.jira.web.component.issuesummary.IssueSummaryBlock

public class IssueSummaryBlock
extends AbstractWebComponent


Field Summary
 
Fields inherited from class com.atlassian.jira.web.component.AbstractWebComponent
applicationProperties, velocityManager
 
Constructor Summary
IssueSummaryBlock(com.atlassian.velocity.VelocityManager velocityManager, com.atlassian.plugin.PluginAccessor pluginAccessor, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext, ProjectComponentManager projectComponentManager, FieldVisibilityManager fieldVisibilityManager, LabelUtil labelUtil, FieldManager fieldManager, FieldScreenRendererFactory fieldScreenRendererFactory, IssueManager issueManager)
           
 
Method Summary
 java.lang.String getHtml(Issue issue, webwork.action.Action action)
           
 java.util.Collection<IssueViewModuleDescriptor> getIssueViews()
           
 java.lang.String getRenderedEnvironmentFieldValue(com.opensymphony.user.User user, Issue issue, webwork.action.Action action)
          Gets the HTML that shows the environment field.
 
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

IssueSummaryBlock

public IssueSummaryBlock(com.atlassian.velocity.VelocityManager velocityManager,
                         com.atlassian.plugin.PluginAccessor pluginAccessor,
                         ApplicationProperties applicationProperties,
                         JiraAuthenticationContext authenticationContext,
                         ProjectComponentManager projectComponentManager,
                         FieldVisibilityManager fieldVisibilityManager,
                         LabelUtil labelUtil,
                         FieldManager fieldManager,
                         FieldScreenRendererFactory fieldScreenRendererFactory,
                         IssueManager issueManager)
Method Detail

getHtml

public java.lang.String getHtml(Issue issue,
                                webwork.action.Action action)

getIssueViews

public java.util.Collection<IssueViewModuleDescriptor> getIssueViews()

getRenderedEnvironmentFieldValue

public java.lang.String getRenderedEnvironmentFieldValue(com.opensymphony.user.User user,
                                                         Issue issue,
                                                         webwork.action.Action action)
Gets the HTML that shows the environment field. This includes divs and a javascript enabled hide/show toggle button.

Parameters:
user - who is trying to do it
issue - what issue they want to do it to
action - what they want to do
Returns:
the HTML that shows the environment field.


Copyright © 2002-2010 Atlassian. All Rights Reserved.