class BatchRepositoryServiceImpl implements BatchRepositoryService {

    @Override
    public RepositorySearchResult<ClientResourceLookup> getResources(String q, String folderUri, List<String> type, List<String> excludeType, List<String> containerType, List<String> excludeFolders, Integer start, Integer limit, Boolean recursive, Boolean showHiddenItems, String sortBy, AccessType accessType, User user, Boolean forceFullPage) throws IllegalParameterValueException, ResourceNotFoundException {
    	return getResourcesForLookupClass(
    			(containerType==null || containerType.isEmpty()) && type!=null && type.size()==1 && type.get(0).equals("folder")?RepoFolder.class.getName():null,
    			q, folderUri, type, excludeType, containerType, excludeFolders, start, limit, recursive, showHiddenItems, sortBy, accessType, user, forceFullPage);
    }

}