Ejemplo n.º 1
0
  private void buildSearchParams(
      String search, ValidationResult validationResult, SearchQueryBuilder builder) {

    SearchEngine se = SearchEngine.getInstance();
    SearchMetaData smd = se.getSearch(search);
    List spmds = smd.getSearchParameters();

    for (Iterator it = spmds.iterator(); it.hasNext(); ) {
      SearchParameterMetaData spmd = (SearchParameterMetaData) it.next();
      ContainerMetaData cmd = spmd.getContainer();
    }
  }
Ejemplo n.º 2
0
  private void buildResultParams(String search, SearchQueryBuilder builder) {
    SearchEngine se = SearchEngine.getInstance();
    SearchMetaData smd = se.getSearch(search);

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