Class CascadingDeleteEntityListener
java.lang.Object
ch.tocco.nice2.entityoperation.impl.entitylistener.CascadingDeleteEntityListener
- All Implemented Interfaces:
EntityFacadeListener
,EventListener
-
Constructor Summary
ConstructorDescriptionCascadingDeleteEntityListener
(SecurityManager securityManager, BusinessUnitManager businessUnitManager, DeleteService deleteService, QueryBuilderFactory queryBuilderFactory, ClientQuestionService clientQuestionService, TextResources textResources) -
Method Summary
Modifier and TypeMethodDescriptionvoid
entityDeleting
(EntityFacadeEvent event) Fired when an entity is being deleted.void
setRelatedEntitiesToDelete
(List<CascadingDeleteEntityListenerContribution> contributions) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.entity.events.EntityFacadeListener
entityChanging, entityCreating, entityReceivedValues, entityRelationChanging, handleSessionOnlyEntity
-
Constructor Details
-
CascadingDeleteEntityListener
public CascadingDeleteEntityListener(SecurityManager securityManager, BusinessUnitManager businessUnitManager, DeleteService deleteService, QueryBuilderFactory queryBuilderFactory, ClientQuestionService clientQuestionService, TextResources textResources)
-
-
Method Details
-
entityDeleting
Description copied from interface:EntityFacadeListener
Fired when an entity is being deleted.- Specified by:
entityDeleting
in interfaceEntityFacadeListener
- Parameters:
event
- The event Object
-
setRelatedEntitiesToDelete
@Autowired public void setRelatedEntitiesToDelete(List<CascadingDeleteEntityListenerContribution> contributions)
-