Package com.jpoweredcart.common

Examples of com.jpoweredcart.common.PageParam


   
    addJsDateFormatAttribute(model, request);
    model.addAttribute("filter", filter);
    model.addAttribute("orderStatuses", orderStatusAdminModel.getList(null));
   
    PageParam pageParam = createPageParam(request);
    List<ProductPurchasedRpt> purchasedList = productReportAdminModel.getProductsPurchased(filter, pageParam);
    model.addAttribute("productsPurchased", purchasedList);
    int total = productReportAdminModel.getTotalProductsViewed();
    Pagination pagination = new Pagination();
    pagination.setTotal(total).setPageParam(pageParam)
View Full Code Here


  private ReturnReasonAdminModel returnReasonAdminModel;
 
  @RequestMapping(value="/admin/localisation/returnReason")
  public String index(Model model, HttpServletRequest request){
   
    PageParam pageParam = createPageParam(request);
    List<ReturnReason> returnReasons = returnReasonAdminModel.getList(pageParam);
    model.addAttribute("returnReasons", returnReasons);
   
    Integer defaultReturnReasonId = getSettingService().getConfig(SettingKey.CFG_RETURN_STATUS_ID, Integer.class);
    model.addAttribute("defaultReturnReasonId", defaultReturnReasonId);
View Full Code Here

  @RequestMapping(value="/admin/localisation/returnReason/create")
  public String create(Model model){
   
    checkModifyPermission();
   
    List<Language> languages = languageAdminModel.getList(new PageParam());
    List<ReturnReason> list = new ArrayList<ReturnReason>();
    for(Language language: languages){
      ReturnReason returnReason = new ReturnReason();
      returnReason.setLanguageId(language.getId());
      returnReason.setLanguageName(language.getName());
View Full Code Here

   
    filter.setDefaultDateRange();
    addJsDateFormatAttribute(model, request);
    model.addAttribute("filter", filter);
   
    PageParam pageParam = createPageParam(request);
    List<AffiliateCommissionRpt> commissionList = affiliateReportAdminModel
        .getCommissions(filter, pageParam);
    model.addAttribute("commissions", commissionList);
    int total = affiliateReportAdminModel.getTotalCommissions(filter);
    Pagination pagination = new Pagination();
View Full Code Here

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

   
    filter.setDefaultDateRange();
    addJsDateFormatAttribute(model, request);
    model.addAttribute("filter", filter);
   
    PageParam pageParam = createPageParam(request);
    List<CustomerRewardRpt> rewardList = customerReportAdminModel
        .getRewardPoints(filter, pageParam);
    model.addAttribute("rewards", rewardList);
    int total = customerReportAdminModel.getTotalRewardPoints(filter);
    Pagination pagination = new Pagination();
View Full Code Here

   
    filter.setDefaultDateRange();
    addJsDateFormatAttribute(model, request);
    model.addAttribute("filter", filter);
   
    PageParam pageParam = createPageParam(request);
    List<CustomerCreditRpt> rewardList = customerReportAdminModel
        .getCredits(filter, pageParam);
    model.addAttribute("credits", rewardList);
    int total = customerReportAdminModel.getTotalCredits(filter);
    Pagination pagination = new Pagination();
View Full Code Here

  public String getOnlines(CustomerOnlineFilter filter,
      Model model, HttpServletRequest request){
   
    model.addAttribute("filter", filter);
   
    PageParam pageParam = createPageParam(request);
    List<CustomerOnlineRpt> onlineList = customerReportAdminModel
        .getOnlines(filter, pageParam);
    model.addAttribute("onlines", onlineList);
    int total = customerReportAdminModel.getTotalOnlines(filter);
    Pagination pagination = new Pagination();
View Full Code Here

  private TaxClassAdminModel taxClassAdminModel;
 
  @RequestMapping(value="/admin/localisation/taxClass")
  public String index(Model model, HttpServletRequest request){
   
    PageParam pageParam = createPageParam(request);
    List<TaxClass> currencies = taxClassAdminModel.getList(pageParam);
    model.addAttribute("taxClasses", currencies);
    int total = taxClassAdminModel.getTotal();
    Pagination pagination = new Pagination();
    pagination.setTotal(total).setPageParam(pageParam)
View Full Code Here

  private MediaService mediaService;
 
  @RequestMapping(value={"", "/"})
  public String index(Model model, HttpServletRequest request){
   
    PageParam pageParam = createPageParam(request);
    List<Store> storeList = storeAdminModel.getAll();
    model.addAttribute("stores", storeList);
    int total = storeAdminModel.getTotal();
    System.out.println(total);
    Pagination pagination = new Pagination();
View Full Code Here

TOP

Related Classes of com.jpoweredcart.common.PageParam

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.