3334353637383940414243
return new ResultHelper<Void>() { public Void get() { Objectify sync = base.sync(); T object = sync.get(clazz, id); new Deleter(sync, factory).delete(object); return null; } };
4849505152535455565758
return new ResultHelper<Void>() { public Void get() { Objectify sync = base.sync(); T object = sync.get(clazz, name); new Deleter(sync, factory).delete(object); return null; } };
686970717273747576777879808182838485
return new ResultHelper<Void>() { public Void get() { Objectify sync = base.sync(); Deleter deleter = new Deleter(sync, factory); for (Object object : keysOrEntities) { if (isKey(object)) { sync.delete(object); } else { deleter.delete(object); } } return null;
3435363738394041
} public <T> void delete(Class<T> clazz, long id) { T object = find(clazz, id); if (object != null) { new Deleter(base, factory).delete(object); } }
4142434445464748
} public <T> void delete(Class<T> clazz, String name) { T object = find(clazz, name); if (object != null) { new Deleter(base, factory).delete(object); } }
53545556575859606162
if (isKey(obj)) { obj = this.get((Key<?>) obj); } new Deleter(base, factory).delete(obj); } }