Class DeleteSelectedSupport
java.lang.Object
fr.tiogars.inception.common.services.DeleteSelectedSupport
Applies a single-record deletion to each selected identifier.
- Since:
- 0.1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteSelectedResponsedeleteEach(List<Long> ids, Predicate<Long> delete) Deletes each distinct identifier, preserving the input order.
-
Method Details
-
deleteEach
Deletes each distinct identifier, preserving the input order.- Parameters:
ids- selected identifiersdelete- deletion returningtruewhen the record was deleted- Returns:
- deleted and skipped identifiers
-