Package ch.tocco.nice2.tasks.api.quartz
Class AbstractJob
java.lang.Object
ch.tocco.nice2.tasks.api.quartz.AbstractJob
- All Implemented Interfaces:
org.quartz.Job
- Direct Known Subclasses:
AbstractAcrualPostingExportTask,AbstractActionResource.AbstractActionJob,AbstractDeleteBatchJob,AbstractInterruptableJob,ActivateDuplicateConfigActionServiceImpl.InitializeDuplicatesTask,ActiveVatRateBatchJob,AffiliationBatchJob,AnonymizeEntitiesJob,AutomatedEvaluationBatchJob,AutomationJob,BrevoBlocklistRefreshBatchJob,BrevoSynchronisationBatchJob,BulkDeletionJob,BusinessUnitRelationFixJob,CampaignTotalsVerificationBatchJob,CleanupOldSessionsBatchJob,CleanUpOldSmsArchivesBatchJob,CleanupSystemActivityBatchJob,DbRefactoringResource.DbRefactoringJob,DebitorMaturityDateUpdateBatchJob,DeleteExpiredOutputJobsBatchJob,DeleteOldReportGenerationsBatchJob,DeleteUnreferencedBinariesBatchJob,DeletionCleanupBatchjob,EvaluateConflictStatusBatchJob,GenerateCorrespondenceJob,HistoryCleanupBatchjob,ImportTask,MailCleanUpBatchJob,MassRegistrationActionServiceImpl.MassRegistrationJob,NewOfftimeEventMappingJob,ParallelParticipantsBatchJob,PostfinanceProcessProtocolBatchJob,PostfinanceRegistrationProtocolBatchJob,PrepareNewsletterJob,QuestionnaireLogicCopyTask,RegistrationPresenceInheritanceBatchJob,RepairBinaryReferenceCountBatchJob,ReportGenerationTask,ReportSynchronizerStarter.ReportSynchronizerJob,ResetDunningLevelBatchJob,ScriptJob,SeminarIsTemplateUpdateBatchJob,SendReminderMailBatchJob,TemplateSynchronizerStarter.TemplateSynchronizerJob,UpdateAddressAssociationBatchJob,UpdateClassroomUserBatchJob,UpdateSeminarStatusBatchJob,UpdateUrlIndexBatchJob,UserInteractionDeleteBatchJob,VerifyLoginRolesBatchJob,WageSimulationJob
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BusinessUnitManagerprotected L10Nprotected org.slf4j.Loggerprotected PrincipalManagerprotected SecurityManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voiddoExecute(org.quartz.JobExecutionContext context, JobDataMapReader jobDataMapReader) final voidexecute(org.quartz.JobExecutionContext context) getProgress(org.quartz.JobExecutionContext context) getProgressLog(org.quartz.JobExecutionContext context) voidsetBusinessUnitManager(BusinessUnitManager businessUnitManager) voidsetConverters(List<com.thoughtworks.xstream.converters.Converter> converters) voidvoidsetLogger(org.slf4j.Logger logger) voidsetPrincipalManager(PrincipalManager principalManager) voidsetProgressPersistenceManager(ProgressPersistenceManager progressPersistenceManager) voidsetRuleProviderService(RuleProviderService ruleProviderService) voidsetSecurityManager(SecurityManager securityManager)
-
Field Details
-
logger
protected org.slf4j.Logger logger -
securityManager
-
businessUnitManager
-
principalManager
-
l10N
-
-
Constructor Details
-
AbstractJob
public AbstractJob()
-
-
Method Details
-
setBusinessUnitManager
-
setPrincipalManager
-
setL10N
-
setSecurityManager
-
setLogger
@Autowired public void setLogger(org.slf4j.Logger logger) -
setProgressPersistenceManager
@Autowired public void setProgressPersistenceManager(ProgressPersistenceManager progressPersistenceManager) -
setRuleProviderService
-
setConverters
@Autowired public void setConverters(List<com.thoughtworks.xstream.converters.Converter> converters) -
getProgress
-
getProgressLog
-
execute
public final void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException - Specified by:
executein interfaceorg.quartz.Job- Throws:
org.quartz.JobExecutionException
-
doExecute
protected abstract void doExecute(org.quartz.JobExecutionContext context, JobDataMapReader jobDataMapReader) throws org.quartz.JobExecutionException - Throws:
org.quartz.JobExecutionException
-