public class GroupPickerSearchServiceImpl extends Object implements GroupPickerSearchService
Constructor and Description |
---|
GroupPickerSearchServiceImpl(com.atlassian.crowd.embedded.api.CrowdService crowdService,
UserManager userManager) |
Modifier and Type | Method and Description |
---|---|
List<com.atlassian.crowd.embedded.api.Group> |
findGroups(String query)
Returns groups whose name case sensitively contains or case insensitively matches given query.
|
com.atlassian.crowd.embedded.api.Group |
getGroupByName(String groupName)
Returns a group by name.
|
public GroupPickerSearchServiceImpl(com.atlassian.crowd.embedded.api.CrowdService crowdService, UserManager userManager)
public List<com.atlassian.crowd.embedded.api.Group> findGroups(String query)
If query is null or blank all groups would be returned.
findGroups
in interface GroupPickerSearchService
query
- string to search forpublic com.atlassian.crowd.embedded.api.Group getGroupByName(String groupName)
GroupPickerSearchService
getGroupByName
in interface GroupPickerSearchService
groupName
- The group nameCopyright © 2002-2023 Atlassian. All Rights Reserved.