Package com.googlecode.objectify.cmd
Interface DeleteType
-
- All Superinterfaces:
DeleteIds
public interface DeleteType extends DeleteIds
After a type is specified, the next step in a delete chain is to specify an optional parent or a set of ids. This is part of
Deletes do NOT cascade; you must delete each individual entity in an object graph.
All command objects are immutable.
- Author:
- Jeff Schnitzer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteIds
parent(Object keyOrEntity)
Defines the parent part of a key (or set of keys) when building a delete request.
-
-
-
Method Detail
-
parent
DeleteIds parent(Object keyOrEntity)
Defines the parent part of a key (or set of keys) when building a delete request. After this you will define the id or ids to delete.All command objects are immutable; this method returns a new object instead of modifying the current command object.
- Parameters:
keyOrEntity
- - a Key>, datastore Key, or pojo entity of the parent- Returns:
- the next immutable step in the command build process
-
-