public class SearchAutoCompleteResource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SearchAutoCompleteResource.AutoCompleteResultBean |
static class |
SearchAutoCompleteResource.AutoCompleteResultWrapper |
Modifier and Type | Field and Description |
---|---|
static String |
DOC_EXAMPLE |
static org.slf4j.Logger |
log |
static SearchAutoCompleteResource.AutoCompleteResultWrapper |
SUGGESTIONS_DOC_EXAMPLE |
Constructor and Description |
---|
SearchAutoCompleteResource(AutoCompleteJsonGenerator autoCompleteJsonGenerator,
JiraAuthenticationContext authContext,
I18nHelper i18n,
FieldAndPredicateAutoCompleteResultGenerator fieldAndPredicateAutoCompleteResultGenerator,
LastJqlFieldsService lastJqlFieldsService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getAutoComplete()
Returns the auto complete data required for JQL searches.
|
javax.ws.rs.core.Response |
getFieldAutoCompleteForQueryString(String fieldName,
String fieldValue,
String predicateName,
String predicateValue)
Returns auto complete suggestions for JQL search.
|
public static final org.slf4j.Logger log
public static final String DOC_EXAMPLE
public static final SearchAutoCompleteResource.AutoCompleteResultWrapper SUGGESTIONS_DOC_EXAMPLE
public SearchAutoCompleteResource(AutoCompleteJsonGenerator autoCompleteJsonGenerator, JiraAuthenticationContext authContext, I18nHelper i18n, FieldAndPredicateAutoCompleteResultGenerator fieldAndPredicateAutoCompleteResultGenerator, LastJqlFieldsService lastJqlFieldsService)
public javax.ws.rs.core.Response getAutoComplete()
public javax.ws.rs.core.Response getFieldAutoCompleteForQueryString(String fieldName, String fieldValue, String predicateName, String predicateValue)
fieldName
- the field name for which the suggestions are generated.fieldValue
- the portion of the field value that has already been provided by the user.predicateName
- the predicate for which the suggestions are generated. Suggestions are generated only for: "by", "from" and "to".predicateValue
- the portion of the predicate value that has already been provided by the user.AutoCompleteResource.AutoCompleteResultBean
's containing the matching autocomplete valuesCopyright © 2002-2017 Atlassian. All Rights Reserved.