* for parameter details. The parameter
* {@code SessionParameter.REPOSITORY_ID} should not be set.
*/
public List<Repository> getRepositories(Map<String, String> parameters, ObjectFactory objectFactory,
AuthenticationProvider authenticationProvider, Cache cache, TypeDefinitionCache typeDefCache) {
CmisBinding binding = CmisBindingHelper.createBinding(parameters, authenticationProvider, typeDefCache);
List<RepositoryInfo> repositoryInfos = binding.getRepositoryService().getRepositoryInfos(null);
List<Repository> result = new ArrayList<Repository>();
for (RepositoryInfo data : repositoryInfos) {
result.add(new RepositoryImpl(data, parameters, this, objectFactory, binding.getAuthenticationProvider(),
cache, typeDefCache));
}
return result;
}