java.lang.Object
de.hybris.platform.ycommercewebservices.v2.controller.BaseController
de.hybris.platform.ycommercewebservices.v2.controller.StoresController

@Controller @RequestMapping("/{baseSiteId}/stores") public class StoresController extends BaseController
  • Constructor Details

    • StoresController

      public StoresController()
  • Method Details

    • getStoreLocations

      @RequestMapping(method=GET) @ResponseBody public StoreFinderSearchPageWsDTO getStoreLocations(@RequestParam(required=false) String query, @RequestParam(required=false) Double latitude, @RequestParam(required=false) Double longitude, @RequestParam(defaultValue="0") int currentPage, @RequestParam(defaultValue="20") int pageSize, @RequestParam(defaultValue="asc") String sort, @RequestParam(defaultValue="100000.0") double radius, @RequestParam(defaultValue="0.0") double accuracy, @RequestParam(defaultValue="DEFAULT") String fields, javax.servlet.http.HttpServletResponse response)
    • getStoresByCountry

      @RequestMapping(value="/country/{countryIso}", method=GET) @ResponseBody public PointOfServiceListWsDTO getStoresByCountry(@PathVariable String countryIso, @RequestParam(defaultValue="DEFAULT") String fields)
    • getStoresByCountryAndRegion

      @RequestMapping(value="/country/{countryIso}/region/{regionIso}", method=GET) @ResponseBody public PointOfServiceListWsDTO getStoresByCountryAndRegion(@PathVariable String countryIso, @PathVariable String regionIso, @RequestParam(defaultValue="DEFAULT") String fields)
    • countStoreLocations

      @RequestMapping(method=HEAD) public void countStoreLocations(@RequestParam(required=false) String query, @RequestParam(required=false) Double latitude, @RequestParam(required=false) Double longitude, @RequestParam(defaultValue="100000.0") double radius, @RequestParam(defaultValue="0.0") double accuracy, javax.servlet.http.HttpServletResponse response)
    • getStoreLocation

      @RequestMapping(value="/{storeId}", method=GET) @ResponseBody public PointOfServiceWsDTO getStoreLocation(@PathVariable String storeId, @RequestParam(defaultValue="DEFAULT") String fields)
    • getLocationCounts

      @RequestMapping(value="/storescounts", method=GET) @ResponseBody public StoreCountListWsDTO getLocationCounts()