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.
Modifier and Type | Method and Description |
---|---|
void |
id(long id)
Specify the numeric id of an entity and defer deletion.
|
void |
id(String id)
Specify the String id of an entity and defer deletion.
|
void |
ids(Iterable<?> ids)
Specify the ids of multiple entities and defer deletion.
|
void |
ids(long... ids)
Specify the numeric ids of multiple entities and defer deletion.
|
void |
ids(String... ids)
Specify the String ids of multiple entities and defer deletion.
|
void id(long id)
Specify the numeric id of an entity and defer deletion.
id
- - the id of the entity to delete. Note that numeric ids and String ids are not equivalent; 123 and "123" are different ids.void id(String id)
Specify the String id of an entity and defer deletion.
id
- - the id of the entity to delete. Note that numeric ids and String ids are not equivalent; 123 and "123" are different ids.void ids(long... ids)
Specify the numeric ids of multiple entities and defer deletion.
ids
- - the ids of the entity to delete. Note that numeric ids and String ids are not equivalent; 123 and "123" are different ids.void ids(String... ids)
Specify the String ids of multiple entities and defer deletion.
ids
- - the ids of the entity to delete. Note that numeric ids and String ids are not equivalent; 123 and "123" are different ids.void ids(Iterable<?> ids)
Specify the ids of multiple entities and defer deletion.
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.Copyright © 2015. All rights reserved.