Interface DeleteService.EntityDeletionData
- All Known Implementing Classes:
DeleteServiceImpl.EntityDeletionDataImpl
- Enclosing interface:
DeleteService
public static interface DeleteService.EntityDeletionData
Contains a deleted entity and all its
referenced entities that would be affected
by a cascading delete.
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getEntityToDelete
DeleteService.EntityData getEntityToDelete()- Returns:
- the entity that should be deleted
-
getCascadedEntities
Set<DeleteService.EntityData> getCascadedEntities()- Returns:
- all referenced entities that would be deleted by the cascading operation
-
getBlockingEntities
Set<DeleteService.EntityData> getBlockingEntities()- Returns:
- all entities that are blocking the deletion of the root entity (due to missing permissions or
DeleteBehavior.Cascade.DENY
-