Class CascadingDeleteEntityListener
java.lang.Object
ch.tocco.nice2.entityoperation.impl.entitylistener.CascadingDeleteEntityListener
- All Implemented Interfaces:
EntityFacadeListener,EventListener
-
Constructor Summary
ConstructorsConstructorDescriptionCascadingDeleteEntityListener(SecurityManager securityManager, BusinessUnitManager businessUnitManager, DeleteService deleteService, QueryBuilderFactory queryBuilderFactory, ClientQuestionService clientQuestionService, TextResources textResources) -
Method Summary
Modifier and TypeMethodDescriptionvoidentityDeleting(EntityFacadeEvent event) Fired when an entity is being deleted.voidsetRelatedEntitiesToDelete(List<CascadingDeleteEntityListenerContribution> contributions) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:EntityFacadeListenerFired when an entity is being deleted.- Specified by:
entityDeletingin interfaceEntityFacadeListener- Parameters:
event- The event Object
-
setRelatedEntitiesToDelete
@Autowired public void setRelatedEntitiesToDelete(List<CascadingDeleteEntityListenerContribution> contributions)
-