private SavedSearchManagerLocal savedSearchManager = LookupUtil.getSavedSearchManager();
public List<SearchSuggestion> getTabAwareSuggestions(SearchSubsystem searchSubsystem, String expression,
int caretPosition, String tab) throws RuntimeException {
try {
SearchAssistManager searchAssistManager = new SearchAssistManager(getSessionSubject(), searchSubsystem);
List<SearchSuggestion> results = searchAssistManager.getTabAwareSuggestions(expression, caretPosition, tab);
return results;
} catch (Throwable t) {
throw getExceptionToThrowToClient(t);
}
}