public class GroupValuesGenerator extends Object implements ClauseValuesGenerator
ClauseValuesGenerator.Result, ClauseValuesGenerator.Results| Constructor and Description |
|---|
GroupValuesGenerator(GroupManager groupManager) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<com.atlassian.crowd.embedded.api.Group> |
getAllGroups() |
ClauseValuesGenerator.Results |
getPossibleValues(ApplicationUser searcher,
String jqlClauseName,
String valuePrefix,
int maxNumResults)
Will return a string representation of only the possible values that match the value prefix for this clause.
|
public GroupValuesGenerator(GroupManager groupManager)
public ClauseValuesGenerator.Results getPossibleValues(ApplicationUser searcher, String jqlClauseName, String valuePrefix, int maxNumResults)
ClauseValuesGeneratorgetPossibleValues in interface ClauseValuesGeneratorsearcher - the user preforming the search.jqlClauseName - the jql clause name that was entered by the user, represents the identifier that was used
to find this values generator. Note: for custom fields this can be used to identify the custom field we are
dealing with.valuePrefix - the portion of the value that has already been provided by the user.maxNumResults - the maximun number of results to return.protected Collection<com.atlassian.crowd.embedded.api.Group> getAllGroups()
Copyright © 2002-2015 Atlassian. All Rights Reserved.