code: public ObjectResult deleteObject(String tableName, String objID) {
          Utils.require(!Utils.isEmpty(tableName), "tableName");
          Utils.require(!Utils.isEmpty(objID), "objID");
          TableDefinition tableDef = m_appDef.getTableDef(tableName);
          Utils.require(tableDef != null,
                        "Unknown table for application '%s': %s", m_appDef.getAppName(), tableName);
          DBObjectBatch dbObjBatch = new DBObjectBatch();
          dbObjBatch.addObject(objID, tableName);
          BatchResult batchResult = deleteBatch(tableName, dbObjBatch);
          if (batchResult.isFailed()) {
              throw new RuntimeException(batchResult.getErrorMessage());
          }
          return batchResult.getResultObjects().iterator().next();
      }
docs: Delete the object with the given ID from the given table. This is a convenience
  method that creates a {@link DBObjectBatch} consisting of a single {@link DBObject}
  with the given ID and then calls {@link #deleteBatch(String, DBObjectBatch)}. The
  {@link ObjectResult} for the object ID is then returned. It is not an error to
  delete an object that has already been deleted.
  
  @param tableName Name of table from which to delete object. It must belong to this
  session's application.
  @param objID     ID of object to delete.
  @return          {@link ObjectResult} of deletion request.