Class ReferenceCodeCreateEntityListener

java.lang.Object
ch.tocco.nice2.persist.core.api.util.CollectingAfterCommitListener
ch.tocco.nice2.optional.finance.impl.entitylistener.ReferenceCodeCreateEntityListener
All Implemented Interfaces:
ContextListener, EntityListener, CommitListener, EventListener

@Component public class ReferenceCodeCreateEntityListener extends CollectingAfterCommitListener
generates a reference code for a order, when it is created uses ReferenceCodeService AfterCommitListener because it needs the order number, which is generated on commit