Class GenericImporterTask
java.lang.Object
ch.tocco.nice2.tasks.api.quartz.AbstractJob
ch.tocco.nice2.tasks.api.quartz.AbstractInterruptableJob
ch.tocco.nice2.entityoperation.impl.action.GenericImporterTask
- All Implemented Interfaces:
org.quartz.InterruptableJob, org.quartz.Job
Task for the GenericImporterAction
- splits the file and commit each split
- write file with error rows
-
Field Summary
Fields inherited from class AbstractJob
businessUnitManager, l10N, logger, principalManager, securityManager -
Constructor Summary
ConstructorsConstructorDescriptionGenericImporterTask(org.slf4j.Logger log, ContextManager contextManager, EntityDefaultValueService entityDefaultValueService, GenericImporterService genericImporterService, CommandExecutor executor, ImportConverterServiceProvider importConverterServiceProvider, GenericImporterReportService reportService, TimezoneResolverService timezoneResolverService) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(org.quartz.JobExecutionContext context, JobDataMapReader jobData) static com.google.common.collect.Multimap<Integer, GenericImporterValidateResult.Message> Methods inherited from class AbstractInterruptableJob
interrupt, isCancelledMethods inherited from class AbstractJob
execute, getProgress, getProgressLog, setBusinessUnitManager, setConverters, setL10N, setLogger, setPrincipalManager, setProgressPersistenceManager, setRuleProviderService, setSecurityManagerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.quartz.Job
execute
-
Constructor Details
-
GenericImporterTask
public GenericImporterTask(org.slf4j.Logger log, ContextManager contextManager, EntityDefaultValueService entityDefaultValueService, GenericImporterService genericImporterService, CommandExecutor executor, ImportConverterServiceProvider importConverterServiceProvider, GenericImporterReportService reportService, TimezoneResolverService timezoneResolverService)
-
-
Method Details
-
doExecute
- Specified by:
doExecutein classAbstractJob
-
transformMessages
public static com.google.common.collect.Multimap<Integer, GenericImporterValidateResult.Message> transformMessages(List<GenericImporterValidateResult.Message> messages)
-