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
 String generateReportHtml(ProjectActionSupport action, Map params)
          Generate the report's HTML - usually from the Velocity resource named "html".
 StatsGroup getOptions(SearchRequest sr, com.atlassian.crowd.embedded.api.User user, StatisticsMapper mapper)
           
 StatsGroup searchMapIssueKeys(SearchRequest request, com.atlassian.crowd.embedded.api.User searcher, StatisticsMapper mapper)
           
 void validate(ProjectActionSupport action, 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.atlassian.crowd.embedded.api.User user,
                             StatisticsMapper mapper)
                      throws PermissionException
Throws:
PermissionException

searchMapIssueKeys

public StatsGroup searchMapIssueKeys(SearchRequest request,
                                     com.atlassian.crowd.embedded.api.User searcher,
                                     StatisticsMapper mapper)
                              throws SearchException
Throws:
SearchException

generateReportHtml

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

Throws:
Exception

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.