use of com.publiccms.common.handler.PageHandler in project PublicCMS-preview by sanluan.
the class CmsVoteListDirective method execute.
@Override
public void execute(RenderHandler handler) throws IOException, Exception {
PageHandler page = service.getPage(getSite(handler).getId(), handler.getDate("startEndDate"), handler.getDate("endEndDate"), handler.getBoolean("disabled"), handler.getString("orderField"), handler.getString("orderType"), handler.getInteger("pageIndex", 1), handler.getInteger("count", 30));
handler.put("page", page).render();
}
use of com.publiccms.common.handler.PageHandler in project PublicCMS-preview by sanluan.
the class CmsVoteUserListDirective method execute.
@Override
public void execute(RenderHandler handler) throws IOException, Exception {
PageHandler page = service.getPage(handler.getInteger("lotteryId"), handler.getLong("userId"), handler.getString("ip"), handler.getDate("startCreateDate"), handler.getDate("endCreateDate"), handler.getString("orderType"), handler.getInteger("pageIndex", 1), handler.getInteger("count", 30));
handler.put("page", page).render();
}
use of com.publiccms.common.handler.PageHandler in project PublicCMS-preview by sanluan.
the class HomeScoreListDirective method execute.
@Override
public void execute(RenderHandler handler) throws IOException, Exception {
PageHandler page = service.getPage(getSite(handler).getId(), handler.getLong("userId"), handler.getString("itemType"), handler.getLong("itemId"), handler.getInteger("pageIndex", 1), handler.getInteger("count", 30));
handler.put("page", page).render();
}
use of com.publiccms.common.handler.PageHandler in project PublicCMS-preview by sanluan.
the class LogOperateListDirective method execute.
@Override
public void execute(RenderHandler handler) throws IOException, Exception {
PageHandler page = service.getPage(getSite(handler).getId(), handler.getString("channel"), handler.getString("operate"), handler.getLong("userId"), handler.getDate("startCreateDate"), handler.getDate("endCreateDate"), handler.getString("content"), handler.getString("ip"), handler.getString("orderType"), handler.getInteger("pageIndex", 1), handler.getInteger("count", 20));
handler.put("page", page).render();
}
use of com.publiccms.common.handler.PageHandler in project PublicCMS-preview by sanluan.
the class SysAppClientListDirective method execute.
@Override
public void execute(RenderHandler handler) throws IOException, Exception {
Boolean disabled = false;
if (handler.getBoolean("advanced", false)) {
disabled = handler.getBoolean("disabled", false);
}
PageHandler page = service.getPage(getSite(handler).getId(), handler.getString("channel"), handler.getLong("userId"), handler.getBoolean("allowPush"), handler.getDate("startLastLoginDate"), handler.getDate("endLastLoginDate"), handler.getDate("startCreateDate"), handler.getDate("endCreateDate"), disabled, handler.getString("orderField"), handler.getString("orderType"), handler.getInteger("pageIndex", 1), handler.getInteger("count", 30));
handler.put("page", page).render();
}
Aggregations