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
ConstructorsConstructorDescriptionReferenceUpdateEntityListener(ReferenceCodeService referenceCodeService, ClientQuestionService clientQuestionService, TextResources textResources, DefaultDisplayService defaultDisplayService) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetReferenceUpdateListenerContribution(List<ReferenceUpdateListenerContribution> referenceUpdateListenerContribution) Methods inherited from class ch.tocco.nice2.persist.core.api.entity.events.InterruptibleEntityFacadeAdapter
entityChanging, entityChangingInterruptible, entityCreating, entityCreatingInterruptible, entityDeleting, entityDeletingInterruptible, entityReceivedValues, entityReceivedValuesInterruptible, entityRelationChangingMethods 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
handleSessionOnlyEntity
-
Constructor Details
-
ReferenceUpdateEntityListener
public ReferenceUpdateEntityListener(ReferenceCodeService referenceCodeService, ClientQuestionService clientQuestionService, TextResources textResources, DefaultDisplayService defaultDisplayService)
-
-
Method Details
-
entityRelationChangingInterruptible
- Overrides:
entityRelationChangingInterruptiblein classInterruptibleEntityFacadeAdapter
-
setReferenceUpdateListenerContribution
@Autowired(required=false) public void setReferenceUpdateListenerContribution(List<ReferenceUpdateListenerContribution> referenceUpdateListenerContribution)
-