| Removed Methods |
void afterPropertiesSet()
|
|
List<T> find(String, Query, Class<T>, MongoReader<T>)
|
|
List<T> find(Query, Class<T>, MongoReader<T>)
|
|
T findAndRemove(String, Query, Class<T>, MongoReader<T>)
|
|
T findAndRemove(Query, Class<T>, MongoReader<T>)
|
|
T findOne(String, Query, Class<T>, MongoReader<T>)
|
|
T findOne(Query, Class<T>, MongoReader<T>)
|
|
List<T> getCollection(String, Class<T>, MongoReader<T>)
|
|
DBCollection getDefaultCollection()
|
|
String getDefaultCollectionName()
|
|
void insert(T, MongoWriter<T>)
|
|
void insert(String, T, MongoWriter<T>)
|
|
void insertList(String, List<?, extends, T>, MongoWriter<T>)
|
|
void insertList(List<?, extends, T>, MongoWriter<T>)
|
|
void save(T, MongoWriter<T>)
|
|
void save(String, T, MongoWriter<T>)
|
|
void setApplicationEventPublisher(ApplicationEventPublisher)
|
|
void setDatabaseName(String)
|
Sets the database name to be used. |
void setDefaultCollectionName(String)
|
Sets the name of the default collection to be used. |
void setMappingContext(MappingContext)
|
|
void setMongoConverter(MongoConverter)
|
|
void setPassword(String)
|
Sets the password to use to authenticate with the Mongo database. |
void setUsername(String)
|
Sets the username to use to connect to the Mongo database
|
void substituteMappedIdIfNecessary(DBObject)
|
Substitutes the id key if it is found in he query. |
void substituteMappedIdIfNecessary(DBObject, Class<?>, MongoReader<?>)
|
Substitutes the id key if it is found in he query. |
| Added Methods |
void doInsert(String, T, MongoWriter<T>)
|
|
void doInsertList(String, List<?, extends, T>, MongoWriter<T>)
|
|
void doInsertList(List<?, extends, T>, MongoWriter<T>)
|
|
void doSave(String, T, MongoWriter<T>)
|
|
WriteResult doUpdate(String, Query, Update, Class<?>, boolean, boolean)
|
|
T findById(Object, Class<T>)
|
|
T findById(String, Object, Class<T>)
|
|
String getCollectionName(Class<?>)
|
|
MongoDbFactory getDbFactory()
|
Returns the org.springframework.data.document.mongodb.MongoDbFactory. |
String getIdPropertyName(Object)
|
|
<any> getMappingContext()
|
|
void prepareCollection(DBCollection)
|
Prepare the collection before any processing is done using it. |
WriteConcern prepareWriteConcern(WriteConcern)
|
Prepare the WriteConcern before any processing is done using it. |
void setApplicationContext(ApplicationContext)
|
|
void setSlaveOk(boolean)
|
|
| Changed Methods |
T doFindAndRemove(String, DBObject, DBObject, DBObject, Class<T>)
|
Change in signature from (String, DBObject, DBObject, DBObject, Class<T>, MongoReader<T>) to (String, DBObject, DBObject, DBObject, Class<T>).
|
Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter. |
T doFindOne(String, DBObject, DBObject, Class<T>)
|
Change in signature from (String, DBObject, DBObject, Class<T>, MongoReader<T>) to (String, DBObject, DBObject, Class<T>).
|
Map the results of an ad-hoc query on the default MongoDB collection to an object using the template's converter
The query document is specified as a standard DBObject and so is the fields specification. |
List<T> doFind(String, DBObject, DBObject, Class<T>)
|
Change in signature from (String, DBObject, DBObject, Class<T>, MongoReader<T>) to (String, DBObject, DBObject, Class<T>).
|
Map the results of an ad-hoc query on the default MongoDB collection to a List using the template's converter. |
void ensureIndex(Class<?>, IndexDefinition)
|
Change in signature from IndexDefinition to (Class<?>, IndexDefinition).
|
|
T execute(Class<?>, CollectionCallback<T>)
|
Change in signature from CollectionCallback<T> to (Class<?>, CollectionCallback<T>).
|
|
WriteResult updateFirst(Class<?>, Query, Update)
|
Change in signature from (Query, Update) to (Class<?>, Query, Update).
|
|
WriteResult updateMulti(Class<?>, Query, Update)
|
Change in signature from (Query, Update) to (Class<?>, Query, Update).
|
|