public void deletePursuit(Pursuit pursuit) {
    long pursuitId = pursuit.getId();

    scoreDAO.deleteScore(pursuit.getIdealScore());
    /*long idealScoreId = pursuit.getIdealScore().getId();*/

    Log.d(this.getClass().getSimpleName(), "Deleting task Id: " + pursuitId);
    database.delete(
        DatabaseHelper.PURSUIT_TABLE,
        DatabaseHelper.COLUMN_PURSUIT_ID_PK + " = " + pursuitId,
        null);
  }
  public void update(Pursuit pursuit) {
    ContentValues values = getContentValues(pursuit);
    /*        new ContentValues();
    values.put(DatabaseHelper.COLUMN_PURSUIT_NAME, pursuit.getName());
    values.put(DatabaseHelper.COLUMN_PURSUIT_TYPE, pursuit.getStatedType().getIntCode());
    */
    // TODO - values.put(DatabaseHelper.COLUMN_IDEAL_SCORE);

    // values.put(DatabaseHelper.COLUMN_COMPLETE, pursuit.getCompleteAsInteger());

    database.update(
        DatabaseHelper.PURSUIT_TABLE,
        values,
        DatabaseHelper.COLUMN_PURSUIT_ID_PK + "=" + pursuit.getId(),
        null);
  }