Class ReferenceUpdateEntityListener
java.lang.Object
ch.tocco.nice2.persist.core.api.entity.events.InterruptibleEntityFacadeAdapter
ch.tocco.nice2.optional.finance.impl.entitylistener.ReferenceUpdateEntityListener
- All Implemented Interfaces:
EntityFacadeListener
,EventListener
updates the reference code of a order every time the esr account or the addresses are changed
uses
ReferenceCodeService
-
Constructor Summary
ConstructorDescriptionReferenceUpdateEntityListener
(ReferenceCodeService referenceCodeService, ClientQuestionService clientQuestionService, TextResources textResources, DefaultDisplayService defaultDisplayService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setReferenceUpdateListenerContribution
(List<ReferenceUpdateListenerContribution> referenceUpdateListenerContribution) 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
-
ReferenceUpdateEntityListener
public ReferenceUpdateEntityListener(ReferenceCodeService referenceCodeService, ClientQuestionService clientQuestionService, TextResources textResources, DefaultDisplayService defaultDisplayService)
-
-
Method Details
-
entityRelationChangingInterruptible
- Overrides:
entityRelationChangingInterruptible
in classInterruptibleEntityFacadeAdapter
-
setReferenceUpdateListenerContribution
@Autowired(required=false) public void setReferenceUpdateListenerContribution(List<ReferenceUpdateListenerContribution> referenceUpdateListenerContribution)
-