Package com.jpoweredcart.common

Examples of com.jpoweredcart.common.PageParam$OrderPair


  private LengthClassAdminModel lengthClassAdminModel;
 
  @RequestMapping(value={"", "/"})
  public String index(Model model, HttpServletRequest request){
   
    PageParam pageParam = createPageParam(request);
    List<LengthClass> lengthClassList = lengthClassAdminModel.getList(pageParam);
    model.addAttribute("lengthClasses", lengthClassList);
   
    int total = lengthClassAdminModel.getTotal();
    Pagination pagination = new Pagination();
View Full Code Here


  private WeightClassAdminModel weightClassAdminModel;
 
  @RequestMapping(value="/admin/localisation/weightClass")
  public String index(Model model, HttpServletRequest request){
   
    PageParam pageParam = createPageParam(request);
    List<WeightClass> weightClassList = weightClassAdminModel.getList(pageParam);
    model.addAttribute("weightClasses", weightClassList);
   
    int total = weightClassAdminModel.getTotal();
    Pagination pagination = new Pagination();
View Full Code Here

  public String create(Model model){
   
    checkModifyPermission();
   
    WeightClass weightClass = new WeightClass();
    List<Language> languages = languageAdminModel.getList(new PageParam());
    List<WeightClassDesc> descs = new ArrayList<WeightClassDesc>();
    for(Language language: languages){
      WeightClassDesc desc = new WeightClassDesc();
      desc.setLanguageId(language.getId());
      desc.setLanguageName(language.getName());
View Full Code Here

   
    model.addAttribute("filter", filter);
   
    model.addAttribute("orderStatuses", orderStatusAdminModel.getList(null));
   
    PageParam pageParam = createPageParam(request);
    List<SaleOrderRpt> orderList = saleReportAdminModel.getOrders(filter, pageParam);
    model.addAttribute("orders", orderList);
    int total = saleReportAdminModel.getTotalOrders(filter);
    Pagination pagination = new Pagination();
    pagination.setTotal(total).setPageParam(pageParam)
View Full Code Here

   
    model.addAttribute("filter", filter);
   
    model.addAttribute("orderStatuses", orderStatusAdminModel.getList(null));
   
    PageParam pageParam = createPageParam(request);
    List<SaleOrderByTitleRpt> taxList = saleReportAdminModel.getTaxes(filter, pageParam);
    model.addAttribute("taxes", taxList);
    int total = saleReportAdminModel.getTotalTaxes(filter);
    Pagination pagination = new Pagination();
    pagination.setTotal(total).setPageParam(pageParam)
View Full Code Here

   
    model.addAttribute("filter", filter);
   
    model.addAttribute("orderStatuses", orderStatusAdminModel.getList(null));
   
    PageParam pageParam = createPageParam(request);
    List<SaleOrderByTitleRpt> shippingList = saleReportAdminModel.getShippings(filter, pageParam);
    model.addAttribute("shippings", shippingList);
    int total = saleReportAdminModel.getTotalShippings(filter);
    Pagination pagination = new Pagination();
    pagination.setTotal(total).setPageParam(pageParam)
View Full Code Here

   
    model.addAttribute("filter", filter);
   
    model.addAttribute("returnStatuses", returnStatusAdminModel.getList(null));
   
    PageParam pageParam = createPageParam(request);
    List<SaleReturnRpt> taxList = saleReportAdminModel.getReturns(filter, pageParam);
    model.addAttribute("returns", taxList);
    int total = saleReportAdminModel.getTotalReturns(filter);
    Pagination pagination = new Pagination();
    pagination.setTotal(total).setPageParam(pageParam)
View Full Code Here

    filter.setDefaultDateRange();
    addJsDateFormatAttribute(model, request);
   
    model.addAttribute("filter", filter);
   
    PageParam pageParam = createPageParam(request);
    List<SaleCouponRpt> taxList = saleReportAdminModel.getCoupons(filter, pageParam);
    model.addAttribute("coupons", taxList);
    int total = saleReportAdminModel.getTotalCoupons(filter);
    Pagination pagination = new Pagination();
    pagination.setTotal(total).setPageParam(pageParam)
View Full Code Here

  private CountryAdminModel countryAdminModel;
 
  @RequestMapping(value={"", "/"})
  public String index(Model model, HttpServletRequest request){
   
    PageParam pageParam = createPageParam(request);
    List<Country> countryList = countryAdminModel.getList(pageParam);
    model.addAttribute("countries", countryList);
   
    int total = countryAdminModel.getTotal();
    Pagination pagination = new Pagination();
View Full Code Here

  @RequestMapping(value="/admin/report/productViewed")
  public String getProductsViewed(Model model, HttpServletRequest request){
   
    addJsDateFormatAttribute(model, request);
   
    PageParam pageParam = createPageParam(request);
    List<ProductViewedRpt> viewedList = productReportAdminModel.getProductsViewed(pageParam);
    model.addAttribute("productsViewed", viewedList);
    int total = productReportAdminModel.getTotalProductsViewed();
    Pagination pagination = new Pagination();
    pagination.setTotal(total).setPageParam(pageParam)
View Full Code Here

TOP

Related Classes of com.jpoweredcart.common.PageParam$OrderPair

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.