public class

VersionDrillDownRendererImpl

extends Object
implements VersionDrillDownRenderer
java.lang.Object
   ↳ com.atlassian.jira.plugin.projectpanel.impl.VersionDrillDownRendererImpl

Class Overview

Renders a roadmap (or changelog) for a given context. This class is expected to run under a web request. It uses the user's session and queries the web request for passed in parameters.

Summary

Nested Classes
class VersionDrillDownRendererImpl.RoadMapGraphingBean Helper class to draw progress charts. 
class VersionDrillDownRendererImpl.VersionHelperBean A helper that performs lucene searches. 
Constants
String ALL_VERSIONS
String COLLAPSE_VERSION
String EXPAND_VERSION
int SUBSET_SIZE The number of versions to display on a single screen
Public Constructors
VersionDrillDownRendererImpl(JiraAuthenticationContext authenticationContext, VersionManager versionManager, ConstantsManager constantsManager, SearchProvider searchProvider, VelocityTemplatingEngine templatingEngine, SearchService searchService, FieldVisibilityManager fieldVisibilityManager, VelocityRequestContextFactory velocityRequestContextFactory)
Public Methods
String getHtml(BrowseContext ctx, String uniqueKey, Collection<Version> versions)
Retrieves the html for a non-personal roadmap/changelog
String getNavigatorUrl(Project project, Version version, ProjectComponent component)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.projectpanel.impl.VersionDrillDownRenderer

Constants

public static final String ALL_VERSIONS

Constant Value: "allVersions"

public static final String COLLAPSE_VERSION

Constant Value: "collapseVersion"

public static final String EXPAND_VERSION

Constant Value: "expandVersion"

public static final int SUBSET_SIZE

The number of versions to display on a single screen

Constant Value: 10 (0x0000000a)

Public Constructors

public VersionDrillDownRendererImpl (JiraAuthenticationContext authenticationContext, VersionManager versionManager, ConstantsManager constantsManager, SearchProvider searchProvider, VelocityTemplatingEngine templatingEngine, SearchService searchService, FieldVisibilityManager fieldVisibilityManager, VelocityRequestContextFactory velocityRequestContextFactory)

Public Methods

public String getHtml (BrowseContext ctx, String uniqueKey, Collection<Version> versions)

Retrieves the html for a non-personal roadmap/changelog

Parameters
ctx The context under which this is running
uniqueKey a key that is unique ot this roadmap/changelog
versions the list of versions for this context
Returns
  • The escaped html of the roadmap

public String getNavigatorUrl (Project project, Version version, ProjectComponent component)