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
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,
String nameKey,
VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
com.atlassian.velocity.VelocityManager velocityManager,
UserPickerSearchService searchService,
FieldVisibilityManager fieldVisibilityManager)
isShown
public boolean isShown(com.atlassian.crowd.embedded.api.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 List<Map<String,String>> getSelectedListOptions(com.atlassian.crowd.embedded.api.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 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-2012 Atlassian. All Rights Reserved.