public static void delete_by_uuid(String uuid) { delete_by_uuid(uuid,false); }
public static void delete_by_uuid(String uuid) { delete_by_uuid(uuid,false); }
public static void delete_by_uuid(String uuid) { delete_by_uuid(uuid,false); }
private synchronized void deleteTreatment(DataMap dataMap) { ArrayList<String> entries = dataMap.getStringArrayList("entries"); for (String uuid : entries) { Log.d(TAG, "syncTreatmentsData deleteTreatment for uuid=" + uuid); Treatments.delete_by_uuid(uuid); } }
public static void delete_by_timestamp(long timestamp, int accuracy, boolean from_interactive) { final Treatments t = byTimestamp(timestamp, accuracy); // do we need to alter default accuracy? if (t != null) { Log.d(TAG, "Deleting treatment closest to: " + JoH.dateTimeText(timestamp) + " matches uuid: " + t.uuid); delete_by_uuid(t.uuid, from_interactive); } else { Log.e(TAG, "Couldn't find a treatment near enough to " + JoH.dateTimeText(timestamp) + " to delete!"); } }
redo_queue.add(item); undo_queue.remove(location); Treatments.delete_by_uuid(item.Treatment_uuid,true); } catch (NullPointerException e) { UserError.Log.wtf(TAG, "Null pointer exception in undoNext()");
redo_queue.add(item); undo_queue.remove(location); Treatments.delete_by_uuid(item.Treatment_uuid,true); } catch (NullPointerException e) { UserError.Log.wtf(TAG, "Null pointer exception in undoNext()");
public static void delete_by_timestamp(long timestamp, int accuracy, boolean from_interactive) { final Treatments t = byTimestamp(timestamp, accuracy); // do we need to alter default accuracy? if (t != null) { Log.d(TAG, "Deleting treatment closest to: " + JoH.dateTimeText(timestamp) + " matches uuid: " + t.uuid); delete_by_uuid(t.uuid, from_interactive); } else { Log.e(TAG, "Couldn't find a treatment near enough to " + JoH.dateTimeText(timestamp) + " to delete!"); } }
public static void delete_by_timestamp(long timestamp, int accuracy, boolean from_interactive) { final Treatments t = byTimestamp(timestamp, accuracy); // do we need to alter default accuracy? if (t != null) { Log.d(TAG, "Deleting treatment closest to: " + JoH.dateTimeText(timestamp) + " matches uuid: " + t.uuid); delete_by_uuid(t.uuid, from_interactive); } else { Log.e(TAG, "Couldn't find a treatment near enough to " + JoH.dateTimeText(timestamp) + " to delete!"); } }
Log.i(TAG, "Attempting GCM delete specific treatment"); if (Home.get_master_or_follower() && Home.follower_or_accept_follower()) Treatments.delete_by_uuid(filter(payload)); } else if (action.equals("clc")) { Log.i(TAG, "Attempting to clear last calibration");
Log.i(TAG, "Attempting GCM delete specific treatment"); if (Home.get_master_or_follower() && Home.follower_or_accept_follower()) Treatments.delete_by_uuid(filter(payload)); } else if (action.equals("clc")) { Log.i(TAG, "Attempting to clear last calibration");