Interface ExecutableRemoveOperation.RemoveWithCollection<T>
- Type Parameters:
T-
- All Superinterfaces:
ExecutableRemoveOperation.RemoveWithQuery<T>, ExecutableRemoveOperation.TerminatingRemove<T>, ExecutableRemoveOperation.TerminatingResults<T>
- All Known Subinterfaces:
ExecutableRemoveOperation.ExecutableRemove<T>
- Enclosing interface:
ExecutableRemoveOperation
public static interface ExecutableRemoveOperation.RemoveWithCollection<T>
extends ExecutableRemoveOperation.RemoveWithQuery<T>
Collection override (optional).
- Since:
- 2.0
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptioninCollection(String collection) Explicitly set the name of the collection to perform the query on.Methods inherited from interface ExecutableRemoveOperation.RemoveWithQuery
matching, matchingMethods inherited from interface ExecutableRemoveOperation.TerminatingRemove
all, oneMethods inherited from interface ExecutableRemoveOperation.TerminatingResults
findAndRemove, map
-
Method Details
-
inCollection
Explicitly set the name of the collection to perform the query on.
Skip this step to use the default collection derived from the domain type.- Parameters:
collection- must not be null nor empty.- Returns:
- new instance of
ExecutableRemoveOperation.RemoveWithCollection. - Throws:
IllegalArgumentException- if collection is null.
-