com.devepos.adt.codesearch.backend/src/com/devepos/adt/cst/internal/search/CodeSearchUriDiscovery.java
/**
   * Creates a valid REST resource URI for the Code Search from the given map of
   * parameter values
   *
   * @param parameterMap map of parameter key and their corresponding values
   * @return REST resource URI for Code Search
   */
Creates a valid REST resource URI for the Code Search from the given map of
parameter values

@param parameterMap map of parameter key and their corresponding values
@return REST resource URI for Code Search
Creates a valid REST resource URI for the Code Search from the given map of parameter values @param parameterMap map of parameter key and their corresponding values @return REST resource URI for Code Search
public URI createCodeSearchUriFromTemplate(final Map<String, Object> parameterMap) {
    final IAdtUriTemplate template = getCodeSearchTemplate();
    URI uri = null;
    if (template != null) {
      fillTemplateWithParams(template, parameterMap);
      uri = URI.create(template.expand());
    }
    return uri;
  }
public URI createCodeSearchUriFromTemplate ( final Map < String , Object > parameterMap ) { final IAdtUriTemplate template = getCodeSearchTemplate ( ) ; URI uri = null ; if ( template != null ) { fillTemplateWithParams ( template , parameterMap ) ; uri = URI . create ( template . expand ( ) ) ; } return uri ; }
Creates a valid REST resource URI for the Code Search from the given map of
 parameter values
Creates a valid REST resource URI for the Code Search from the given map of parameter values