Uses of Class
com.mongodb.WriteResult

Packages that use WriteResult
com.mongodb Main package with core files. 
 

Uses of WriteResult in com.mongodb
 

Methods in com.mongodb that return WriteResult
 WriteResult DB.addUser(String username, char[] passwd)
          Adds a new user for this db
 WriteResult DB.addUser(String username, char[] passwd, boolean readOnly)
          Adds a new user for this db
 WriteResult DBCollection.insert(DBObject... arr)
          Saves document(s) to the database.
abstract  WriteResult DBCollection.insert(DBObject[] arr, WriteConcern concern)
          Saves document(s) to the database.
 WriteResult DBCollection.insert(DBObject o, WriteConcern concern)
          Inserts a document into the database.
 WriteResult DBCollection.insert(List<DBObject> list)
          Saves document(s) to the database.
 WriteResult DBCollection.insert(List<DBObject> list, WriteConcern concern)
          Saves document(s) to the database.
 WriteResult DBCollection.remove(DBObject o)
          calls DBCollection.remove(com.mongodb.DBObject, com.mongodb.WriteConcern) with the default WriteConcern
abstract  WriteResult DBCollection.remove(DBObject o, WriteConcern concern)
          Removes objects from the database collection.
 WriteResult DB.removeUser(String username)
          Removes a user for this db
 WriteResult DBCollection.save(DBObject jo)
          calls DBCollection.save(com.mongodb.DBObject, com.mongodb.WriteConcern) with default WriteConcern
 WriteResult DBCollection.save(DBObject jo, WriteConcern concern)
          Saves an object to this collection (does insert or update based on the object _id).
 WriteResult DBTCPConnector.say(DB db, com.mongodb.OutMessage m, WriteConcern concern)
           
 WriteResult DBConnector.say(DB db, com.mongodb.OutMessage m, WriteConcern concern)
          does a write operation
 WriteResult DBTCPConnector.say(DB db, com.mongodb.OutMessage m, WriteConcern concern, ServerAddress hostNeeded)
           
 WriteResult DBConnector.say(DB db, com.mongodb.OutMessage m, WriteConcern concern, ServerAddress hostNeeded)
          does a write operation
 WriteResult DBCollection.update(DBObject q, DBObject o)
          calls DBCollection.update(com.mongodb.DBObject, com.mongodb.DBObject, boolean, boolean) with upsert=false and multi=false
 WriteResult DBCollection.update(DBObject q, DBObject o, boolean upsert, boolean multi)
          calls DBCollection.update(com.mongodb.DBObject, com.mongodb.DBObject, boolean, boolean, com.mongodb.WriteConcern) with default WriteConcern.
abstract  WriteResult DBCollection.update(DBObject q, DBObject o, boolean upsert, boolean multi, WriteConcern concern)
          Performs an update operation.
 WriteResult DBCollection.updateMulti(DBObject q, DBObject o)
          calls DBCollection.update(com.mongodb.DBObject, com.mongodb.DBObject, boolean, boolean) with upsert=false and multi=true