com.atlassian.jira.bc.group.search
Class GroupPickerSearchServiceImpl
java.lang.Object
com.atlassian.jira.bc.group.search.GroupPickerSearchServiceImpl
- All Implemented Interfaces:
- GroupPickerSearchService
public class GroupPickerSearchServiceImpl
- extends Object
- implements GroupPickerSearchService
UserManager
based implementation of GroupPickerSearchService
- Since:
- v4.4
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupPickerSearchServiceImpl
public GroupPickerSearchServiceImpl(UserManager userManager)
findGroups
public List<com.atlassian.crowd.embedded.api.Group> findGroups(String query)
- Description copied from interface:
GroupPickerSearchService
- Get groups based on a query string. Will be unique and sorted.
Results are sorted according to the
GroupComparator
.
- Specified by:
findGroups
in interface GroupPickerSearchService
- Parameters:
query
- String to search for.
- Returns:
- List of
Group
objects that match criteria. - See Also:
GroupPickerSearchService.findGroups(String)
getGroupByName
public com.atlassian.crowd.embedded.api.Group getGroupByName(String groupName)
- Description copied from interface:
GroupPickerSearchService
- Returns a group by name.
- Specified by:
getGroupByName
in interface GroupPickerSearchService
- Parameters:
groupName
- The group name
- Returns:
- The group (if any)
Copyright © 2002-2013 Atlassian. All Rights Reserved.