use of com.publiccms.common.handler.PageHandler in project PublicCMS-preview by sanluan.
the class SysUserListDirective 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.getInteger("deptId"), handler.getDate("startRegisteredDate"), handler.getDate("endRegisteredDate"), handler.getDate("startLastLoginDate"), handler.getDate("endLastLoginDate"), handler.getBoolean("superuserAccess"), handler.getBoolean("emailChecked"), disabled, handler.getString("name"), 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 SysDeptCategoryListDirective method execute.
@Override
public void execute(RenderHandler handler) throws IOException, Exception {
PageHandler page = service.getPage(handler.getInteger("deptId"), handler.getInteger("categoryId"), handler.getInteger("pageIndex", 1), handler.getInteger("count"));
handler.put("page", page).render();
}
use of com.publiccms.common.handler.PageHandler in project PublicCMS-preview by sanluan.
the class SysDeptListDirective method execute.
@Override
public void execute(RenderHandler handler) throws IOException, Exception {
PageHandler page = service.getPage(getSite(handler).getId(), handler.getInteger("parentId"), handler.getLong("userId"), 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 SysDeptPageListDirective method execute.
@Override
public void execute(RenderHandler handler) throws IOException, Exception {
PageHandler page = service.getPage(handler.getInteger("deptId"), handler.getString("page"), handler.getInteger("pageIndex", 1), handler.getInteger("count"));
handler.put("page", page).render();
}
use of com.publiccms.common.handler.PageHandler in project PublicCMS-preview by sanluan.
the class SysDomainListDirective method execute.
@Override
public void execute(RenderHandler handler) throws IOException, Exception {
Short siteId = null;
if (handler.getBoolean("advanced", false)) {
siteId = handler.getShort("siteId");
} else {
siteId = getSite(handler).getId();
}
PageHandler page = service.getPage(siteId, handler.getBoolean("wild"), handler.getInteger("pageIndex", 1), handler.getInteger("count", 30));
handler.put("page", page).render();
}
Aggregations