class CycleService {

  @Transactional
  public void processAutomaticCycleSwitch() {
    HashMap<Boolean, ArrayList<Cycle>> cyclesToCycleSwitch = getCyclesDueForCycleStateSwitch();
    setCyclesToUpdateStates(cyclesToCycleSwitch);
  }

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

}