Class DeferredImpl
- All Implemented Interfaces:
Deferred
- Author:
- Jeff Schnitzer invalid input: '<'[email protected]>
-
Constructor Details
-
DeferredImpl
-
-
Method Details
-
save
Description copied from interface:Deferred
Start a deferred save command chain. Allows you to save (or re-save) entity objects. Note that all command chain objects are immutable.
Saves do NOT cascade; if you wish to save an object graph, you must save each individual entity.
A quick example:
ofy().defer().save().entities(e1, e2, e3);
All command objects are immutable; this method returns a new object rather than modifying the current command object.
-
delete
Description copied from interface:Deferred
Start a deferred delete command chain. Lets you delete entities or keys.
Deletes do NOT cascade; if you wish to delete an object graph, you must delete each individual entity.
A quick example:
ofy().defer().delete().entities(e1, e2, e3);
All command objects are immutable; this method returns a new object rather than modifying the current command object.
-