Package com.googlecode.objectify.cmd
Interface DeferredDeleteIds
- All Known Subinterfaces:
DeferredDeleteType
public interface DeferredDeleteIds
Terminator methods for a delete-by-key command chain which constructs the key implicitly from type, id, and (optionally) parent.
Deletes do NOT cascade; you must delete each individual entity in an object graph.
All command objects are immutable.
- Author:
- Jeff Schnitzer invalid input: '<'[email protected]>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
id
(long id) Specify the numeric id of an entity and defer deletion.void
Specify the String id of an entity and defer deletion.void
ids
(long... ids) Specify the numeric ids of multiple entities and defer deletion.void
Specify the ids of multiple entities and defer deletion.void
Specify the String ids of multiple entities and defer deletion.
-
Method Details
-
id
void id(long id) Specify the numeric id of an entity and defer deletion.
- Parameters:
id
- - the id of the entity to delete. Note that numeric ids and String ids are not equivalent; 123 and "123" are different ids.
-
id
Specify the String id of an entity and defer deletion.
- Parameters:
id
- - the id of the entity to delete. Note that numeric ids and String ids are not equivalent; 123 and "123" are different ids.
-
ids
void ids(long... ids) Specify the numeric ids of multiple entities and defer deletion.
- Parameters:
ids
- - the ids of the entity to delete. Note that numeric ids and String ids are not equivalent; 123 and "123" are different ids.
-
ids
Specify the String ids of multiple entities and defer deletion.
- Parameters:
ids
- - the ids of the entity to delete. Note that numeric ids and String ids are not equivalent; 123 and "123" are different ids.
-
ids
Specify the ids of multiple entities and defer deletion.
- Parameters:
ids
- - the ids of the entities to delete. The Iterator must provide Long or String. Note that numeric ids and String ids are not equivalent; 123 and "123" are different ids.
-