Class EvaluateConflictStatusBatchJob
java.lang.Object
ch.tocco.nice2.tasks.api.quartz.AbstractJob
ch.tocco.nice2.optional.conflict.impl.batch.EvaluateConflictStatusBatchJob
- All Implemented Interfaces:
org.quartz.Job
This batch job looks for entities (Reservations, Registrations, Lecturer_bookings) with conflict status
"unknown" and sets the correct status for them.
-
Field Summary
Fields inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractJob
businessUnitManager, l10N, logger, principalManager, securityManager
-
Constructor Summary
ConstructorDescriptionEvaluateConflictStatusBatchJob
(Context ctx, org.slf4j.Logger logger, ModuleManager moduleManager, QueryBuilderFactory queryBuilderFactory, CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doExecute
(org.quartz.JobExecutionContext context, JobDataMapReader jobDataMapReader) void
setAdditionalRelations
(List<AdditionalRequiredRelationsContribution> additionalRelations) void
Methods inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractJob
execute, getProgress, getProgressLog, setBusinessUnitManager, setConverters, setL10N, setLogger, setPrincipalManager, setProgressPersistenceManager, setRuleProviderService, setSecurityManager
-
Constructor Details
-
EvaluateConflictStatusBatchJob
public EvaluateConflictStatusBatchJob(Context ctx, org.slf4j.Logger logger, ModuleManager moduleManager, QueryBuilderFactory queryBuilderFactory, CommandExecutor commandExecutor)
-
-
Method Details
-
setConflictStatusContributions
@Autowired public void setConflictStatusContributions(List<ConflictStatusEntityContribution> relations) -
setAdditionalRelations
@Autowired public void setAdditionalRelations(List<AdditionalRequiredRelationsContribution> additionalRelations) -
doExecute
protected void doExecute(org.quartz.JobExecutionContext context, JobDataMapReader jobDataMapReader) throws org.quartz.JobExecutionException - Specified by:
doExecute
in classAbstractJob
- Throws:
org.quartz.JobExecutionException
-