@Test public void delete() { TestModel m = new TestModel(); m.title = "hej"; m.save(); m.delete(); assertFalse(m.exists()); }
final public void delete() { Transaction t = new Transaction(); try { delete(t); t.setSuccessful(true); } finally { t.finish(); } }
Model implements QueryResult { final public void delete() { Transaction t = new Transaction(); try { delete(t); t.setSuccessful(true); } finally { t.finish(); } } }
Model implements QueryResult { final public void delete() { Transaction t = new Transaction(); try { delete(t); t.setSuccessful(true); } finally { t.finish(); } }  }
Model implements QueryResult { final public void delete() { Transaction t = new Transaction(); try { delete(t); t.setSuccessful(true); } finally { t.finish(); } }  boolean isValid(); final boolean exists(); final boolean save(); final boolean save(Transaction t); final void saveAsync(); final void saveAsync(final OnSavedCallback callback); final void delete(); final void delete(Transaction t); final void deleteAsync(); final void deleteAsync(final OnDeletedCallback callback); }
Model implements QueryResult { final public void delete() { Transaction t = new Transaction(); try { delete(t); t.setSuccessful(true); } finally { t.finish(); } }  boolean isValid(); final boolean exists(); final boolean save(); final boolean save(Transaction t); final void saveAsync(); final void saveAsync(final OnSavedCallback callback); final void delete(); final void delete(Transaction t); final void deleteAsync(); final void deleteAsync(final OnDeletedCallback callback);  }