Package pojo

Examples of pojo.MyInteger


    List<String[]> filters = new ArrayList<String[]>();
    for (int i = 0; i < types.length; i++) {
      filters.add(types[i].replace("*", "").split("\\|"));
    }

    MyInteger nPage = new MyInteger(0);
    boolean bSearch = false;
    if (page.equals("search")) {
      bSearch = true;
    }

    List<Product> listProduct = spDAO.findListProduct(id, bSearch, filters,
        block, trang, nPage);

    int soTrang = nPage.getValue();
    model.addAttribute("id", id);
    if (bSearch == true) {
      model.addAttribute("idSearch", id);
    }
    model.addAttribute("trang", trang);
View Full Code Here


    } else {
      bSearch = true;
    }
    String page = p;

    MyInteger nPage = new MyInteger(0);
    List<Product> listProduct = spDAO.findListProduct(id, bSearch,
        conditions, block, trang, nPage);

    int soTrang = nPage.getValue();

    String html = "";

    html += "<form name='frmSoSanPhamTrenTrang' section='products.do' method='get'>";
    html += "    <h3 style='float: left'>";
View Full Code Here

      trang--;
    } else if (operator.equals(">")) {
      trang++;
    }

    MyInteger nPage = new MyInteger(1);
    List<Bill> listBill = billDAO.getListBill(trang, block, nPage);

    model.addAttribute("listBill", listBill);
    List<Deliverstatus> listDeliverstatus = deliverstatusDAO
        .getListDeliverstatus();

    model.addAttribute("listDeliverstatus", listDeliverstatus);

    model.addAttribute("trang", trang);
    model.addAttribute("nPage", nPage.getValue());
    model.addAttribute("page", "order_admin");
    logger.debug("order_admin end");
    return "index";
  }
View Full Code Here

      trang--;
    } else if (operator.equals(">")) {
      trang++;
    }

    MyInteger nPage = new MyInteger(1);
    List<Product> listProduct = spDAO.getListProduct();// (trang, block,
                              // nPage);

    model.addAttribute("listProduct", listProduct);

    model.addAttribute("trang", trang);
    model.addAttribute("nPage", nPage.getValue());
    model.addAttribute("page", "product_admin");
    logger.debug("product_admin end");
    return "index";

  }
View Full Code Here

      trang--;
    } else if (operator.equals(">")) {
      trang++;
    }

    MyInteger nPage = new MyInteger(1);
    List<User> listUser = userDAO.getListUser(trang, block, nPage);

    model.addAttribute("listUser", listUser);

    model.addAttribute("trang", trang);
    model.addAttribute("nPage", nPage.getValue());
    model.addAttribute("page", "user_admin");
    logger.debug("user_admin end");
    return "index";

  }
View Full Code Here

TOP

Related Classes of pojo.MyInteger

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.