class CycleService {

  public Collection<Cycle> getAllCycles() {
    Collection<Cycle> cycles = new ArrayList<>();
    for (Cycle cycle : cycleRepository.findAll()) {
      cycles.add(cycle);
    }
    return cycles;
  }

  @Autowired public  CycleService(
      CyclePreparationCloningService cyclePreparationCloningService,
      CycleRepository cycleRepository,
      CompanyHistoryRepository companyHistoryRepository,
      CompanyService companyService);

}