public class UserPickerGroupCustomFieldRenderer extends AbstractUserSearchRenderer implements SearchRenderer
permissionManager, SELECT_LIST_GROUP, SELECT_LIST_NONE, SELECT_LIST_USER, userSearcherHelperEDIT_TEMPLATE_SUFFIX, VIEW_TEMPLATE_SUFFIX| Constructor and Description |
|---|
UserPickerGroupCustomFieldRenderer(CustomField field,
UserFieldSearchConstants searchConstants,
String nameKey,
VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
VelocityTemplatingEngine templatingEngine,
UserSearchService searchService,
FieldVisibilityManager fieldVisibilityManager,
UserManager userManager,
PermissionManager permissionManager,
UserFilterManager userFilterManager) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
addUserGroupSuggestionParams(FieldValuesHolder fieldValuesHolder,
ApplicationUser user,
SearchContext searchContext,
List<String> selectedUsers)
add user and group suggestions into parameters.
|
protected String |
getEmptyValueKey() |
protected List<Map<String,String>> |
getSelectedListOptions(ApplicationUser searcher)
Returns a list of select box options
|
protected Map<String,Object> |
getVelocityParams(ApplicationUser searcher,
SearchContext searchContext,
FieldLayoutItem fieldLayoutItem,
FieldValuesHolder fieldValuesHolder,
Map displayParameters,
webwork.action.Action action) |
boolean |
isShown(ApplicationUser user,
SearchContext searchContext)
Checks if the searcher should be shown in this context on the Issue Navigator.
|
getEditHtml, getTextForuser, getViewHtml, isRelevantForQuerygetI18n, isRelevantForQuery, renderEditTemplate, renderViewTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEditHtml, getViewHtml, isRelevantForQuerypublic UserPickerGroupCustomFieldRenderer(CustomField field, UserFieldSearchConstants searchConstants, String nameKey, VelocityRequestContextFactory velocityRequestContextFactory, ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, UserSearchService searchService, FieldVisibilityManager fieldVisibilityManager, UserManager userManager, PermissionManager permissionManager, UserFilterManager userFilterManager)
public boolean isShown(ApplicationUser user, SearchContext searchContext)
SearchRendererisShown in interface SearchRendereruser - performing this action.searchContext - the context of the search (i.e. projects and issue types selected).protected List<Map<String,String>> getSelectedListOptions(ApplicationUser searcher)
getSelectedListOptions in class AbstractUserSearchRenderersearcher - performing this action.protected Map<String,Object> getVelocityParams(ApplicationUser searcher, SearchContext searchContext, FieldLayoutItem fieldLayoutItem, FieldValuesHolder fieldValuesHolder, Map displayParameters, webwork.action.Action action)
getVelocityParams in class AbstractUserSearchRendererprotected Map<String,Object> addUserGroupSuggestionParams(FieldValuesHolder fieldValuesHolder, ApplicationUser user, SearchContext searchContext, List<String> selectedUsers)
AbstractUserSearchRendereraddUserGroupSuggestionParams in class AbstractUserSearchRendererselectedUsers - recently selected usersprotected String getEmptyValueKey()
getEmptyValueKey in class AbstractUserSearchRendererCopyright © 2002-2015 Atlassian. All Rights Reserved.