com.atlassian.jira.plugin.report.impl
Class SingleLevelGroupByReport

java.lang.Object
  extended by com.atlassian.jira.plugin.report.impl.AbstractReport
      extended by com.atlassian.jira.plugin.report.impl.SingleLevelGroupByReport
All Implemented Interfaces:
Report

public class SingleLevelGroupByReport
extends AbstractReport


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.report.impl.AbstractReport
descriptor
 
Constructor Summary
SingleLevelGroupByReport(SearchProvider searchProvider, JiraAuthenticationContext authenticationContext, SearchRequestService searchRequestService, IssueFactory issueFactory, CustomFieldManager customFieldManager, IssueIndexManager issueIndexManager, SearchService searchService, FieldVisibilityManager fieldVisibilityManager, ReaderCache readerCache)
           
 
Method Summary
 java.lang.String generateReportHtml(ProjectActionSupport action, java.util.Map params)
          Generate the report's HTML - usually from the Velocity resource named "html".
 StatsGroup getOptions(SearchRequest sr, com.opensymphony.user.User user, StatisticsMapper mapper)
           
 StatsGroup searchMapIssueKeys(SearchRequest request, com.opensymphony.user.User searcher, StatisticsMapper mapper)
           
 void validate(ProjectActionSupport action, java.util.Map params)
          Validate the parameters passed to this report from the UI.
 
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
 

Constructor Detail

SingleLevelGroupByReport

public SingleLevelGroupByReport(SearchProvider searchProvider,
                                JiraAuthenticationContext authenticationContext,
                                SearchRequestService searchRequestService,
                                IssueFactory issueFactory,
                                CustomFieldManager customFieldManager,
                                IssueIndexManager issueIndexManager,
                                SearchService searchService,
                                FieldVisibilityManager fieldVisibilityManager,
                                ReaderCache readerCache)
Method Detail

getOptions

public StatsGroup getOptions(SearchRequest sr,
                             com.opensymphony.user.User user,
                             StatisticsMapper mapper)
                      throws PermissionException
Throws:
PermissionException

searchMapIssueKeys

public StatsGroup searchMapIssueKeys(SearchRequest request,
                                     com.opensymphony.user.User searcher,
                                     StatisticsMapper mapper)
                              throws SearchException
Throws:
SearchException

generateReportHtml

public java.lang.String generateReportHtml(ProjectActionSupport action,
                                           java.util.Map params)
                                    throws java.lang.Exception
Description copied from interface: Report
Generate the report's HTML - usually from the Velocity resource named "html".

Throws:
java.lang.Exception

validate

public void validate(ProjectActionSupport action,
                     java.util.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


Copyright © 2002-2010 Atlassian. All Rights Reserved.