View Javadoc

1   package com.atlassian.jira.bc.user.search;
2   
3   import java.util.Collection;
4   
5   import com.atlassian.jira.bc.JiraServiceContext;
6   
7   /**
8    * FQCN : com.atlassian.jira.bc.user.search.UserGroupsPickerSearchService
9    * @author Kaamelot
10   * @since 3.x.1.28
11   * Description : Defines an Interface for a Service of User Picker depending on a Groups Name List
12   */
13  public interface UserGroupsPickerSearchService extends UserPickerSearchService {
14  
15     /**
16      * Get Users based on a query string.
17      * Matches on the start of username, Each word in Full Name & email
18      *
19      * @param jiraServiceContext Jira Service Context
20  	 * @param groupNames Comma-separated List of Groups Name 
21      * @param query              String to search for.
22      * @return Collection of {@link com.opensymphony.user.User} objects that match criteria.
23      */
24     public Collection /* User */ getResults(JiraServiceContext jiraServiceContext, String groupNames, String query);
25  
26  	
27  }