Class CreateMailArchiveEntryTask
java.lang.Object
ch.tocco.nice2.messaging.mail.impl.CreateMailArchiveEntryTask
- All Implemented Interfaces:
OptionalTask<MailArchive.MailArchiveEntry,
,CreateMailArchiveEntryTask.Result> PersistTask<MailArchive.MailArchiveEntry,
CreateMailArchiveEntryTask.Result>
public class CreateMailArchiveEntryTask
extends Object
implements OptionalTask<MailArchive.MailArchiveEntry,CreateMailArchiveEntryTask.Result>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreateMailArchiveEntryTask
(org.slf4j.Logger log, Context context, NiceDataModel dataModel, EntityDefaultValueService entityDefaultValueService, MailArchiveAttachmentService mailArchiveAttachmentService, PrincipalService principalService, QueryBuilderFactory queryBuilderFactory, MailArchiveInterceptor mailArchiveInterceptor, List<String> emailArchiveTechnicalRelations) -
Method Summary
Modifier and TypeMethodDescriptiondoRun
(MailArchive.MailArchiveEntry mailArchiveEntry, CommandContext commandContext) 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.exec.OptionalTask
run
Methods 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
-
Field Details
-
SPLITTER
public static final com.google.common.base.Splitter SPLITTER
-
-
Constructor Details
-
CreateMailArchiveEntryTask
public CreateMailArchiveEntryTask(org.slf4j.Logger log, Context context, NiceDataModel dataModel, EntityDefaultValueService entityDefaultValueService, MailArchiveAttachmentService mailArchiveAttachmentService, PrincipalService principalService, QueryBuilderFactory queryBuilderFactory, MailArchiveInterceptor mailArchiveInterceptor, List<String> emailArchiveTechnicalRelations)
-
-
Method Details
-
doRun
public CreateMailArchiveEntryTask.Result doRun(MailArchive.MailArchiveEntry mailArchiveEntry, CommandContext commandContext) throws Exception - Specified by:
doRun
in interfaceOptionalTask<MailArchive.MailArchiveEntry,
CreateMailArchiveEntryTask.Result> - Throws:
Exception
-