Interface GroupPickerSearchService
- All Known Implementing Classes:
GroupPickerSearchServiceImpl
@PublicApi
public interface GroupPickerSearchService
Service that retrieves a collection of
Group objects based on a partial query string- Since:
- v4.4
-
Method Summary
Modifier and TypeMethodDescriptionList<com.atlassian.crowd.embedded.api.Group> findGroups(String query) Get groups based on a query string.com.atlassian.crowd.embedded.api.GroupgetGroupByName(String groupName) Returns a group by name.
-
Method Details
-
findGroups
Get groups based on a query string. Will be unique and sorted.Results are sorted according to the
GroupComparator.- Parameters:
query- String to search for.- Returns:
- List of
Groupobjects that match criteria.
-
getGroupByName
Returns a group by name.- Parameters:
groupName- The group name- Returns:
- The group (if any)
-