@Name(value="suggestboxActions") @Scope(value=CONVERSATION) public class SuggestboxActions extends DocumentContextBoundActionBean implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Cached<List<Suggestion>> |
cachedSuggestions |
protected ContentViewActions |
contentViewActions |
protected CoreSession |
documentManager |
protected Locale |
locale |
protected Map<String,String> |
messages |
protected MultiNavTreeManager |
multiNavTreeManager |
protected NavigationContext |
navigationContext |
protected String |
searchKeywords |
protected String |
suggesterGroup |
Constructor and Description |
---|
SuggestboxActions() |
Modifier and Type | Method and Description |
---|---|
String |
getSearchKeywords() |
String |
getSuggesterGroup() |
protected SuggestionContext |
getSuggestionContext() |
List<Suggestion> |
getSuggestions(Object input)
Callback for the ajax keypress event that triggers the generation of context sensitive action suggestions.
|
protected void |
resetBeanCache(DocumentModel newCurrentDocumentModel) |
void |
setSearchKeywords(String searchKeywords) |
void |
setSuggesterGroup(String suggesterGroup) |
getCurrentDocument, onContextChange
@In(create=true, required=false) protected transient CoreSession documentManager
@In(create=true) protected transient NavigationContext navigationContext
@In(create=true) protected MultiNavTreeManager multiNavTreeManager
@In(create=true) protected ContentViewActions contentViewActions
protected Cached<List<Suggestion>> cachedSuggestions
protected String searchKeywords
protected String suggesterGroup
public SuggestboxActions()
public String getSearchKeywords()
public void setSearchKeywords(String searchKeywords)
public String getSuggesterGroup()
@RequestParameter public void setSuggesterGroup(String suggesterGroup)
protected SuggestionContext getSuggestionContext()
public List<Suggestion> getSuggestions(Object input)
protected void resetBeanCache(DocumentModel newCurrentDocumentModel)
resetBeanCache
in class DocumentContextBoundActionBean
Copyright © 2016 Nuxeo SA. All rights reserved.