List<SubscribedRepo> list = new ArrayList<SubscribedRepo>();
PageControl pc = new PageControl();
for (RepoComposite repoComposite : findResourceSubscriptions(subject, resourceId, pc)) {
Repo repo = repoComposite.getRepo();
SubscribedRepo summary = new SubscribedRepo(repo.getId(), repo.getName());
list.add(summary);
}
return list;
}