Class PreprocessingCascadingDelete

java.lang.Object
ch.tocco.nice2.persist.entity.impl.cascadingdelete.PreprocessingCascadingDelete
All Implemented Interfaces:
CascadingDelete

@Component public class PreprocessingCascadingDelete extends Object implements CascadingDelete
  • Constructor Details

  • Method Details

    • createDeletionSet

      public DeletionSet createDeletionSet(Entity entity)
      Description copied from interface: CascadingDelete
      Create a deletion set for the passed Entity which you can traverse with your own implementation of an DeletionSetTraverser and
      Specified by:
      createDeletionSet in interface CascadingDelete
      Parameters:
      entity - the entity you want to delete (and configured cascading relations)
      Returns:
      a deletion set which you can traverse