}
// Hold on to all current candidate repos for the content source. If any were not present in this
// report, remove them from the system (the rationale being, the content source no longer knows
// about them and thus they cannot be imported).
RepoCriteria candidateReposCriteria = new RepoCriteria();
candidateReposCriteria.addFilterContentSourceIds(contentSourceId);
candidateReposCriteria.addFilterCandidate(true);
candidateReposCriteria.clearPaging();//disable paging as the code assumes all the results will be returned.
PageList<Repo> candidatesForThisProvider = findReposByCriteria(subject, candidateReposCriteria);
// Once the groups are in the system, import any repos that were added
List<RepoDetails> repos = report.getRepos();