class TeamMemberRowBuilderService implements RowBuilderService<TeamMemberRow> {

  @Override
  public Collection<TeamMemberRow> generateForCompany(long companyId) {
    OkrCompany okrCompany = companyService.findById(companyId);

    Collection<TeamMemberRow> teamMemberRows = new ArrayList<>();
    Collection<OkrDepartment> okrDepartments = BranchHelper.collectDepartments(okrCompany);
    okrDepartments.forEach(
        department -> teamMemberRows.addAll(generateTeamMemberRowForDepartment(department)));

    return teamMemberRows;
  }

  @Autowired public  TeamMemberRowBuilderService(
      UserService userService,
      @Qualifier("okrUnitServiceUsers") OkrUnitServiceUsers<OkrDepartment> departmentServiceUsers,
      CompanyService companyService,
      Messages messages);

}