Class SendInvitationMailEntityListener
java.lang.Object
ch.tocco.nice2.persist.core.api.util.CollectingAfterCommitListener
ch.tocco.nice2.optional.evaluation.impl.entitylistener.SendInvitationMailEntityListener
- All Implemented Interfaces:
ContextListener
,EntityListener
,CommitListener
,EventListener
@ConditionalOnProperty(value="ch.tocco.nice2.optional.evaluation.disableSendInvitationMailEntityListener",
havingValue="false",
matchIfMissing=true)
public class SendInvitationMailEntityListener
extends CollectingAfterCommitListener
sends an invitation mail if it is set and an evaluation execution gets created
-
Constructor Summary
ConstructorDescriptionSendInvitationMailEntityListener
(EmailTemplateLoadService emailTemplateLoadService, CommandExecutor commandExecutor, MailFactory mailFactory, L10N l10N) -
Method Summary
Methods inherited from class ch.tocco.nice2.persist.core.api.util.CollectingAfterCommitListener
afterCommit, beforeCommit, contextDestroying, customizeMode, entityCreated, entityDeleted, entityUpdated, handleAfterCommit, setFutureCollector
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.util.CommitListener
afterFlush, priority
Methods inherited from interface ch.tocco.nice2.persist.core.api.ContextListener
transactionStarted
-
Constructor Details
-
SendInvitationMailEntityListener
public SendInvitationMailEntityListener(EmailTemplateLoadService emailTemplateLoadService, CommandExecutor commandExecutor, MailFactory mailFactory, L10N l10N)
-
-
Method Details
-
getAfterCommitTask
- Specified by:
getAfterCommitTask
in classCollectingAfterCommitListener
-