protected SearchQueryMetaData buildSearchQuery(ValidationResult converted, String search) { SearchQueryBuilder builder = new SearchQueryBuilder(search); buildSearchParams(search, converted, builder); // buildSqlFragmentParam(form, builder); buildResultParams(search, builder); // buildOrderParams(form, builder); return builder.getSearchQuery(); }
private void buildResultParams(String search, SearchQueryBuilder builder) { SearchEngine se = SearchEngine.getInstance(); SearchMetaData smd = se.getSearch(search); builder.buildResultParams(smd.getSelectedResultParameterNames()); }