DATADOC-11 - Move org.springframework.datastore.document.mongodb.query to a different branch

Just remove methods in MongoTemplate that referred to this package.
This commit is contained in:
Mark Pollack
2010-12-02 13:37:04 -05:00
parent abe658458f
commit 6ff41e8a53

View File

@@ -276,18 +276,6 @@ public class MongoTemplate implements InitializingBean {
return results;
}
public <T> List<T> queryForList(String collectionName, Query query, Class<T> targetClass) {
return queryForList(collectionName, query.getQueryObject(), targetClass);
}
public <T> List<T> queryForList(String collectionName, Query query, Class<T> targetClass, MongoReader<T> reader) {
return queryForList(collectionName, query.getQueryObject(), targetClass, reader);
}
public <T> List<T> queryForList(String collectionName, String query, Class<T> targetClass) {
return queryForList(collectionName, (DBObject)JSON.parse(query), targetClass);
}