@At
 @Ok(">>:/admin/permission/category/list.rk")
 @RequiresPermissions({"permission:edit"})
 public boolean update(@Param("name") String name, @Param("id") String id) {
   permissionCategoryService.update(Chain.make("name", name), Cnd.where("id", "=", id));
   return true;
 }
 @At
 @Ok(">>:/admin/permission/category/list.rk")
 @RequiresPermissions({"permission:add"})
 public void save(@Param("name") String name) {
   PermissionCategory pc = new PermissionCategory();
   pc.setLocked(false);
   pc.setName(name);
   permissionCategoryService.insert(pc);
 }
 @At
 @Ok("json")
 @RequiresPermissions({"permission:delete"})
 public Message delete(@Param("id") String id, HttpServletRequest req) {
   PermissionCategory pc = permissionCategoryService.fetch(id);
   if (pc.isLocked()) {
     return Message.error("admin.permissionCategory.deleteLockedNotAllowed", req);
   }
   // permissionCategoryService.remove(id);
   return Message.success("admin.common.success", req);
 }
 @At
 @Ok("fm:templates.admin.user.permission_category.edit")
 @RequiresPermissions({"permission:edit"})
 public PermissionCategory edit(String id) {
   return permissionCategoryService.fetch(id);
 }
 @At
 @Ok("fm:templates.admin.user.permission_category.list")
 @RequiresPermissions({"permission:view"})
 public Pagination list(@Param(value = "pageNumber", df = "1") int pageNumber) {
   return permissionCategoryService.getListByPager(pageNumber);
 }