@Override
 public void execute(RenderHandler handler) throws IOException, Exception {
   PageHandler page =
       service.getPage(
           handler.getInteger("status"),
           handler.getInteger("pageIndex", 1),
           handler.getInteger("count", 30));
   handler.put("page", page).render();
 }
 @Override
 public void execute(RenderHandler handler) throws IOException, Exception {
   PageHandler page =
       service.getPage(
           handler.getInteger("itemType"),
           handler.getInteger("itemId"),
           handler.getInteger("extendType"),
           handler.getBoolean("isCustom"),
           handler.getInteger("pageIndex"),
           handler.getInteger("count"));
   handler.put("page", page).render();
 }
예제 #3
0
 @Override
 public void execute(RenderHandler handler) throws IOException, Exception {
   Boolean hidden = null;
   if (!handler.getBoolean("admin", false)) {
     hidden = handler.getBoolean("hidden", false);
   }
   PageHandler page =
       service.getPage(
           getSite(handler).getId(),
           hidden,
           handler.getDate("startCreateDate"),
           handler.getDate("endCreateDate"),
           handler.getString("name"),
           handler.getString("orderField"),
           handler.getString("orderType"),
           handler.getInteger("pageIndex", 1),
           handler.getInteger("count", 30));
   handler.put("page", page).render();
 }