com.atlassian.jira.issue.search.searchers.renderer
Class AssigneeSearchRenderer
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.AssigneeSearchRenderer
- All Implemented Interfaces:
- SearchRenderer
public class AssigneeSearchRenderer
- extends AbstractUserSearchRenderer
- implements SearchRenderer
An search renderer for the assignee field.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssigneeSearchRenderer
public AssigneeSearchRenderer(String nameKey,
VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
com.atlassian.velocity.VelocityManager velocityManager,
UserPickerSearchService searchService,
FieldVisibilityManager fieldVisibilityManager)
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 searcher,
SearchContext searchContext)
- Returns true or false based on
fieldVisibilityManager
value. Returns false if field is hidden in all
schemes, true otherwise.
- Specified by:
isShown
in interface SearchRenderer
- Parameters:
searcher
- performing this action.searchContext
- search context
- Returns:
- false if hidden in all schemes, true otherwise
Copyright © 2002-2012 Atlassian. All Rights Reserved.