예제 #1
0
 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();
 }
예제 #2
0
  private void buildResultParams(String search, SearchQueryBuilder builder) {
    SearchEngine se = SearchEngine.getInstance();
    SearchMetaData smd = se.getSearch(search);

    builder.buildResultParams(smd.getSelectedResultParameterNames());
  }