Чего он точно не знает, так это как из Collection сделать List

List documents = (Arrays.asList(documentsMap.values().toArray(new Document[] {})));