@Test @DatabaseSetup("ingestData.xml") public void testFindIngest() { Ingest ingest = ingestService.findById(1L); Assert.assertNotNull(ingest); Assert.assertEquals("ingest1", ingest.getName()); }
@Override public Ingest findById(Long id) { return ingestRepository.findOne(id); }
IngestServiceImpl implements IngestService { @Override public Ingest findById(Long id) { return ingestRepository.findOne(id); } }
IngestServiceImpl implements IngestService { @Override public Ingest findById(Long id) { return ingestRepository.findOne(id); }  }
IngestServiceImpl implements IngestService { @Override public Ingest findById(Long id) { return ingestRepository.findOne(id); }  @Override @Transactional Ingest save(Ingest ingest); Ingest saveAndUpdateServerQuery(Ingest ingest); @Override @Transactional void delete(Long id); @Override @Transactional(readOnly = true) Page<Ingest> findAll(Pageable pageable); @Override @Transactional(readOnly = false) Ingest save(Ingest ingest, Long customRepositoryId,
			InstanceType customRepoInstanceType); @Override Ingest findById(Long id); @Override @Transactional int unscheduleByRepository(Long repositoryId); @Override @Transactional Long countScheduledIngestsByRepo(Long repoId); @Override @Transactional Ingest saveAndSchedule(Ingest ingest, Long customRepositoryId,
			InstanceType typeOfInstance); @Override @Transactional Ingest saveAndSchedule(Ingest ingest); @Override @Transactional Date getNextRun(Ingest ingest); @Override @Transactional SortedSet<Long> getCurrentlyExecutingJobs(); @Override @Transactional boolean unscheduleIngest(Long id); @Override @Transactional boolean interruptIngest(Long id); }
IngestServiceImpl implements IngestService { @Override public Ingest findById(Long id) { return ingestRepository.findOne(id); }  @Override @Transactional Ingest save(Ingest ingest); Ingest saveAndUpdateServerQuery(Ingest ingest); @Override @Transactional void delete(Long id); @Override @Transactional(readOnly = true) Page<Ingest> findAll(Pageable pageable); @Override @Transactional(readOnly = false) Ingest save(Ingest ingest, Long customRepositoryId,
			InstanceType customRepoInstanceType); @Override Ingest findById(Long id); @Override @Transactional int unscheduleByRepository(Long repositoryId); @Override @Transactional Long countScheduledIngestsByRepo(Long repoId); @Override @Transactional Ingest saveAndSchedule(Ingest ingest, Long customRepositoryId,
			InstanceType typeOfInstance); @Override @Transactional Ingest saveAndSchedule(Ingest ingest); @Override @Transactional Date getNextRun(Ingest ingest); @Override @Transactional SortedSet<Long> getCurrentlyExecutingJobs(); @Override @Transactional boolean unscheduleIngest(Long id); @Override @Transactional boolean interruptIngest(Long id);  }