}
if (SUGGEST_VALUE_EVENT.equals(eventTypeParam)) {
new ValueSuggestionEvent(component, searchTermParam, facetParam).queue();
} else if (SUGGEST_FACET_EVENT.equals(eventTypeParam)) {
new FacetSuggestionEvent(component, searchTermParam).queue();
} else if (SEARCH_EVENT.equals(eventTypeParam)) {
final SearchEvent searchEvent = new SearchEvent(component);
searchEvent.setPhaseId(PhaseId.INVOKE_APPLICATION);
searchEvent.queue();
}