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