Class PreprocessingCascadingDelete
java.lang.Object
ch.tocco.nice2.persist.entity.impl.cascadingdelete.PreprocessingCascadingDelete
- All Implemented Interfaces:
CascadingDelete
Creates a
PreprocessedDeletionSet
.-
Constructor Summary
ConstructorDescriptionPreprocessingCascadingDelete
(BusinessUnitManager businessUnitManager, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptioncreateDeletionSet
(Entity entity) Create a deletion set for the passedEntity
which you can traverse with your own implementation of anDeletionSetTraverser
and
-
Constructor Details
-
PreprocessingCascadingDelete
public PreprocessingCascadingDelete(BusinessUnitManager businessUnitManager, SecurityManager securityManager)
-
-
Method Details
-
createDeletionSet
Description copied from interface:CascadingDelete
Create a deletion set for the passedEntity
which you can traverse with your own implementation of anDeletionSetTraverser
and- Specified by:
createDeletionSet
in interfaceCascadingDelete
- Parameters:
entity
- the entity you want to delete (and configured cascading relations)- Returns:
- a deletion set which you can traverse
-