@Component public class GroupPickerResourceHelperImpl extends Object implements GroupPickerResourceHelper
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_RESULTS |
static String |
MORE_GROUP_RESULTS_I18N_KEY |
Constructor and Description |
---|
GroupPickerResourceHelperImpl(GroupPickerSearchService service,
JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties,
PermissionManager permissionManager,
GroupLabelsService groupLabels,
ApplicationRoleManager roleManager,
UserManager userManager) |
Modifier and Type | Method and Description |
---|---|
GroupSuggestionsBean |
findGroupsAsBean(String query,
List<String> excludeGroups,
Integer maxResults,
String userName)
Gets group search results as a bean
|
public static final String MORE_GROUP_RESULTS_I18N_KEY
public static final int DEFAULT_MAX_RESULTS
@Autowired public GroupPickerResourceHelperImpl(GroupPickerSearchService service, JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, PermissionManager permissionManager, GroupLabelsService groupLabels, ApplicationRoleManager roleManager, UserManager userManager)
public GroupSuggestionsBean findGroupsAsBean(String query, List<String> excludeGroups, Integer maxResults, @Nullable String userName)
findGroupsAsBean
in interface GroupPickerResourceHelper
query
- - a String to match groups againstexcludeGroups
- - groups to exclude from searchuserName
- - optional user name, context for queryCopyright © 2002-2015 Atlassian. All Rights Reserved.