Class GroupPickerResourceHelperImpl
java.lang.Object
com.atlassian.jira.rest.v2.issue.groups.GroupPickerResourceHelperImpl
- All Implemented Interfaces:
GroupPickerResourceHelper
@Component
public class GroupPickerResourceHelperImpl
extends Object
implements GroupPickerResourceHelper
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGroupPickerResourceHelperImpl(GroupPickerSearchService service, JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, PermissionManager permissionManager, GroupLabelsService groupLabels, ApplicationRoleManager roleManager, UserManager userManager) -
Method Summary
Modifier and TypeMethodDescriptionGets group search results as a bean
-
Field Details
-
MORE_GROUP_RESULTS_I18N_KEY
- See Also:
-
DEFAULT_MAX_RESULTS
public static final int DEFAULT_MAX_RESULTS- See Also:
-
-
Constructor Details
-
GroupPickerResourceHelperImpl
@Autowired public GroupPickerResourceHelperImpl(GroupPickerSearchService service, JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, PermissionManager permissionManager, GroupLabelsService groupLabels, ApplicationRoleManager roleManager, UserManager userManager)
-
-
Method Details
-
findGroupsAsBean
public GroupSuggestionsBean findGroupsAsBean(String query, List<String> excludeGroups, Integer maxResults, @Nullable String userName) Gets group search results as a bean- Specified by:
findGroupsAsBeanin interfaceGroupPickerResourceHelper- Parameters:
query- - a String to match groups againstexcludeGroups- - groups to exclude from searchuserName- - optional user name, context for query- Returns:
- bean that represents the search results with meta data
-