Class StoresController


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

      • StoresController

        public StoresController()
    • Method Detail

      • getStoreLocations

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

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

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

        @RequestMapping(method=HEAD)
        public void countStoreLocations​(@RequestParam(required=false)
                                        java.lang.String query,
                                        @RequestParam(required=false)
                                        java.lang.Double latitude,
                                        @RequestParam(required=false)
                                        java.lang.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
                                                    java.lang.String storeId,
                                                    @RequestParam(defaultValue="DEFAULT")
                                                    java.lang.String fields)
      • getLocationCounts

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