Class ClearIncomingPaymentRelationEntityListener
java.lang.Object
ch.tocco.nice2.persist.core.api.entity.events.InterruptibleEntityFacadeAdapter
ch.tocco.nice2.optional.finance.impl.entitylistener.ClearIncomingPaymentRelationEntityListener
- All Implemented Interfaces:
EntityFacadeListener
,EventListener
Listens on incoming payment changes. Checks if the changed relation was added and if it is a relevant relation of any
IncomingPaymentHandler
. If so, non relevant data will be cleared/deleted and relevant data will be set. To
clear and set data, the corresponding methods of the available IncomingPaymentHandler
s will be used.-
Constructor Summary
ConstructorDescriptionClearIncomingPaymentRelationEntityListener
(SecurityManager securityManager, IncomingPaymentHandlerService incomingPaymentHandlerService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Methods inherited from class ch.tocco.nice2.persist.core.api.entity.events.InterruptibleEntityFacadeAdapter
entityChanging, entityChangingInterruptible, entityCreating, entityCreatingInterruptible, entityDeleting, entityDeletingInterruptible, entityReceivedValues, entityReceivedValuesInterruptible, entityRelationChanging
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
handleSessionOnlyEntity
-
Constructor Details
-
ClearIncomingPaymentRelationEntityListener
public ClearIncomingPaymentRelationEntityListener(SecurityManager securityManager, IncomingPaymentHandlerService incomingPaymentHandlerService)
-
-
Method Details
-
entityRelationChangingInterruptible
- Overrides:
entityRelationChangingInterruptible
in classInterruptibleEntityFacadeAdapter
-