Search in sources :

Example 46 with PageHandler

use of com.publiccms.common.handler.PageHandler in project PublicCMS-preview by sanluan.

the class HomeUserListDirective method execute.

@Override
public void execute(RenderHandler handler) throws IOException, Exception {
    PageHandler page = service.getPage(getSite(handler).getId(), handler.getBoolean("disabled"), handler.getString("orderField"), handler.getString("orderType"), handler.getInteger("pageIndex", 1), handler.getInteger("count", 30));
    handler.put("page", page).render();
}
Also used : PageHandler(com.publiccms.common.handler.PageHandler)

Example 47 with PageHandler

use of com.publiccms.common.handler.PageHandler in project PublicCMS-preview by sanluan.

the class LogLoginListDirective method execute.

@Override
public void execute(RenderHandler handler) throws IOException, Exception {
    PageHandler page = service.getPage(getSite(handler).getId(), handler.getLong("userId"), handler.getDate("startCreateDate"), handler.getDate("endCreateDate"), handler.getString("channel"), handler.getBoolean("result"), handler.getString("name"), handler.getString("ip"), handler.getString("orderType"), handler.getInteger("pageIndex", 1), handler.getInteger("count", 20));
    handler.put("page", page).render();
}
Also used : PageHandler(com.publiccms.common.handler.PageHandler)

Example 48 with PageHandler

use of com.publiccms.common.handler.PageHandler in project PublicCMS-preview by sanluan.

the class LogTaskListDirective method execute.

@Override
public void execute(RenderHandler handler) throws IOException, Exception {
    PageHandler page = service.getPage(getSite(handler).getId(), handler.getInteger("taskId"), handler.getDate("startCreateDate"), handler.getDate("endCreateDate"), handler.getBoolean("success"), handler.getString("orderType"), handler.getInteger("pageIndex", 1), handler.getInteger("count", 30));
    handler.put("page", page).render();
}
Also used : PageHandler(com.publiccms.common.handler.PageHandler)

Example 49 with PageHandler

use of com.publiccms.common.handler.PageHandler in project PublicCMS-preview by sanluan.

the class LogUploadListDirective method execute.

@Override
public void execute(RenderHandler handler) throws IOException, Exception {
    PageHandler page = service.getPage(getSite(handler).getId(), handler.getLong("userId"), handler.getString("channel"), handler.getBoolean("image"), handler.getString("filePath"), handler.getString("orderField"), handler.getString("orderType"), handler.getInteger("pageIndex", 1), handler.getInteger("count", 30));
    handler.put("page", page).render();
}
Also used : PageHandler(com.publiccms.common.handler.PageHandler)

Example 50 with PageHandler

use of com.publiccms.common.handler.PageHandler in project PublicCMS-preview by sanluan.

the class SysRoleListDirective method execute.

@Override
public void execute(RenderHandler handler) throws IOException, Exception {
    PageHandler page = service.getPage(getSite(handler).getId(), handler.getInteger("pageIndex", 1), handler.getInteger("count", 30));
    handler.put("page", page).render();
}
Also used : PageHandler(com.publiccms.common.handler.PageHandler)

Aggregations

PageHandler (com.publiccms.common.handler.PageHandler)65 FacetPageHandler (com.publiccms.common.handler.FacetPageHandler)3 SysSite (com.publiccms.entities.sys.SysSite)3 IOException (java.io.IOException)3 Date (java.util.Date)3 HashMap (java.util.HashMap)3 CmsContentQuery (com.publiccms.views.pojo.query.CmsContentQuery)2 CmsContentAttribute (com.publiccms.entities.cms.CmsContentAttribute)1 CmsLottery (com.publiccms.entities.cms.CmsLottery)1 LogUpload (com.publiccms.entities.log.LogUpload)1 SysCluster (com.publiccms.entities.sys.SysCluster)1 CmsCategoryQuery (com.publiccms.views.pojo.query.CmsCategoryQuery)1 ArrayList (java.util.ArrayList)1 List (java.util.List)1 Map (java.util.Map)1 Scheduled (org.springframework.scheduling.annotation.Scheduled)1 ModelMap (org.springframework.ui.ModelMap)1 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)1 ResponseBody (org.springframework.web.bind.annotation.ResponseBody)1