@Name(value="suggestboxActions") @Scope(value=CONVERSATION) public class SuggestboxActions extends DocumentContextBoundActionBean implements Serializable
| Constructor and Description | 
|---|
SuggestboxActions()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getSearchKeywords()  | 
String | 
getSuggesterGroup()  | 
List<Suggestion> | 
getSuggestions(Object input)
Callback for the ajax keypress event that triggers the generation of
 context sensitive action suggestions. 
 | 
Object | 
handleSelection(Suggestion selectedSuggestion)
Callback for the ajax selection of an item in the rich:suggestionbox
 list. 
 | 
Object | 
performKeywordsSearch(String suggesterName,
                     String suggesterGroup)
Action listener for the old-style search button. 
 | 
void | 
setSearchKeywords(String searchKeywords)  | 
void | 
setSuggesterGroup(String suggesterGroup)  | 
onContextChangepublic String getSearchKeywords()
public void setSearchKeywords(String searchKeywords)
public String getSuggesterGroup()
@RequestParameter public void setSuggesterGroup(String suggesterGroup)
public List<Suggestion> getSuggestions(Object input)
public Object handleSelection(Suggestion selectedSuggestion) throws SuggestionHandlingException
SuggestionHandlingExceptionpublic Object performKeywordsSearch(String suggesterName, String suggesterGroup) throws SuggestionException, SuggestionHandlingException
Copyright © 2014 Nuxeo SA. All Rights Reserved.