public class DocumentOrEntityLookupSuggester extends DocumentLookupSuggester
Constructor and Description |
---|
DocumentOrEntityLookupSuggester() |
Modifier and Type | Method and Description |
---|---|
List<Suggestion> |
suggest(String userInput,
SuggestionContext context)
Compute a list of possible user actions or intents given their input and
context.
|
initWithParameters
public List<Suggestion> suggest(String userInput, SuggestionContext context) throws SuggestionException
Suggester
suggest
in interface Suggester
suggest
in class DocumentLookupSuggester
userInput
- text typed by the usercontext
- user contextSuggestionException
- if the configuration or context are
inconsistent, or a backing service is failing.Copyright © 2013 Nuxeo SA. All Rights Reserved.