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
,ArticlePriceSortingBatchJob
,AutomatedEvaluationBatchJob
,BulkDeletionJob
,BusinessUnitRelationFixJob
,CampaignTotalsVerificationBatchJob
,CleanupOldSessionsBatchJob
,CleanUpOldSmsArchivesBatchJob
,CleanupSystemActivityBatchJob
,DbRefactoringResource.DbRefactoringJob
,DebitorMaturityDateUpdateBatchJob
,DeleteExpiredOutputJobsBatchJob
,DeleteOldReportGenerationsBatchJob
,DeleteUnreferencedBinariesBatchJob
,DeletionCleanupBatchjob
,EvaluateConflictStatusBatchJob
,HistoryCleanupBatchjob
,ImportTask
,MailCleanUpBatchJob
,MassRegistrationActionServiceImpl.MassRegistrationJob
,NewOfftimeEventMappingJob
,ParallelParticipantsBatchJob
,PrepareNewsletterJob
,QuestionnaireLogicCopyTask
,RegistrationPresenceInheritanceBatchJob
,RepairBinaryReferenceCountBatchJob
,ReportGenerationTask
,ReportSynchronizerStarter.ReportSynchronizerJob
,ResetDunningLevelBatchJob
,ScriptJob
,SeminarIsTemplateUpdateBatchJob
,SendReminderMailBatchJob
,TemplateSynchronizerStarter.TemplateSynchronizerJob
,UpdateAddressAssociationBatchJob
,UpdateClassroomUserBatchJob
,UpdateSeminarStatusBatchJob
,UpdateUrlIndexBatchJob
,VerifyLoginRolesBatchJob
,WageSimulationJob
-
Field Summary
Modifier and TypeFieldDescriptionprotected BusinessUnitManager
protected L10N
protected org.slf4j.Logger
protected PrincipalManager
protected SecurityManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
doExecute
(org.quartz.JobExecutionContext context, JobDataMapReader jobDataMapReader) final void
execute
(org.quartz.JobExecutionContext context) getProgress
(org.quartz.JobExecutionContext context) getProgressLog
(org.quartz.JobExecutionContext context) void
setBusinessUnitManager
(BusinessUnitManager businessUnitManager) void
setConverters
(List<com.thoughtworks.xstream.converters.Converter> converters) void
void
setLogger
(org.slf4j.Logger logger) void
setPrincipalManager
(PrincipalManager principalManager) void
setProgressPersistenceManager
(ProgressPersistenceManager progressPersistenceManager) void
setRuleProviderService
(RuleProviderService ruleProviderService) void
setSecurityManager
(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:
execute
in 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
-