com.atlassian.jira.charts.portlet
Class CreatedVsResolvedChartPortlet

java.lang.Object
  extended by com.atlassian.jira.portal.PortletImpl
      extended by com.atlassian.jira.charts.portlet.AbstractChartPortlet
          extended by com.atlassian.jira.charts.portlet.CreatedVsResolvedChartPortlet
All Implemented Interfaces:
SearchRequestAwareChartPortlet, LazyLoadingPortlet, Portlet

public class CreatedVsResolvedChartPortlet
extends AbstractChartPortlet
implements SearchRequestAwareChartPortlet

A chart that shows created vs resolved issues over time.

Since:
v4.0

Field Summary
 
Fields inherited from class com.atlassian.jira.charts.portlet.AbstractChartPortlet
chartUtils, velocityRequestContextFactory
 
Fields inherited from class com.atlassian.jira.portal.PortletImpl
applicationProperties, authenticationContext, permissionManager
 
Constructor Summary
CreatedVsResolvedChartPortlet(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ApplicationProperties applicationProperties, VelocityRequestContextFactory velocityRequestContextFactory, ChartUtils chartUtils, ChartFactory chartFactory)
           
 
Method Summary
 java.lang.String getSearchRequestViewHtml(PortletConfiguration portletConfiguration, SearchRequest searchRequest)
          Renders the SearchRequest View HTML for a given portlet configuration and searchrequest.
protected  java.util.Map<java.lang.String,java.lang.Object> getVelocityParams(PortletConfiguration portletConfiguration)
          Allow for the addition of additional Velocity parameters to the context.
 
Methods inherited from class com.atlassian.jira.charts.portlet.AbstractChartPortlet
generateCommonParameters, getDaysPrevious, getLoadingHtml, getStaticHtml
 
Methods inherited from class com.atlassian.jira.portal.PortletImpl
equals, getCornerThumbnail, getCornerThumbnailPath, getDescription, getDescriptor, getId, getIssueConstant, getListFromMultiSelectValue, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getThumbnailPath, getViewHtml, hashCode, hasPermission, init, isEditablePortletConfig
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.portal.Portlet
getCornerThumbnail, getDescription, getDescriptor, getId, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getViewHtml, hasPermission, init
 

Constructor Detail

CreatedVsResolvedChartPortlet

public CreatedVsResolvedChartPortlet(JiraAuthenticationContext authenticationContext,
                                     PermissionManager permissionManager,
                                     ApplicationProperties applicationProperties,
                                     VelocityRequestContextFactory velocityRequestContextFactory,
                                     ChartUtils chartUtils,
                                     ChartFactory chartFactory)
Method Detail

getVelocityParams

protected java.util.Map<java.lang.String,java.lang.Object> getVelocityParams(PortletConfiguration portletConfiguration)
Description copied from class: PortletImpl
Allow for the addition of additional Velocity parameters to the context. Sub-classes may wish to override this to add their own object to the velocity context

Overrides:
getVelocityParams in class PortletImpl
Parameters:
portletConfiguration - portlet configuration
Returns:
map of velocity parameters, never null

getSearchRequestViewHtml

public java.lang.String getSearchRequestViewHtml(PortletConfiguration portletConfiguration,
                                                 SearchRequest searchRequest)
Description copied from interface: SearchRequestAwareChartPortlet
Renders the SearchRequest View HTML for a given portlet configuration and searchrequest.

Specified by:
getSearchRequestViewHtml in interface SearchRequestAwareChartPortlet
Parameters:
portletConfiguration - The properties to use for the chart portlet to render
searchRequest - The search request, defining the data to chart
Returns:
The HTML of the chart portlet


Copyright © 2002-2010 Atlassian. All Rights Reserved.