class ObjectiveRowBuilderService implements RowBuilderService<ObjectiveRow> {

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

    Collection<OkrChildUnit> okrChildUnitCollection = BranchHelper.collectChildUnits(okrCompany);

    return okrChildUnitCollection.stream()
        .flatMap(childUnit -> generateObjectiveRowCollectionForDepartment(childUnit).stream())
        .collect(Collectors.toList());
  }

  public  ObjectiveRowBuilderService(
      @Qualifier("okrUnitServiceUsers") OkrUnitServiceUsers<OkrChildUnit> okrChildUnitService,
      CompanyService companyService);

}