Class Overview
REST endpoint for searching groups in a group picker
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
Response
findGroups
(String query, List<String> excludeGroups, Integer maxResults)
Returns groups with substrings matching a given query. This is mainly for use with
the group picker, so the returned groups contain html to be used as picker suggestions.
The groups are also wrapped in a single response object that also contains a header for
use in the picker, specifically Showing X of Y matching groups.
The number of groups returned is limited by the system property "jira.ajax.autocomplete.limit"
The groups will be unique and sorted.
Parameters
| query
| a String to match groups agains |
Returns
- a collection of matching groups