com.atlassian.jira.charts.report
Class AbstractChartReport

java.lang.Object
  extended by com.atlassian.jira.plugin.report.impl.AbstractReport
      extended by com.atlassian.jira.charts.report.AbstractChartReport
All Implemented Interfaces:
Report
Direct Known Subclasses:
AverageAgeReport, CreatedVsResolvedReport, PieReport, RecentlyCreatedReport, ResolutionTimeReport, TimeSinceReport

@PublicSpi
public abstract class AbstractChartReport
extends AbstractReport

Since:
v4.0

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.plugin.report.impl.AbstractReport
AbstractReport.MutableLong
 
Field Summary
protected  ApplicationProperties applicationProperties
           
protected  JiraAuthenticationContext authenticationContext
           
protected  ChartUtils chartUtils
           
 
Fields inherited from class com.atlassian.jira.plugin.report.impl.AbstractReport
descriptor
 
Constructor Summary
protected AbstractChartReport(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, ProjectManager projectManager, SearchRequestService searchRequestService, ChartUtils chartUtils)
           
 
Method Summary
 void validate(ProjectActionSupport action, Map params)
          Validate the parameters passed to this report from the UI.
protected  void validateDaysPrevious(ProjectActionSupport action, Map params)
           
protected  void validateProjectOrFilterId(ProjectActionSupport action, Map params)
           
 
Methods inherited from class com.atlassian.jira.plugin.report.impl.AbstractReport
generateReportExcel, getDescriptor, getIssueConstant, init, isExcelViewSupported, showReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.plugin.report.Report
generateReportHtml
 

Field Detail

authenticationContext

protected final JiraAuthenticationContext authenticationContext

applicationProperties

protected final ApplicationProperties applicationProperties

chartUtils

protected final ChartUtils chartUtils
Constructor Detail

AbstractChartReport

protected AbstractChartReport(JiraAuthenticationContext authenticationContext,
                              ApplicationProperties applicationProperties,
                              ProjectManager projectManager,
                              SearchRequestService searchRequestService,
                              ChartUtils chartUtils)
Method Detail

validate

public void validate(ProjectActionSupport action,
                     Map params)
Description copied from interface: Report
Validate the parameters passed to this report from the UI.

Any errors should be added to the action errors.

Specified by:
validate in interface Report
Overrides:
validate in class AbstractReport

validateProjectOrFilterId

protected void validateProjectOrFilterId(ProjectActionSupport action,
                                         Map params)

validateDaysPrevious

protected void validateDaysPrevious(ProjectActionSupport action,
                                    Map params)


Copyright © 2002-2013 Atlassian. All Rights Reserved.