Package org.hoteia.qalingo.core.web.servlet

Examples of org.hoteia.qalingo.core.web.servlet.ModelAndViewThemeDevice


@Controller("customerController")
public class CustomerController extends AbstractReportingBackofficeController {

  @RequestMapping(value = BoUrls.CUSTOMER_LIST_URL, method = RequestMethod.GET)
  public ModelAndView customerList(final HttpServletRequest request, final HttpServletResponse response) throws Exception {
    ModelAndViewThemeDevice modelAndView = new ModelAndViewThemeDevice(getCurrentVelocityPath(request), BoUrls.CUSTOMER_LIST.getVelocityPage());
       
   
        return modelAndView;
  }
View Full Code Here


@Controller("ruleController")
public class RuleController extends AbstractReportingBackofficeController {

  @RequestMapping(value = BoUrls.RULE_LIST_URL, method = RequestMethod.GET)
  public ModelAndView promotion(final HttpServletRequest request, final HttpServletResponse response) throws Exception {
    ModelAndViewThemeDevice modelAndView = new ModelAndViewThemeDevice(getCurrentVelocityPath(request), BoUrls.RULE_LIST.getVelocityPage());
        final RequestData requestData = requestUtil.getRequestData(request);
   
        return modelAndView;
  }
View Full Code Here

@Controller("reportingController")
public class ReportingController extends AbstractReportingBackofficeController {

  @RequestMapping(value = BoUrls.REPORTING_URL, method = RequestMethod.GET)
  public ModelAndView reporting(final HttpServletRequest request, final HttpServletResponse response) throws Exception {
    ModelAndViewThemeDevice modelAndView = new ModelAndViewThemeDevice(getCurrentVelocityPath(request), BoUrls.REPORTING.getVelocityPage());
   
        return modelAndView;
  }
View Full Code Here

@Controller("searchController")
public class SearchController extends AbstractReportingBackofficeController {

  @RequestMapping(BoUrls.SEARCH_URL)
  public ModelAndView search(final HttpServletRequest request, final HttpServletResponse response) throws Exception {
    ModelAndViewThemeDevice modelAndView = new ModelAndViewThemeDevice(getCurrentVelocityPath(request), BoUrls.SEARCH.getVelocityPage());
   
        return modelAndView;
  }
View Full Code Here

@Controller("homeController")
public class HomeController extends AbstractReportingBackofficeController {

  @RequestMapping(BoUrls.HOME_URL)
  public ModelAndView displayHome(final HttpServletRequest request, final Model model) throws Exception {
    ModelAndViewThemeDevice modelAndView = new ModelAndViewThemeDevice(getCurrentVelocityPath(request), BoUrls.HOME.getVelocityPage());
       
        return modelAndView;
  }
View Full Code Here

@Controller("orderController")
public class OrderController extends AbstractReportingBackofficeController {

  @RequestMapping(value = BoUrls.ORDER_LIST_URL, method = RequestMethod.GET)
  public ModelAndView orderList(final HttpServletRequest request, final HttpServletResponse response) throws Exception {
    ModelAndViewThemeDevice modelAndView = new ModelAndViewThemeDevice(getCurrentVelocityPath(request), BoUrls.ORDER_LIST.getVelocityPage());
       
   
        return modelAndView;
  }
View Full Code Here

@Controller("catalogController")
public class CatalogController extends AbstractReportingBackofficeController {

  @RequestMapping(value = BoUrls.CATALOG_URL, method = RequestMethod.GET)
  public ModelAndView catalog(final HttpServletRequest request, final HttpServletResponse response) throws Exception {
    ModelAndViewThemeDevice modelAndView = new ModelAndViewThemeDevice(getCurrentVelocityPath(request), BoUrls.CATALOG.getVelocityPage());
       
        return modelAndView;
  }
View Full Code Here

@Controller("deliveryMethodController")
public class DeliveryMethodController extends AbstractReportingBackofficeController {

  @RequestMapping(value = BoUrls.DELIVERY_METHOD_LIST_URL, method = RequestMethod.GET)
  public ModelAndView shipping(final HttpServletRequest request, final HttpServletResponse response) throws Exception {
    ModelAndViewThemeDevice modelAndView = new ModelAndViewThemeDevice(getCurrentVelocityPath(request), BoUrls.DELIVERY_METHOD_LIST.getVelocityPage());
       
        return modelAndView;
  }
View Full Code Here

    @Autowired
    protected GeolocService geolocService;
   
  @RequestMapping(FoUrls.PREHOME_URL)
  public ModelAndView displayHome(final HttpServletRequest request, final Model model) throws Exception {
    ModelAndViewThemeDevice modelAndView = new ModelAndViewThemeDevice(getCurrentVelocityPath(request), FoUrls.PREHOME.getVelocityPage());

    final String remoteAddress = requestUtil.getRemoteAddr(request);
        model.addAttribute(ModelConstants.GEOLOC_REMOTE_ADDRESS, remoteAddress);
       
    final Country country = geolocService.geolocAndGetCountry(remoteAddress);
View Full Code Here

@Controller("homeController")
public class HomeController extends AbstractTechnicalBackofficeController {

  @RequestMapping(BoUrls.HOME_URL)
  public ModelAndView displayHome(final HttpServletRequest request, final Model model) throws Exception {
    ModelAndViewThemeDevice modelAndView = new ModelAndViewThemeDevice(getCurrentVelocityPath(request), BoUrls.HOME.getVelocityPage());
       
        return modelAndView;
  }
View Full Code Here

TOP

Related Classes of org.hoteia.qalingo.core.web.servlet.ModelAndViewThemeDevice

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.