public class CreatorSearchRenderer extends AbstractUserSearchRenderer implements SearchRenderer
permissionManager, SELECT_LIST_GROUP, SELECT_LIST_NONE, SELECT_LIST_USER, userSearcherHelper
EDIT_TEMPLATE_SUFFIX, VIEW_TEMPLATE_SUFFIX
Constructor and Description |
---|
CreatorSearchRenderer(String nameKey,
VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
VelocityTemplatingEngine templatingEngine,
UserSearchService searchService,
UserManager userManager,
PermissionManager permissionManager,
FieldVisibilityManager fieldVisibilityManager) |
Modifier and Type | Method and Description |
---|---|
protected String |
getEmptyValueKey() |
protected List<Map<String,String>> |
getSelectedListOptions(ApplicationUser searcher) |
boolean |
isShown(ApplicationUser user,
SearchContext searchContext)
Checks if the searcher should be shown in this context on the Issue Navigator.
|
addUserGroupSuggestionParams, getEditHtml, getTextForuser, getVelocityParams, getViewHtml, isRelevantForQuery
getI18n, isRelevantForQuery, renderEditTemplate, renderViewTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEditHtml, getViewHtml, isRelevantForQuery
public CreatorSearchRenderer(String nameKey, VelocityRequestContextFactory velocityRequestContextFactory, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, UserSearchService searchService, UserManager userManager, PermissionManager permissionManager, FieldVisibilityManager fieldVisibilityManager)
protected List<Map<String,String>> getSelectedListOptions(ApplicationUser searcher)
getSelectedListOptions
in class AbstractUserSearchRenderer
searcher
- performing the action.protected String getEmptyValueKey()
getEmptyValueKey
in class AbstractUserSearchRenderer
public boolean isShown(ApplicationUser user, SearchContext searchContext)
SearchRenderer
isShown
in interface SearchRenderer
user
- performing this action.searchContext
- the context of the search (i.e. projects and issue types selected).Copyright © 2002-2021 Atlassian. All Rights Reserved.