Package org.apache.syncope.core.logic
Class AbstractExecutableLogic<T extends EntityTO>
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<T>
org.apache.syncope.core.logic.AbstractTransactionalLogic<T>
org.apache.syncope.core.logic.AbstractExecutableLogic<T>
- Direct Known Subclasses:
ReportLogic
,TaskLogic
public abstract class AbstractExecutableLogic<T extends EntityTO>
extends AbstractTransactionalLogic<T>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final JobManager
protected final JobStatusDAO
protected final SyncopeTaskScheduler
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionAbstractExecutableLogic
(JobManager jobManager, SyncopeTaskScheduler scheduler, JobStatusDAO jobStatusDAO) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
abstract ExecTO
deleteExecution
(String executionKey) abstract List
<BatchResponseItem> deleteExecutions
(String key, OffsetDateTime before, OffsetDateTime after) protected void
doActionJob
(String jobName, JobAction action) doListJobs
(boolean includeCustom) abstract ExecTO
abstract JobTO
getReference
(String jobName) abstract org.springframework.data.domain.Page
<ExecTO> listExecutions
(String key, OffsetDateTime before, OffsetDateTime after, org.springframework.data.domain.Pageable pageable) listJobs()
listRecentExecutions
(int max) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference, resolveReference
-
Field Details
-
jobManager
-
scheduler
-
jobStatusDAO
-
-
Constructor Details
-
AbstractExecutableLogic
public AbstractExecutableLogic(JobManager jobManager, SyncopeTaskScheduler scheduler, JobStatusDAO jobStatusDAO)
-
-
Method Details
-
execute
-
listExecutions
public abstract org.springframework.data.domain.Page<ExecTO> listExecutions(String key, OffsetDateTime before, OffsetDateTime after, org.springframework.data.domain.Pageable pageable) -
listRecentExecutions
-
deleteExecution
-
deleteExecutions
public abstract List<BatchResponseItem> deleteExecutions(String key, OffsetDateTime before, OffsetDateTime after) -
getJob
-
listJobs
-
actionJob
-
getReference
-
getJobTO
-
doListJobs
-
doActionJob
-