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

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

public static class VersionDrillDownRendererImpl.VersionHelperBean
extends Object

A helper that performs lucene searches.


Constructor Summary
VersionDrillDownRendererImpl.VersionHelperBean(BrowseContext ctx, SearchProvider searchProvider)
           
 
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

VersionDrillDownRendererImpl.VersionHelperBean

public VersionDrillDownRendererImpl.VersionHelperBean(BrowseContext ctx,
                                                      SearchProvider searchProvider)
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-2014 Atlassian. All Rights Reserved.