com.atlassian.jira.issue.search.searchers.impl
Class ReporterSearcher

java.lang.Object
  extended by com.atlassian.jira.issue.search.searchers.impl.AbstractIssueSearcher
      extended by com.atlassian.jira.issue.search.searchers.impl.AbstractUserSearcher
          extended by com.atlassian.jira.issue.search.searchers.impl.ReporterSearcher
All Implemented Interfaces:
Field, IssueSearcher, Comparable

public class ReporterSearcher
extends AbstractUserSearcher


Field Summary
static String NAME_KEY
          message resource key
static String REPORTER_FIELD
          field input form element name
static String REPORTER_SELECT_LIST
          select box input form element name
 
Fields inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractUserSearcher
applicationProperties, searchService, SELECT_LIST_GROUP, SELECT_LIST_NONE, SELECT_LIST_USER
 
Fields inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractIssueSearcher
authenticationContext, EDIT_TEMPLATE_SUFFIX, field, VIEW_TEMPLATE_SUFFIX
 
Fields inherited from interface com.atlassian.jira.issue.search.searchers.IssueSearcher
I18N_BUNDLE, log
 
Constructor Summary
ReporterSearcher(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, UserPickerSearchService searchService)
          Constructs a new instance of this class
 
Method Summary
 String getId()
          Returns REPORTER_FIELD
 String getNameKey()
          Returns NAME_KEY
protected  String getNoneValue()
          Returns DocumentConstants.ISSUE_NO_AUTHOR
 List getRelatedIndexers()
          Returns a single element list with an instance of ReporterIndexer class
 List getSelectListOptions()
           
 String getUserField()
          Returns REPORTER_FIELD
protected  String getUserGroupSearchParamName()
          Returns DocumentConstants.ISSUE_AUTHOR_GROUP
protected  String getUserSearchParamName()
          Returns DocumentConstants.ISSUE_AUTHOR
 String getUserSelect()
          Returns REPORTER_SELECT_LIST
 String getUserSelectList()
          Returns AbstractUserSearcher.SELECT_LIST_USER
 
Methods inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractUserSearcher
getEditHtml, getI18nBean, getLinkedGroup, getLinkedUser, getQuerySnippet, getTextForuser, getVelocityParams, getViewHtml, isRevelentForSeachRequest, populateFromParams, populateFromSearchRequest, populateSearchRequest, validateParams
 
Methods inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractIssueSearcher
compareTo, equals, getI18n, getName, hashCode, hasPermission, init, isShown, register, renderEditTemplate, renderViewTemplate, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME_KEY

public static final String NAME_KEY
message resource key

See Also:
Constant Field Values

REPORTER_FIELD

public static final String REPORTER_FIELD
field input form element name

See Also:
Constant Field Values

REPORTER_SELECT_LIST

public static final String REPORTER_SELECT_LIST
select box input form element name

See Also:
Constant Field Values
Constructor Detail

ReporterSearcher

public ReporterSearcher(JiraAuthenticationContext authenticationContext,
                        ApplicationProperties applicationProperties,
                        UserPickerSearchService searchService)
Constructs a new instance of this class

Parameters:
authenticationContext - authentication context
Method Detail

getId

public String getId()
Returns REPORTER_FIELD

Returns:
REPORTER_FIELD string

getNameKey

public String getNameKey()
Returns NAME_KEY

Returns:
NAME_KEY string

getUserSelectList

public String getUserSelectList()
Returns AbstractUserSearcher.SELECT_LIST_USER

Returns:
AbstractUserSearcher.SELECT_LIST_USER string

getSelectListOptions

public List getSelectListOptions()
Specified by:
getSelectListOptions in class AbstractUserSearcher

getUserField

public String getUserField()
Returns REPORTER_FIELD

Specified by:
getUserField in class AbstractUserSearcher
Returns:
REPORTER_FIELD string

getUserSelect

public String getUserSelect()
Returns REPORTER_SELECT_LIST

Specified by:
getUserSelect in class AbstractUserSearcher
Returns:
REPORTER_SELECT_LIST string

getNoneValue

protected String getNoneValue()
Returns DocumentConstants.ISSUE_NO_AUTHOR

Specified by:
getNoneValue in class AbstractUserSearcher
Returns:
DocumentConstants.ISSUE_NO_AUTHOR string

getUserGroupSearchParamName

protected String getUserGroupSearchParamName()
Returns DocumentConstants.ISSUE_AUTHOR_GROUP

Specified by:
getUserGroupSearchParamName in class AbstractUserSearcher
Returns:
DocumentConstants.ISSUE_AUTHOR_GROUP string

getUserSearchParamName

protected String getUserSearchParamName()
Returns DocumentConstants.ISSUE_AUTHOR

Specified by:
getUserSearchParamName in class AbstractUserSearcher
Returns:
DocumentConstants.ISSUE_AUTHOR string

getRelatedIndexers

public List getRelatedIndexers()
Returns a single element list with an instance of ReporterIndexer class

Returns:
a single element list with an instance of ReporterIndexer class


Copyright © 2002-2007 Atlassian. All Rights Reserved.