com.atlassian.jira.issue.customfields.searchers.renderer
Class UserPickerGroupCustomFieldRenderer
java.lang.Object
com.atlassian.jira.issue.search.searchers.renderer.AbstractSearchRenderer
com.atlassian.jira.issue.search.searchers.renderer.AbstractUserSearchRenderer
com.atlassian.jira.issue.customfields.searchers.renderer.UserPickerGroupCustomFieldRenderer
- All Implemented Interfaces:
- SearchRenderer
public class UserPickerGroupCustomFieldRenderer
- extends AbstractUserSearchRenderer
- implements SearchRenderer
- Since:
- v4.0
Method Summary |
protected java.lang.String |
getEmptyValueKey()
|
protected java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getSelectedListOptions(com.opensymphony.user.User searcher)
Returns a list of select box options |
boolean |
isShown(com.opensymphony.user.User searcher,
SearchContext searchContext)
Checks if the searcher should be shown in this context on the Issue Navigator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserPickerGroupCustomFieldRenderer
public UserPickerGroupCustomFieldRenderer(CustomField field,
UserFieldSearchConstants searchConstants,
java.lang.String nameKey,
VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
com.atlassian.velocity.VelocityManager velocityManager,
UserPickerSearchService searchService,
FieldVisibilityManager fieldVisibilityManager)
isShown
public boolean isShown(com.opensymphony.user.User searcher,
SearchContext searchContext)
- Description copied from interface:
SearchRenderer
- Checks if the searcher should be shown in this context on the Issue Navigator.
- Specified by:
isShown
in interface SearchRenderer
- Parameters:
searcher
- performing this action.searchContext
- the context of the search (i.e. projects and issue types selected).
- Returns:
- true if the searcher will appear in the issue navigator, false otherwise.
getSelectedListOptions
protected java.util.List<java.util.Map<java.lang.String,java.lang.String>> getSelectedListOptions(com.opensymphony.user.User searcher)
- Returns a list of select box options
- Specified by:
getSelectedListOptions
in class AbstractUserSearchRenderer
- Parameters:
searcher
- performing this action.
- Returns:
- a list of select box options
getEmptyValueKey
protected java.lang.String getEmptyValueKey()
- Specified by:
getEmptyValueKey
in class AbstractUserSearchRenderer
- Returns:
- the i18n key for the text that describes an empty value for this searcher.
Copyright © 2002-2010 Atlassian. All Rights Reserved.