Class EmailRelationConfigTask
java.lang.Object
ch.tocco.nice2.optional.event.impl.flows.usereventregistration.EmailRelationConfigTask
- All Implemented Interfaces:
OptionalTask<List<PrimaryKey>,,Void> PersistTask<List<PrimaryKey>,Void>
used to send mails to all users that where defined in the
Email_relation_config passed to the flow-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classbean class to be used withEmailRelationConfigTaskto send customized emails from Registration entities -
Constructor Summary
ConstructorsConstructorDescriptionEmailRelationConfigTask(EmailTemplateLoadService emailTemplateLoadService, MailFactory mailFactory, EmailRelationConfigTask.EmailTemplateConfiguration[] mailTemplates) -
Method Summary
Modifier and TypeMethodDescriptiondoRun(List<PrimaryKey> registrationKeys, CommandContext commandContext) Methods 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.exec.OptionalTask
runMethods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
EmailRelationConfigTask
public EmailRelationConfigTask(EmailTemplateLoadService emailTemplateLoadService, MailFactory mailFactory, EmailRelationConfigTask.EmailTemplateConfiguration[] mailTemplates)
-
-
Method Details
-
doRun
public Void doRun(List<PrimaryKey> registrationKeys, CommandContext commandContext) throws Exception - Specified by:
doRunin interfaceOptionalTask<List<PrimaryKey>,Void> - Throws:
Exception
-