Package com.taobao.zeus.web.platform.client.util

Examples of com.taobao.zeus.web.platform.client.util.ZUser


  @Override
  public List<ZUser> getJobAdmins(String jobId) {
    List<ZeusUser> users= permissionGroupManager.getJobAdmins(jobId);
    List<ZUser> result=new ArrayList<ZUser>();
    for(ZeusUser zu:users){
      ZUser z=new ZUser();
      z.setName(zu.getName());
      z.setUid(zu.getUid());
      result.add(z);
    }
    return result;
  }
View Full Code Here


  @Override
  public List<ZUser> getGroupAdmins(String groupId) {
    List<ZeusUser> users= permissionGroupManager.getGroupAdmins(groupId);
    List<ZUser> result=new ArrayList<ZUser>();
    for(ZeusUser zu:users){
      ZUser z=new ZUser();
      z.setName(zu.getName());
      z.setUid(zu.getUid());
      result.add(z);
    }
    return result;
  }
View Full Code Here

  @Autowired
  private UserManager userManager;
  @Override
  public ZUser getUser() {
    ZeusUser u= LoginUser.getUser();
    ZUser zu=new ZUser();
    zu.setName(u.getName());
    zu.setUid(u.getUid());
    zu.setSuper(Super.getSupers().contains(u.getUid()));
    return zu;
  }
View Full Code Here

  @Override
  public List<ZUser> getAllUsers() {
    List<ZUser> result=new ArrayList<ZUser>();
    List<ZeusUser> list=userManager.getAllUsers();
    for(ZeusUser u:list){
      ZUser zu=new ZUser();
      zu.setName(u.getName());
      zu.setUid(u.getUid());
      result.add(zu);
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of com.taobao.zeus.web.platform.client.util.ZUser

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.