@Component public class

GroupPickerResourceHelperImpl

extends Object
implements GroupPickerResourceHelper
java.lang.Object
   ↳ com.atlassian.jira.rest.v2.issue.groups.GroupPickerResourceHelperImpl

Summary

Constants
int DEFAULT_MAX_RESULTS
String MORE_GROUP_RESULTS_I18N_KEY
Public Constructors
@Autowired GroupPickerResourceHelperImpl(GroupPickerSearchService service, JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, PermissionManager permissionManager, GroupLabelsService groupLabels, ApplicationRoleManager roleManager, UserManager userManager)
Public Methods
GroupSuggestionsBean findGroupsAsBean(String query, List<String> excludeGroups, Integer maxResults, String userName)
Gets group search results as a bean
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.rest.v2.issue.groups.GroupPickerResourceHelper

Constants

public static final int DEFAULT_MAX_RESULTS

Constant Value: 20 (0x00000014)

public static final String MORE_GROUP_RESULTS_I18N_KEY

Constant Value: "jira.ajax.autocomplete.group.more.results"

Public Constructors

@Autowired public GroupPickerResourceHelperImpl (GroupPickerSearchService service, JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, PermissionManager permissionManager, GroupLabelsService groupLabels, ApplicationRoleManager roleManager, UserManager userManager)

Public Methods

public GroupSuggestionsBean findGroupsAsBean (String query, List<String> excludeGroups, Integer maxResults, String userName)

Gets group search results as a bean

Parameters
query - a String to match groups against
excludeGroups - groups to exclude from search
userName - optional user name, context for query
Returns
  • bean that represents the search results with meta data