@Test public void afterDelete() { TestModel m = new TestModel(); m.title = "hej"; m.save(); assertFalse(m.deleted); m.delete(); assertTrue(m.deleted); }
protected void afterDelete() { }
Model implements QueryResult { protected void afterDelete() { } }
Model implements QueryResult { protected void afterDelete() { }  }
Model implements QueryResult { protected void afterDelete() { }  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 { protected void afterDelete() { }  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);  }