Ejemplo n.º 1
0
 /*    */ @RequestMapping({"/board/list.jsp"})
 /*    */ public String list(
     Integer pageNo,
     Integer count,
     HttpServletRequest request,
     HttpServletResponse response,
     ModelMap model)
       /*    */ {
   /* 69 */ Site site = ContextTools.getSite(request);
   /* 70 */ Page page =
       this.service.getPage(
           null,
           site.getId(),
           Boolean.valueOf(true),
           null,
           null,
           /* 71 */ pageNo.intValue(),
           count.intValue());
   /* 72 */ model.addAttribute("page", page);
   /* 73 */ ViewTools.frontData(request, model, site);
   /* 74 */ response.setHeader("Cache-Control", "no-cache");
   /* 75 */ response.setContentType("text/json;charset=UTF-8");
   /* 76 */ return ViewTools.getTplPath(
       null, site.getSolutionPath(), /* 77 */ "common/tags", "board_list");
   /*    */ }
Ejemplo n.º 2
0
 /* 36 */ @RequiresPermissions({"admin:workflow:list"})
 /*    */ @RequestMapping({"/workflow/v_list.do"})
 /*    */ public String list(Integer pageNo, HttpServletRequest request, ModelMap model) {
   Site site = ContextTools.getSite(request);
   /* 37 */ List list = this.roleService.getListBySite(site.getId());
   /* 38 */ model.addAttribute("list", list);
   /* 39 */ return "docCenter/config/workflow/list";
 }
Ejemplo n.º 3
0
 /*    */ @RequestMapping(
     value = {"/messageboard.jsp"},
     method = {org.springframework.web.bind.annotation.RequestMethod.GET})
 /*    */ public String input(HttpServletRequest request, ModelMap model) /*    */ {
   /* 42 */ Site site = ContextTools.getSite(request);
   /* 43 */ List typeList = this.typeService.getList(site.getId(), null, /* 44 */ null);
   /* 45 */ model.addAttribute("typeList", typeList);
   /* 46 */ ViewTools.frontData(request, model, site);
   /* 47 */ return ViewTools.getTplPath(
       request, site.getSolutionPath(), /* 48 */ "extrafunc/board", "tpl.boardInput");
   /*    */ }
Ejemplo n.º 4
0
 /*    */ @RequestMapping({"/workflow/o_ajax_find.do"})
 /*    */ public String workflowFind(
     Integer id, HttpServletRequest request, HttpServletResponse response, ModelMap model)
       /*    */ {
   /* 92 */ Site site = ContextTools.getSite(request);
   /* 93 */ WorkFlow wf = this.service.findById(id);
   /* 94 */ List list = this.roleService.getListBySite(site.getId());
   /* 95 */ model.addAttribute("list", list);
   /* 96 */ model.addAttribute("wf", wf);
   /* 97 */ response.setHeader("Cache-Control", "no-cache");
   /* 98 */ response.setContentType("text/json;charset=UTF-8");
   /* 99 */ return "docCenter/config/workflow/stepData";
   /*    */ }
Ejemplo n.º 5
0
 /*    */ @RequestMapping({"/keyword/jsonData.do"})
 /*    */ public String dataPageByJosn(
     String name,
     Integer departId,
     String sortname,
     String sortorder,
     HttpServletRequest request,
     HttpServletResponse response,
     ModelMap model)
       /*    */ {
   /* 62 */ Site site = ContextTools.getSite(request);
   /* 63 */ List list =
       this.service.getListBySiteId(site.getId(), false, /* 64 */ false, sortname, sortorder);
   /* 65 */ model.addAttribute("list", list);
   /* 66 */ response.setHeader("Cache-Control", "no-cache");
   /* 67 */ response.setContentType("text/json;charset=UTF-8");
   /* 68 */ return "dataCenter/docData/keyword/listdata";
   /*    */ }
Ejemplo n.º 6
0
 /*    */ @RequestMapping({"/workflow/jsonData.do"})
 /*    */ public String dataPageByJosn(
     String sortname,
     String sortorder,
     Integer page,
     Integer pagesize,
     HttpServletRequest request,
     HttpServletResponse response,
     ModelMap model)
       /*    */ {
   /* 65 */ Site site = ContextTools.getSite(request);
   /* 66 */ Page p =
       this.service.getPage(
           site.getId(), sortname, /* 67 */ sortorder, page.intValue(), pagesize.intValue());
   /* 68 */ model.addAttribute("p", p);
   /* 69 */ response.setHeader("Cache-Control", "no-cache");
   /* 70 */ response.setContentType("text/json;charset=UTF-8");
   /* 71 */ return "docCenter/config/workflow/dataJson";
   /*    */ }