@Controller @RequestMapping("/**/store") public class StorePageController extends AbstractPageController
  • Constructor Details

    • StorePageController

      public StorePageController()
  • Method Details

    • getGoogleApiVersion

      @ModelAttribute("googleApiVersion") public String getGoogleApiVersion()
    • getGoogleApiKey

      @ModelAttribute("googleApiKey") public String getGoogleApiKey(javax.servlet.http.HttpServletRequest request)
    • storeDetail

      @RequestMapping(value="/{storeCode:.*}", method=GET) public String storeDetail(@PathVariable("storeCode") String storeCode, @RequestParam(value="lat",required=false) Double sourceLatitude, @RequestParam(value="long",required=false) Double sourceLongitude, @RequestParam(value="q",required=false) String locationQuery, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException
      Throws:
      CMSItemNotFoundException
    • logDebugInfo

      protected void logDebugInfo(UnsupportedEncodingException e)
    • processLocation

      protected void processLocation(@RequestParam(value="lat",required=false) Double sourceLatitude, @RequestParam(value="long",required=false) Double sourceLongitude, @RequestParam(value="q",required=false) String locationQuery, org.springframework.ui.Model model, PointOfServiceData pointOfServiceData) throws UnsupportedEncodingException
      Throws:
      UnsupportedEncodingException
    • setUpMetaData

      protected void setUpMetaData(org.springframework.ui.Model model, PointOfServiceData pointOfServiceData)
    • viewMap

      @RequestMapping(value="/{storeCode:.*}/map", method=GET) public String viewMap(@PathVariable("storeCode") String storeCode, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel) throws CMSItemNotFoundException
      Throws:
      CMSItemNotFoundException
    • handleStoreNotFoundCase

      protected String handleStoreNotFoundCase(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)
    • getStoreFinderPage

      protected AbstractPageModel getStoreFinderPage() throws CMSItemNotFoundException
      Throws:
      CMSItemNotFoundException
    • createMetaKeywords

      protected String createMetaKeywords(PointOfServiceData pointOfServiceData)