com.atlassian.jira.plugin.util
Class TabPanelUtil.PopularIssues

java.lang.Object
  extended by com.atlassian.jira.plugin.util.TabPanelUtil.PopularIssues
Enclosing class:
TabPanelUtil

public abstract static class TabPanelUtil.PopularIssues
extends Object

Helper class to find all the popular issues for a given project.


Constructor Summary
TabPanelUtil.PopularIssues(SearchProvider searchProvider, ConstantsManager constantsManager)
           
 
Method Summary
 List getIssues(User user, Long projectId, boolean resolved)
           
abstract  SearchRequest modifySearchRequest(SearchRequest sr)
          Implement this method in order to narrow down the serach results to your criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabPanelUtil.PopularIssues

public TabPanelUtil.PopularIssues(SearchProvider searchProvider,
                                  ConstantsManager constantsManager)
Method Detail

getIssues

public List getIssues(User user,
                      Long projectId,
                      boolean resolved)

modifySearchRequest

public abstract SearchRequest modifySearchRequest(SearchRequest sr)
Implement this method in order to narrow down the serach results to your criteria. If you do not need any narrowing simply return 'sr' parameter passed in.

Parameters:
sr - search request
Returns:
new or modified search request


Copyright © 2002-2008 Atlassian. All Rights Reserved.