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,
UserPickerSearchService searchService,
UserManager userManager,
PermissionManager permissionManager,
FieldVisibilityManager fieldVisibilityManager) |
Modifier and Type | Method and Description |
---|---|
protected String |
getEmptyValueKey() |
protected List<Map<String,String>> |
getSelectedListOptions(com.atlassian.crowd.embedded.api.User searcher) |
boolean |
isShown(com.atlassian.crowd.embedded.api.User 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, UserPickerSearchService searchService, UserManager userManager, PermissionManager permissionManager, FieldVisibilityManager fieldVisibilityManager)
protected List<Map<String,String>> getSelectedListOptions(com.atlassian.crowd.embedded.api.User searcher)
getSelectedListOptions
in class AbstractUserSearchRenderer
searcher
- performing the action.protected String getEmptyValueKey()
getEmptyValueKey
in class AbstractUserSearchRenderer
public boolean isShown(com.atlassian.crowd.embedded.api.User 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-2015 Atlassian. All Rights Reserved.