ifs-data-layer/ifs-data-service/src/main/java/org/innovateuk/ifs/organisation/transactional/CompaniesHouseApiServiceImpl.java
/**
     * Method to build the query variable map. The keys in the map must match the
     * keys defined in the URL path 'COMPANIES_HOUSE_SEARCH_PATH'.
     * @param searchWord
     * @return {@link Map}
     */
Method to build the query variable map. The keys in the map must match the
keys defined in the URL path 'COMPANIES_HOUSE_SEARCH_PATH'.
@param searchWord
@return  Map
Method to build the query variable map . The keys in the map must match the keys defined in the URL path ' COMPANIES_HOUSE_SEARCH_PATH ' . @param searchWord @return Map
private Map<String, Object> companySearchUrlVariables(String searchWord) {
        Map<String, Object> variables = new HashMap<>();
        variables.put(ITEMS_PER_PAGE_KEY, SEARCH_ITEMS_MAX);
        variables.put(SEARCH_WORD_KEY, searchWord);
        return variables;
    }
private Map < String , Object > companySearchUrlVariables ( String searchWord ) { Map < String , Object > variables = new HashMap < > ( ) ; variables . put ( ITEMS_PER_PAGE_KEY , SEARCH_ITEMS_MAX ) ; variables . put ( SEARCH_WORD_KEY , searchWord ) ; return variables ; }
Method to build the query variable map.
Method to build the query variable map .