com.atlassian.jira.plugin.projectpanel.impl
Class VersionDrillDownRenderer.VersionHelperBean

java.lang.Object
  extended by com.atlassian.jira.plugin.projectpanel.impl.VersionDrillDownRenderer.VersionHelperBean
Enclosing class:
VersionDrillDownRenderer

public static class VersionDrillDownRenderer.VersionHelperBean
extends Object

A helper that performs lucene searches.


Constructor Summary
VersionDrillDownRenderer.VersionHelperBean(BrowseContext ctx, SearchProvider searchProvider, boolean isPersonal)
           
 
Method Summary
 Collection<Issue> getIssuesFromSearchResult(SearchResults searchResults)
          Extracts the list of issues and orders them appropriately.
 SearchResults getSearchResultByFixForVersion(Version version)
          Retrieves a SearchResults for all the issues in the current context and restricts them to assigned to current user if it is personal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionDrillDownRenderer.VersionHelperBean

public VersionDrillDownRenderer.VersionHelperBean(BrowseContext ctx,
                                                  SearchProvider searchProvider,
                                                  boolean isPersonal)
Method Detail

getSearchResultByFixForVersion

public SearchResults getSearchResultByFixForVersion(Version version)
                                             throws SearchException
Retrieves a SearchResults for all the issues in the current context and restricts them to assigned to current user if it is personal.

Parameters:
version - The version to get the results for
Returns:
a results object contains the issues and the total count
Throws:
SearchException - if there is an exception thrown during searching

getIssuesFromSearchResult

public Collection<Issue> getIssuesFromSearchResult(SearchResults searchResults)
Extracts the list of issues and orders them appropriately.

Parameters:
searchResults - The result object to extract the issues from.
Returns:
a collection of issue objects.


Copyright © 2002-2013 Atlassian. All Rights Reserved.