class VitamMongoRepository implements VitamRepository {

    @Override
    public FindIterable<Document> findDocuments(Collection<String> ids, Bson projection) {
        ParametersChecker.checkParameter("Id list is required ", ids);
        if (null == projection) {
            return collection.find(in(ID, ids));
        } else {
            return collection.find(in(ID, ids)).projection(projection);
        }
    }

    public  VitamMongoRepository(MongoCollection<Document> collection);

}