com.atlassian.jira.bc.issue.search
Class HistoryIssuePickerSearchProvider

java.lang.Object
  extended by com.atlassian.jira.bc.issue.search.AbstractIssuePickerSearchProvider
      extended by com.atlassian.jira.bc.issue.search.HistoryIssuePickerSearchProvider
All Implemented Interfaces:
IssuePickerSearchProvider

public class HistoryIssuePickerSearchProvider
extends AbstractIssuePickerSearchProvider

Implemenation of IssuePickerSearchProvider that searches the user history in the session. Query is tokenized and then matched against a key and summary. All tokens must exist in summary OR key.


Field Summary
 
Fields inherited from class com.atlassian.jira.bc.issue.search.AbstractIssuePickerSearchProvider
searchProvider
 
Constructor Summary
HistoryIssuePickerSearchProvider(SearchProvider searchProvider, ConstantsManager constantsManager)
           
 
Method Summary
protected  String getId()
          This returns a simple ID of the results, used mainly for html tag ids
protected  String getLabelKey()
          This returns the label key of the results, eg why type of results are they.
protected  SearchRequest getRequest(User user)
           
protected  UserHistory getUserHistory()
           
 
Methods inherited from class com.atlassian.jira.bc.issue.search.AbstractIssuePickerSearchProvider
getNoSortRequest, getResults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryIssuePickerSearchProvider

public HistoryIssuePickerSearchProvider(SearchProvider searchProvider,
                                        ConstantsManager constantsManager)
Method Detail

getId

protected String getId()
Description copied from class: AbstractIssuePickerSearchProvider
This returns a simple ID of the results, used mainly for html tag ids

Specified by:
getId in class AbstractIssuePickerSearchProvider
Returns:
an i18n key.

getLabelKey

protected String getLabelKey()
Description copied from class: AbstractIssuePickerSearchProvider
This returns the label key of the results, eg why type of results are they.

Specified by:
getLabelKey in class AbstractIssuePickerSearchProvider
Returns:
an i18n key.

getRequest

protected SearchRequest getRequest(User user)
Specified by:
getRequest in class AbstractIssuePickerSearchProvider

getUserHistory

protected UserHistory getUserHistory()


Copyright © 2002-2009 Atlassian. All Rights Reserved.