com.atlassian.jira.bc.user.search
Interface UserGroupsPickerSearchService

All Superinterfaces:
com.atlassian.jira.bc.user.search.UserPickerSearchService
All Known Implementing Classes:
DefaultUserGroupsPickerSearchService

public interface UserGroupsPickerSearchService
extends com.atlassian.jira.bc.user.search.UserPickerSearchService

FQCN : com.atlassian.jira.bc.user.search.UserGroupsPickerSearchService

Since:
3.x.1.28 Description : Defines an Interface for a Service of User Picker depending on a Groups Name List
Author:
Kaamelot

Method Summary
 java.util.Collection getResults(com.atlassian.jira.bc.JiraServiceContext jiraServiceContext, java.lang.String groupNames, java.lang.String query)
          Get Users based on a query string.
 
Methods inherited from interface com.atlassian.jira.bc.user.search.UserPickerSearchService
canPerformAjaxSearch, canShowEmailAddresses, getResults, isAjaxSearchEnabled
 

Method Detail

getResults

java.util.Collection getResults(com.atlassian.jira.bc.JiraServiceContext jiraServiceContext,
                                java.lang.String groupNames,
                                java.lang.String query)
Get Users based on a query string. Matches on the start of username, Each word in Full Name & email

Parameters:
jiraServiceContext - Jira Service Context
groupNames - Comma-separated List of Groups Name
query - String to search for.
Returns:
Collection of User objects that match criteria.


Copyright © 2007-2008 Kaamelot Plugins. All Rights Reserved.