public class UserClauseValuesGenerator extends Object implements ClauseValuesGenerator
ClauseValuesGenerator.Result, ClauseValuesGenerator.Results
Constructor and Description |
---|
UserClauseValuesGenerator(UserPickerSearchService userPickerSearchService)
Deprecated.
since 6.4.9
|
UserClauseValuesGenerator(UserPickerSearchService userPickerSearchService,
EmailFormatter emailFormatter) |
Modifier and Type | Method and Description |
---|---|
ClauseValuesGenerator.Results |
getPossibleValues(com.atlassian.crowd.embedded.api.User 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.
|
@Deprecated public UserClauseValuesGenerator(UserPickerSearchService userPickerSearchService)
public UserClauseValuesGenerator(UserPickerSearchService userPickerSearchService, EmailFormatter emailFormatter)
public ClauseValuesGenerator.Results getPossibleValues(com.atlassian.crowd.embedded.api.User searcher, String jqlClauseName, String valuePrefix, int maxNumResults)
ClauseValuesGenerator
getPossibleValues
in interface ClauseValuesGenerator
searcher
- 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.Copyright © 2002-2016 Atlassian. All Rights Reserved.