Examples of queryRightsByRole()


Examples of com.sogou.qadev.service.cynthia.bean.Flow.queryRightsByRole()

            Flow flow = FlowCache.getInstance().get(template.getFlowId());
            if (flow == null) {
              continue;
            }
            UUID roleId = DataAccessFactory.getInstance().createUUID(roleIdStr);
            Set<Right> allRoleRight = flow.queryRightsByRole(roleId);
           
            for (Right right : allRoleRight) {
              roleUsers.append(roleUsers.length() > 0 ? "," : "").append(right.getUsername());
            }
          }
View Full Code Here

Examples of com.sogou.qadev.service.cynthia.bean.Flow.queryRightsByRole()

            Flow flow = FlowCache.getInstance().get(template.getFlowId());
            if (flow == null) {
              continue;
            }
            UUID roleId = DataAccessFactory.getInstance().createUUID(roleIdStr);
            Set<Right> allRoleRight = flow.queryRightsByRole(roleId);
           
            for (Right right : allRoleRight) {
              roleUsers.append(roleUsers.length() > 0 ? "," : "").append(right.getUsername());
            }
          }
View Full Code Here

Examples of com.sogou.qadev.service.cynthia.bean.Flow.queryRightsByRole()

    //用于链接数据
    Map<String, String> userIdMap = new HashMap<String, String>();
   
    UUID roleId = DataAccessFactory.getInstance().createUUID(roleIdStr);
   
    Set<Right> allRights = flow.queryRightsByRole(roleId);
    Set<String> userSet = new HashSet<String>();
    for (Right right : allRights) {
      if (right != null) {
        userSet.add(right.getUsername());
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.