public class AssigneeSearchRenderer extends AbstractUserSearchRenderer implements SearchRenderer
permissionManager, SELECT_LIST_GROUP, SELECT_LIST_NONE, SELECT_LIST_USER, userSearcherHelper
EDIT_TEMPLATE_SUFFIX, VIEW_TEMPLATE_SUFFIX
Constructor and Description |
---|
AssigneeSearchRenderer(String nameKey,
VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
VelocityTemplatingEngine templatingEngine,
UserSearchService searchService,
FieldVisibilityManager fieldVisibilityManager,
UserManager userManager,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
protected String |
getEmptyValueKey() |
protected List<Map<String,String>> |
getSelectedListOptions(ApplicationUser searcher) |
boolean |
isShown(ApplicationUser user,
SearchContext searchContext)
Returns true or false based on
fieldVisibilityManager value. |
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 AssigneeSearchRenderer(String nameKey, VelocityRequestContextFactory velocityRequestContextFactory, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, UserSearchService searchService, FieldVisibilityManager fieldVisibilityManager, UserManager userManager, PermissionManager permissionManager)
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)
fieldVisibilityManager
value. Returns false if field is hidden in all
schemes, true otherwise.isShown
in interface SearchRenderer
user
- performing this action.searchContext
- search contextCopyright © 2002-2024 Atlassian. All Rights Reserved.