Package com.ketayao.ketacustom.util.dwz

Examples of com.ketayao.ketacustom.util.dwz.Page


  }
 
  @RequiresPermissions("User:assign")
  @RequestMapping(value="/lookup2create/userRole/{userId}", method={RequestMethod.GET, RequestMethod.POST})
  public String listUnassignRole(Map<String, Object> map, @PathVariable Long userId) {
    Page page = new Page();
    page.setNumPerPage(Integer.MAX_VALUE);
   
    List<UserRole> userRoles = userRoleService.findByUserId(userId);
    List<Role> roles = roleService.findAll(page);
   
    List<Role> rentList = new ArrayList<Role>();
View Full Code Here


 
  @RequiresPermissions("Icon:view")
  @RequestMapping(value="/reload", method={RequestMethod.GET, RequestMethod.POST})
  public String reload(HttpServletRequest request, Map<String, Object> map) throws FileNotFoundException {
    ALL_ICONS = null;
    return list(request, new Page(), map);
  }
View Full Code Here

   * @return
   */
  @RequiresPermissions("Organization:assign")
  @RequestMapping(value="/lookup2create/organizationRole/{organizationId}", method={RequestMethod.GET, RequestMethod.POST})
  public String listUnassignRole(Map<String, Object> map, @PathVariable Long organizationId) {
    Page page = new Page();
    page.setNumPerPage(Integer.MAX_VALUE);
   
    List<OrganizationRole> organizationRoles = organizationRoleService.findByOrganizationId(organizationId);
    List<Role> roles = roleService.findAll(page);
   
    List<Role> rentList = new ArrayList<Role>();
View Full Code Here

    Collection<String> hasRoles = null;
   
    // 是否启用超级管理员 && id==1为超级管理员,构造所有权限
    if (activeRoot && shiroUser.getId() == 1) {
      hasRoles = new HashSet<String>();
      Page page = new Page();
      page.setNumPerPage(Integer.MAX_VALUE);
      List<Role> roles = roleService.findAll(page);
     
      for (Role role : roles) {
        hasRoles.add(role.getName());
      }
View Full Code Here

TOP

Related Classes of com.ketayao.ketacustom.util.dwz.Page

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.