Package com.jpoweredcart.common

Examples of com.jpoweredcart.common.PageParam


  private VoucherThemeAdminModel voucherThemeAdminModel;
 
  @RequestMapping(value={"", "/"})
  public String index(Model model, HttpServletRequest request){
   
    PageParam pageParam = createPageParam(request);
    List<VoucherTheme> voucherThemeList = voucherThemeAdminModel.getList(pageParam);
    model.addAttribute("voucherThemes", voucherThemeList);
    int total = voucherThemeAdminModel.getTotal();
    Pagination pagination = new Pagination();
    pagination.setTotal(total).setPageParam(pageParam)
View Full Code Here


  private ZoneAdminModel zoneAdminModel;
 
  @RequestMapping(value="/admin/localisation/zone")
  public String index(Model model, HttpServletRequest request){
   
    PageParam pageParam = createPageParam(request);
    List<Zone> zoneList = zoneAdminModel.getList(pageParam);
    model.addAttribute("zones", zoneList);
    int total = zoneAdminModel.getTotal();
    Pagination pagination = new Pagination();
    pagination.setTotal(total).setPageParam(pageParam)
View Full Code Here

  public String index(AffiliateFilter filter, Model model, HttpServletRequest request){
   
    addJsDateFormatAttribute(model, request);
    model.addAttribute("filter", filter);
   
    PageParam pageParam = createPageParam(request);
    List<Affiliate> affiliateList = affiliateAdminModel.getList(filter, pageParam);
    model.addAttribute("affiliates", affiliateList);
    int total = affiliateAdminModel.getTotal(filter);
    Pagination pagination = new Pagination();
    pagination.setTotal(total).setPageParam(pageParam)
View Full Code Here

  private CurrencyAdminModel currencyAdminModel;
 
  @RequestMapping(value={"", "/"})
  public String index(Model model, HttpServletRequest request){
   
    PageParam pageParam = createPageParam(request);
    List<Currency> currencyList = currencyAdminModel.getList(pageParam);
    model.addAttribute("currencies", currencyList);
   
    int total = currencyAdminModel.getTotal();
    Pagination pagination = new Pagination();
View Full Code Here

  private LanguageAdminModel languageAdminModel;
 
  @RequestMapping(value={"", "/"})
  public String index(Model model, HttpServletRequest request){
   
    PageParam pageParam = createPageParam(request);
    List<Language> languageList = languageAdminModel.getList(pageParam);
    model.addAttribute("languages", languageList);
   
    int total = languageAdminModel.getTotal();
    Pagination pagination = new Pagination();
View Full Code Here

  private ReturnActionAdminModel returnActionAdminModel;
 
  @RequestMapping(value="/admin/localisation/returnAction")
  public String index(Model model, HttpServletRequest request){
   
    PageParam pageParam = createPageParam(request);
    List<ReturnAction> returnActions = returnActionAdminModel.getList(pageParam);
    model.addAttribute("returnActions", returnActions);
   
    Integer defaultReturnActionId = getSettingService().getConfig(SettingKey.CFG_RETURN_STATUS_ID, Integer.class);
    model.addAttribute("defaultReturnActionId", defaultReturnActionId);
View Full Code Here

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

  private IpBlacklistAdminModel ipBlacklistAdminModel;
 
  @RequestMapping(value={"", "/"})
  public String index(Model model, HttpServletRequest request){
   
    PageParam pageParam = createPageParam(request);
    List<IpBlacklist> ipBlacklistList = ipBlacklistAdminModel.getList(pageParam);
    model.addAttribute("ipBlacklists", ipBlacklistList);
    int total = ipBlacklistAdminModel.getTotal();
    Pagination pagination = new Pagination();
    pagination.setTotal(total).setPageParam(pageParam)
View Full Code Here

  private OrderStatusAdminModel orderStatusAdminModel;
 
  @RequestMapping(value="/admin/localisation/orderStatus")
  public String index(Model model, HttpServletRequest request){
   
    PageParam pageParam = createPageParam(request);
    List<OrderStatus> orderStatuses = orderStatusAdminModel.getList(pageParam);
    model.addAttribute("orderStatuses", orderStatuses);
   
    Integer defaultOrderStatusId = getSettingService().getConfig(SettingKey.CFG_STOCK_STATUS_ID, Integer.class);
    model.addAttribute("defaultOrderStatusId", defaultOrderStatusId);
View Full Code Here

  @RequestMapping(value="/admin/localisation/orderStatus/create")
  public String create(Model model){
   
    checkModifyPermission();
   
    List<Language> languages = languageAdminModel.getList(new PageParam());
    List<OrderStatus> list = new ArrayList<OrderStatus>();
    for(Language language: languages){
      OrderStatus orderStatus = new OrderStatus();
      orderStatus.setLanguageId(language.getId());
      orderStatus.setLanguageName(language.getName());
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.