Package com.narirelays.ems.services

Examples of com.narirelays.ems.services.PrivilegeManagementService


    return SUCCESS;
  }
 
  public String queryResourceAndAccessByCategory()//点击资源目录,直接列出资源信息以及其访问控制信息
  {
    PrivilegeManagementService privilegeManagementService = (PrivilegeManagementService)StorageService.ctx.getBean("privilegeManagementService");
    if(privilegeManagementService!=null)
    {
      resultInfo = privilegeManagementService.queryResourceAndAccessByCategory(request.getParameter("category_id"));
    }
    return SUCCESS;
  }
View Full Code Here


    return SUCCESS;
  }
 
  public String queryResAccessByResource()
  {
    PrivilegeManagementService privilegeManagementService = (PrivilegeManagementService)StorageService.ctx.getBean("privilegeManagementService");
    if(privilegeManagementService!=null)
    {
      resultInfo = privilegeManagementService.queryResAccessByResource(request.getParameter("resource_id"));
    }
    return SUCCESS;
  }
View Full Code Here

    return SUCCESS;
  }
 
  public String addResAccess()//单个存储;编辑完某个资源的访问规则后,点确定
  {
    PrivilegeManagementService privilegeManagementService = (PrivilegeManagementService)StorageService.ctx.getBean("privilegeManagementService");
    if(privilegeManagementService!=null)
    {
      resultInfo = privilegeManagementService.addResAccess(request.getParameter("resource_id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

    return SUCCESS;
  }
 
  public String modifyResAccess()
  {
    PrivilegeManagementService privilegeManagementService = (PrivilegeManagementService)StorageService.ctx.getBean("privilegeManagementService");
    if(privilegeManagementService!=null)
    {
      resultInfo = privilegeManagementService.modifyResAccess(request.getParameter("resource_id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

    return SUCCESS;
  }
 
  public String deleteResAccess()
  {
    PrivilegeManagementService privilegeManagementService = (PrivilegeManagementService)StorageService.ctx.getBean("privilegeManagementService");
    if(privilegeManagementService!=null)
    {
      resultInfo = privilegeManagementService.deleteResAccess(request.getParameter("resource_id"));
    }
    return SUCCESS;
  }
View Full Code Here

    return SUCCESS;
  }
 
  public String queryAllInfomation()//通过一个接口返回所有用户、组、权限等信息;管理员
  {
    PrivilegeManagementService privilegeManagementService = (PrivilegeManagementService)StorageService.ctx.getBean("privilegeManagementService");
    if(privilegeManagementService!=null)
    {
      resultInfo = privilegeManagementService.queryAllInfomation();
    }
    return SUCCESS;
  }
View Full Code Here

    return SUCCESS;
  }
 
  public String queryAllUserInfomation()//返回用户信息、用户所在组、用户权限的信息;管理员
  {
    PrivilegeManagementService privilegeManagementService = (PrivilegeManagementService)StorageService.ctx.getBean("privilegeManagementService");
    if(privilegeManagementService!=null)
    {
      resultInfo = privilegeManagementService.queryAllUserInfomation(request.getParameter("user_id"));
    }
    return SUCCESS;
  }
View Full Code Here

    return SUCCESS;
  }
 
  public String queryAllGroupInfomation()//返回组信息、组中用户、组权限的信息;管理员
  {
    PrivilegeManagementService privilegeManagementService = (PrivilegeManagementService)StorageService.ctx.getBean("privilegeManagementService");
    if(privilegeManagementService!=null)
    {
      resultInfo = privilegeManagementService.queryAllGroupInfomation(request.getParameter("group_id"));
    }
    return SUCCESS;
  }
View Full Code Here

    return SUCCESS;
  }
 
  public String queryResOfRole()//返回某角色对应的资源信息
  {
    PrivilegeManagementService privilegeManagementService = (PrivilegeManagementService)StorageService.ctx.getBean("privilegeManagementService");
    if(privilegeManagementService!=null)
    {
      resultInfo = privilegeManagementService.queryResOfRole(request.getParameter("authority"));
    }
    return SUCCESS;
  }
View Full Code Here

    return SUCCESS;
  }
 
  public String queryResourceTree()//查询资源的树形结构,返回资源组及具体资源
  {
    PrivilegeManagementService privilegeManagementService = (PrivilegeManagementService)StorageService.ctx.getBean("privilegeManagementService");
    if(privilegeManagementService!=null)
    {
      resultInfo = privilegeManagementService.queryResourceTree();
    }
    return SUCCESS;
  }
View Full Code Here

TOP

Related Classes of com.narirelays.ems.services.PrivilegeManagementService

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.