class RepositoryResourceServiceImpl implements RepositoryResourceService {

	@Override
	public Optional<RepositoryResource> findByName(
			Integer projectId, 
			Integer parentId, 
			RepositoryResourceType resourceType,
			AppType appType, 
			String name) {
		return repositoryResourceDao.findByRepositoryIdAndParentIdAndResourceTypeAndAppTypeAndNameIgnoreCase(
				projectId, 
				parentId, 
				resourceType,
				appType,
				name);
	}

}