public class GroupPickerSearchServiceImpl extends Object implements GroupPickerSearchService
UserManager
based implementation of GroupPickerSearchService
Constructor and Description |
---|
GroupPickerSearchServiceImpl(UserManager userManager) |
Modifier and Type | Method and Description |
---|---|
List<com.atlassian.crowd.embedded.api.Group> |
findGroups(String query)
Get groups based on a query string.
|
com.atlassian.crowd.embedded.api.Group |
getGroupByName(String groupName)
Returns a group by name.
|
public GroupPickerSearchServiceImpl(UserManager userManager)
public List<com.atlassian.crowd.embedded.api.Group> findGroups(String query)
GroupPickerSearchService
Results are sorted according to the GroupComparator
.
findGroups
in interface GroupPickerSearchService
query
- String to search for.Group
objects that match criteria.GroupPickerSearchService.findGroups(String)
public com.atlassian.crowd.embedded.api.Group getGroupByName(String groupName)
GroupPickerSearchService
getGroupByName
in interface GroupPickerSearchService
groupName
- The group nameCopyright © 2002-2022 Atlassian. All Rights Reserved.