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
ConstructorsConstructorDescriptionSendInvitationMailEntityListener(EmailTemplateLoadService emailTemplateLoadService, CommandExecutor commandExecutor, MailFactory mailFactory, L10N l10N) -
Method Summary
Methods inherited from class CollectingAfterCommitListener
afterCommit, beforeCommit, contextDestroying, customizeMode, entityCreated, entityDeleted, entityUpdated, handleAfterCommit, setFutureCollectorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CommitListener
afterFlush, priorityMethods inherited from interface ContextListener
transactionStarted
-
Constructor Details
-
SendInvitationMailEntityListener
public SendInvitationMailEntityListener(EmailTemplateLoadService emailTemplateLoadService, CommandExecutor commandExecutor, MailFactory mailFactory, L10N l10N)
-
-
Method Details
-
getAfterCommitTask
- Specified by:
getAfterCommitTaskin classCollectingAfterCommitListener
-