Ejemplo n.º 1
0
  public static List<User> getNormalMemberList(List<User> userList, boolean includeAdder) {
    List<User> list = new ArrayList<User>();

    for (User user : userList) list.add(user);

    if (includeAdder) list.add(User.newInstance(User.MEMBER_ID_INVITE_KAKAO, "", ""));

    return list;
  }
Ejemplo n.º 2
0
  public static List<User> getManagerList(List<User> userList, boolean includeAdder) {
    List<User> list = new ArrayList<User>();

    for (User user : userList) if (user.isManager()) list.add(user);

    if (includeAdder) list.add(User.newInstance(User.MEMBER_ID_NEW_MANAGER, "", ""));

    return list;
  }