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

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

public class AssigneeSearcher
extends AbstractUserSearcher


Field Summary
static String ASSIGNEE_FIELD
           
static String ASSIGNEE_SELECT_LIST
           
protected  FieldVisibilityBean fieldVisibilityBean
           
static String NAME_KEY
           
 
Fields inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractUserSearcher
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
AssigneeSearcher(JiraAuthenticationContext authenticationContext, FieldVisibilityBean fieldVisibilityBean)
           
 
Method Summary
 String getId()
          The unique id of the field
 String getNameKey()
          The i18n key that is used to lookup the field's name when it is displayed
protected  String getNoneValue()
           
 List getRelatedIndexers()
          Returns a list of FieldIndexer objects.
 List getSelectListOptions()
           
 String getUserField()
           
protected  String getUserGroupSearchParamName()
           
protected  String getUserSearchParamName()
           
 String getUserSelect()
           
 boolean isShown(SearchContext searchContext)
          Checks if the searcher should be shown in this context
 
Methods inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractUserSearcher
getEditHtml, getI18nBean, getLinkedGroup, getLinkedUser, getQuerySnippet, getTextForuser, getViewHtml, isRevelentForSeachRequest, populateFromParams, populateFromSearchRequest, populateSearchRequest, validateParams
 
Methods inherited from class com.atlassian.jira.issue.search.searchers.impl.AbstractIssueSearcher
compareTo, equals, getI18n, getName, getVelocityParams, hashCode, hasPermission, init, 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
See Also:
Constant Field Values

ASSIGNEE_FIELD

public static final String ASSIGNEE_FIELD
See Also:
Constant Field Values

ASSIGNEE_SELECT_LIST

public static final String ASSIGNEE_SELECT_LIST
See Also:
Constant Field Values

fieldVisibilityBean

protected final FieldVisibilityBean fieldVisibilityBean
Constructor Detail

AssigneeSearcher

public AssigneeSearcher(JiraAuthenticationContext authenticationContext,
                        FieldVisibilityBean fieldVisibilityBean)
Method Detail

getId

public String getId()
Description copied from interface: Field
The unique id of the field


getNameKey

public String getNameKey()
Description copied from interface: Field
The i18n key that is used to lookup the field's name when it is displayed


getRelatedIndexers

public List getRelatedIndexers()
Description copied from interface: IssueSearcher
Returns a list of FieldIndexer objects. The objects should be initialised and ready for action

Returns:
List of FieldIndexer objects. Must not be null. Return Collections.EMPTY_LIST if not available

isShown

public boolean isShown(SearchContext searchContext)
Description copied from interface: IssueSearcher
Checks if the searcher should be shown in this context

Specified by:
isShown in interface IssueSearcher
Overrides:
isShown in class AbstractIssueSearcher

getSelectListOptions

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

getUserField

public String getUserField()
Specified by:
getUserField in class AbstractUserSearcher

getUserSelect

public String getUserSelect()
Specified by:
getUserSelect in class AbstractUserSearcher

getNoneValue

protected String getNoneValue()
Specified by:
getNoneValue in class AbstractUserSearcher

getUserGroupSearchParamName

protected String getUserGroupSearchParamName()
Specified by:
getUserGroupSearchParamName in class AbstractUserSearcher

getUserSearchParamName

protected String getUserSearchParamName()
Specified by:
getUserSearchParamName in class AbstractUserSearcher


Copyright © 2002-2006 Atlassian. All Rights Reserved.