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 java.lang.Object

A helper that performs lucene searches.


Constructor Summary
VersionDrillDownRenderer.VersionHelperBean(BrowseContext ctx, SearchProvider searchProvider, boolean isPersonal)
           
 
Method Summary
 java.util.Collection<Issue> getIssuesFromSearchResult(SearchResults searchResults)
          Extracts the list of issues and ordrers them appropriately.
 SearchResults getSearchResultByFixForVersion(Version version)
          Retieves 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
Retieves 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 containg the issues and the total count
Throws:
SearchException - if there is an exception thrown during searching

getIssuesFromSearchResult

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

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


Copyright © 2002-2011 Atlassian. All Rights Reserved.