@Controller @RequestMapping("/{baseSiteId}/countries") public class CountriesController extends BaseCommerceController
  • Constructor Details

    • CountriesController

      public CountriesController()
  • Method Details

    • getCountries

      @SecurePortalUnauthenticatedAccess @RequestMapping(method=GET) @Cacheable(value="countriesCache", key="T(de.hybris.platform.commercewebservicescommons.cache.CommerceCacheKeyGenerator).generateKey(false,false,\'getCountries\',#type,#fields)") @ResponseBody public CountryListWsDTO getCountries(@RequestParam(required=false) String type, @RequestParam(defaultValue="DEFAULT") String fields)
    • getCountryRegions

      @SecurePortalUnauthenticatedAccess @GetMapping("/{countyIsoCode}/regions") @ResponseStatus(OK) @ResponseBody @Cacheable(value="countriesCache", key="T(de.hybris.platform.commercewebservicescommons.cache.CommerceCacheKeyGenerator).generateKey(false,false,\'getRegionsForCountry\',#countyIsoCode,#fields)") public RegionListWsDTO getCountryRegions(@PathVariable String countyIsoCode, @RequestParam(defaultValue="DEFAULT") String fields)