Class CreateOutputJobPersistTask
java.lang.Object
ch.tocco.nice2.outputcenter.impl.persisttask.CreateOutputJobPersistTask
- All Implemented Interfaces:
PersistTask<OutputJobBuilder,
Entity>
public class CreateOutputJobPersistTask
extends Object
implements PersistTask<OutputJobBuilder,Entity>
-
Constructor Summary
ConstructorDescriptionCreateOutputJobPersistTask
(EntityDefaultValueService entityDefaultValueService, PdfUtilityService pdfUtilityService, DocumentDao documentDao, TimezoneResolverService timezoneResolverService) -
Method Summary
Modifier and TypeMethodDescription@Nullable Entity
run
(Optional<OutputJobBuilder> outputJobBuilder, 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.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
CreateOutputJobPersistTask
public CreateOutputJobPersistTask(EntityDefaultValueService entityDefaultValueService, PdfUtilityService pdfUtilityService, DocumentDao documentDao, TimezoneResolverService timezoneResolverService)
-
-
Method Details
-
run
@Nullable public @Nullable Entity run(Optional<OutputJobBuilder> outputJobBuilder, CommandContext commandContext) throws Exception - Specified by:
run
in interfacePersistTask<OutputJobBuilder,
Entity> - Throws:
Exception
-