Class PreprocessedDeletionSet
java.lang.Object
ch.tocco.nice2.persist.entity.impl.cascadingdelete.PreprocessedDeletionSet
- All Implemented Interfaces:
DeletionSet
-
Constructor Summary
ConstructorDescriptionPreprocessedDeletionSet
(DeletionTree tree, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(DeletionSetTraverser traverser) Delete the whole set in one transaction (all or nothing).void
traverse
(DeletionSetTraverser traverser) Traverse the deletion-set event-based.
-
Constructor Details
-
PreprocessedDeletionSet
-
-
Method Details
-
traverse
Description copied from interface:DeletionSet
Traverse the deletion-set event-based.- Specified by:
traverse
in interfaceDeletionSet
- Parameters:
traverser
- your ownDeletionSetTraverser
implementation
-
delete
Description copied from interface:DeletionSet
Delete the whole set in one transaction (all or nothing). The traverser is thought to modify it before deleting (exclude some).- Specified by:
delete
in interfaceDeletionSet
- Parameters:
traverser
- the traverser
-