Package com.googlecode.objectify.impl
Class DeleterImpl
- java.lang.Object
-
- com.googlecode.objectify.impl.DeleterImpl
-
-
Constructor Summary
Constructors Constructor Description DeleterImpl(ObjectifyImpl ofy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Result<Void>
entities(Iterable<?> entities)
Begin asynchronous deletion of specific entities.Result<Void>
entities(Object... entities)
Convenient substitute for entities(Iterable)Result<Void>
entity(Object entity)
Begin asynchronous deletion of a specific entity.Result<Void>
key(Key<?> key)
Begin asynchronous deletion of a specific entity.Result<Void>
keys(Key<?>... keys)
Convenient substitute for keys(Iterable)Result<Void>
keys(Iterable<? extends Key<?>> keys)
Begin asynchronous deletion of specific entities.DeleteType
type(Class<?> type)
Begin construction of a key or keys to delete by specifying a kind.
-
-
-
Constructor Detail
-
DeleterImpl
public DeleterImpl(ObjectifyImpl ofy)
-
-
Method Detail
-
type
public DeleteType type(Class<?> type)
Description copied from interface:Deleter
Begin construction of a key or keys to delete by specifying a kind.All command objects are immutable; this method returns a new object instead of modifying the current command object.
-
key
public Result<Void> key(Key<?> key)
Description copied from interface:Deleter
Begin asynchronous deletion of a specific entity.
To force synchronous delete, call now() on the returned Result.
-
keys
public Result<Void> keys(Key<?>... keys)
Description copied from interface:Deleter
Convenient substitute for keys(Iterable)
-
keys
public Result<Void> keys(Iterable<? extends Key<?>> keys)
Description copied from interface:Deleter
Begin asynchronous deletion of specific entities.
To force synchronous delete, call now() on the returned Result.
-
entity
public Result<Void> entity(Object entity)
Description copied from interface:Deleter
Begin asynchronous deletion of a specific entity.
To force synchronous delete, call now() on the returned Result.
-
entities
public Result<Void> entities(Iterable<?> entities)
Description copied from interface:Deleter
Begin asynchronous deletion of specific entities.
To force synchronous delete, call now() on the returned Result.
-
-