code: @Override
      public Device get(String deviceId) {
          DBCursor devices = devicesCollection().find(new BasicDBObject(ImmutableMap.of("deviceId", deviceId)));
          if(devices.hasNext()) {
              return dbObjectToDevice(devices.next());
          }
          return null;
      }
docs: API operations