* @see com.sissi.ucenter.relation.muc.room.Room#push(com.sissi.field.Fields)
*/
public Room push(Fields fields) {
BasicDBObjectBuilder update = BasicDBObjectBuilder.start();
for (Field<?> field : fields) {
RoomConfigParser parser = MongoRoomBuilder.this.parsers.get(field.getName());
if (parser != null) {
update.add(Dictionary.FIELD_CONFIGS + "." + parser.field(), parser.parse(field));
}
}
if (!update.isEmpty()) {
MongoRoomBuilder.this.config.collection().update(this.build(), BasicDBObjectBuilder.start("$set", update.get()).get());
}