Examples of GatewayCategory


Examples of com.lgx8.gateway.entities.GatewayCategory

  }

  @Transactional
  public GatewayCategoryDetail updateGatewayCategoryDetail(
      Integer categoryId, Integer id, String layerOrder) {
    GatewayCategory category = gatewayCategoryDao.findGatewayCategoryById(categoryId);
    GatewayCategoryDetail detail = getHibernateTemplate().get(GatewayCategoryDetail.class, id);
    detail.setCategory(category);
    detail.setLayerOrder(layerOrder);
    getHibernateTemplate().update(detail);
    return detail;
View Full Code Here

Examples of com.lgx8.gateway.entities.GatewayCategory

    return getHibernateTemplate().get(GatewayCategory.class, id);
  }

  public String getGatewayCategoryFullName(Integer id) {
    String name = "";
    GatewayCategory cate = this.findGatewayCategoryById(id);
    name = cate.getName();
    if(cate.getParent() != null)
    {
      GatewayCategory pcate = cate.getParent();
      name = getGatewayCategoryFullName(pcate.getId()) + "->" + name;
    }
    return name;
  }
View Full Code Here

Examples of com.lgx8.gateway.entities.GatewayCategory

      categoryId = "0";
    }else
    {
      Template temp = getConfiguration().getTemplate("listGatewayCategoryDetail.ftl");
     
      GatewayCategory category = gatewayService.findGatewayCategoryById(Integer.parseInt(categoryId));
     
      root.put("category", category);
     
      List<GatewayCategoryDetail> details = gatewayService.findGatewayCategoryDetailByCategoryId(Integer.parseInt(categoryId));
     
View Full Code Here

Examples of com.lgx8.gateway.entities.GatewayCategory

    String entityName = request.getParameter("entityName");
    String url = request.getParameter("url");
    String layerOrder = request.getParameter("layerOrder");
    if((!"".equals(categoryType)&&categoryType != null) &&("".equals(id)||id == null) && categoryId != null)
    {
      GatewayCategory category = gatewayService.findGatewayCategoryById(Integer.parseInt(categoryId));
     
      if("".equals(areaNode)|| areaNode == null || "null".equals(areaNode))
      {
        areaNode = "";
      }
View Full Code Here

Examples of com.lgx8.gateway.entities.GatewayCategory

   
    ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(this.getServletContext());
    IGatewayService gatewayService = (IGatewayService) ac.getBean("gatewayService");
   
    //良品分类
    GatewayCategory gatewayCategory = gatewayService.findGatewayCategoryById(GatewayConstants.CLP_LPFL);
    root.put("gatewayCategory", gatewayCategory);
   
    //良品分类
    List<ProductVO> productVOs1 = gatewayService.initGatewayInfo(GatewayConstants.CLP_LPFL);
    root.put("productVOs1", productVOs1);
View Full Code Here

Examples of com.lgx8.gateway.entities.GatewayCategory

    Template temp = getConfiguration().getTemplate("cityproduct.ftl");
   
    ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(this.getServletContext());
    IGatewayService gatewayService = (IGatewayService) ac.getBean("gatewayService");
   
    GatewayCategory gatewayCategory = gatewayService.findGatewayCategoryById(GatewayConstants.CID_GXTC);
    if(gatewayCategory != null)
    {
      root.put("gatewayCategory", gatewayCategory);
    }
   
View Full Code Here

Examples of com.lgx8.gateway.entities.GatewayCategory

    Template temp = getConfiguration().getTemplate("adviselist.ftl");
   
    ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(this.getServletContext());
    IGatewayService gatewayService = (IGatewayService) ac.getBean("gatewayService");
   
    GatewayCategory gatewayCategory = gatewayService.findGatewayCategoryById(GatewayConstants.CMP_MPLB);
    root.put("gatewayCategory", gatewayCategory);
   
    //名品列表
//    List<ProductVO> productVOs1 = gatewayService.initGatewayInfo(GatewayConstants.CMP_MPLB);
//    root.put("productVOs1", productVOs1);
View Full Code Here

Examples of com.lgx8.gateway.entities.GatewayCategory

    Template temp = getConfiguration().getTemplate("excellentproduct.ftl");
   
    ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(this.getServletContext());
    IGatewayService gatewayService = (IGatewayService) ac.getBean("gatewayService");
   
    GatewayCategory gatewayCategory = gatewayService.findGatewayCategoryById(GatewayConstants.CID_GXYP);
    if(gatewayCategory != null)
    {
      root.put("gatewayCategory", gatewayCategory);
    }
   
View Full Code Here

Examples of com.lgx8.gateway.entities.GatewayCategory

   
    ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(this.getServletContext());
    IGatewayService gatewayService = (IGatewayService) ac.getBean("gatewayService");
    IDictionaryDao dictionaryDao = (IDictionaryDao) ac.getBean("dictionaryDao");
   
    GatewayCategory gatewayCategory = gatewayService.findGatewayCategoryById(GatewayConstants.CTC_TCSJ);
    root.put("gatewayCategory", gatewayCategory);
   
    //同城商家类型
    List<ProductVO> productVOs = gatewayService.initGatewayInfo(GatewayConstants.CTC_TCSJLX);
    root.put("productVOs", productVOs);
View Full Code Here

Examples of com.lgx8.gateway.entities.GatewayCategory

    Template temp = getConfiguration().getTemplate("goodproduct.ftl");
   
    ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(this.getServletContext());
    IGatewayService gatewayService = (IGatewayService) ac.getBean("gatewayService");
   
    GatewayCategory gatewayCategory = gatewayService.findGatewayCategoryById(GatewayConstants.CID_GXLP);
    if(gatewayCategory != null)
    {
      root.put("gatewayCategory", gatewayCategory);
    }
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.