@Test @DatabaseSetup("customRepositoryData.xml") public void testFindIngest() { CustomRepository customRepository = customRepositoryService.findByName("repo1"); Assert.assertNotNull(customRepository); Assert.assertEquals("repo1", customRepository.getName()); }
@Override @Transactional(readOnly = true) public CustomRepository findByName(String name) { return customRepositoryRepository.findByName(name); }
CustomRepositoryServiceImpl implements CustomRepositoryService { @Override @Transactional(readOnly = true) public CustomRepository findByName(String name) { return customRepositoryRepository.findByName(name); } }
CustomRepositoryServiceImpl implements CustomRepositoryService { @Override @Transactional(readOnly = true) public CustomRepository findByName(String name) { return customRepositoryRepository.findByName(name); }  }
CustomRepositoryServiceImpl implements CustomRepositoryService { @Override @Transactional(readOnly = true) public CustomRepository findByName(String name) { return customRepositoryRepository.findByName(name); }  @Override @Transactional CustomRepository save(CustomRepository customRepository); @Override @Transactional(readOnly = false) void logicalDelete(Long id); @Override @Transactional(readOnly = true) CustomRepository findByName(String name); @Override @Transactional(readOnly = true) Page<CustomRepository> findAll(Pageable pageable); @Override @Transactional(readOnly = true) ListMultimap<InstanceType, CustomRepository> getAllGroupByType(); @Override List<SimpleEntry<String, String>> getRemoteRepositories(
			InstanceType repoType, URL url); @Override List<SimpleEntry<String, String>> getRemoteRepositoriesByRepoId(
			Long repoId); @Override CustomRepository findById(Long id); @Override boolean checkExistActiveRepositoryNameAndType(String name,
			InstanceType type); }
CustomRepositoryServiceImpl implements CustomRepositoryService { @Override @Transactional(readOnly = true) public CustomRepository findByName(String name) { return customRepositoryRepository.findByName(name); }  @Override @Transactional CustomRepository save(CustomRepository customRepository); @Override @Transactional(readOnly = false) void logicalDelete(Long id); @Override @Transactional(readOnly = true) CustomRepository findByName(String name); @Override @Transactional(readOnly = true) Page<CustomRepository> findAll(Pageable pageable); @Override @Transactional(readOnly = true) ListMultimap<InstanceType, CustomRepository> getAllGroupByType(); @Override List<SimpleEntry<String, String>> getRemoteRepositories(
			InstanceType repoType, URL url); @Override List<SimpleEntry<String, String>> getRemoteRepositoriesByRepoId(
			Long repoId); @Override CustomRepository findById(Long id); @Override boolean checkExistActiveRepositoryNameAndType(String name,
			InstanceType type);  }