com.atlassian.jira.issue.search.searchers.renderer
Class ReporterSearchRenderer
java.lang.Object
com.atlassian.jira.issue.search.searchers.renderer.AbstractSearchRenderer
com.atlassian.jira.issue.search.searchers.renderer.AbstractUserSearchRenderer
com.atlassian.jira.issue.search.searchers.renderer.ReporterSearchRenderer
- All Implemented Interfaces:
- SearchRenderer
public class ReporterSearchRenderer
- extends AbstractUserSearchRenderer
- implements SearchRenderer
An search renderer for the reporter field.
- Since:
- v4.0
Constructor Summary |
ReporterSearchRenderer(String nameKey,
VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
VelocityTemplatingEngine templatingEngine,
UserPickerSearchService searchService,
UserManager userManager,
UserUtil userUtil,
GroupManager groupManager,
PermissionManager permissionManager,
FieldVisibilityManager fieldVisibilityManager,
UserHistoryManager userHistoryManager)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReporterSearchRenderer
public ReporterSearchRenderer(String nameKey,
VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
VelocityTemplatingEngine templatingEngine,
UserPickerSearchService searchService,
UserManager userManager,
UserUtil userUtil,
GroupManager groupManager,
PermissionManager permissionManager,
FieldVisibilityManager fieldVisibilityManager,
UserHistoryManager userHistoryManager)
getSelectedListOptions
protected List<Map<String,String>> getSelectedListOptions(com.atlassian.crowd.embedded.api.User searcher)
- Specified by:
getSelectedListOptions
in class AbstractUserSearchRenderer
- Parameters:
searcher
- performing the action.
- Returns:
- the select list options that are displayed for this user searcher (e.g. SpecificUser, CurrentUser...)
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.
isShown
public boolean isShown(com.atlassian.crowd.embedded.api.User user,
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:
user
- 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.
Copyright © 2002-2014 Atlassian. All Rights Reserved.