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
FieldsModifier and TypeFieldDescriptionprotected final JobManagerprotected final JobStatusDAOprotected final SyncopeTaskSchedulerFields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG -
Constructor Summary
ConstructorsConstructorDescriptionAbstractExecutableLogic(JobManager jobManager, SyncopeTaskScheduler scheduler, JobStatusDAO jobStatusDAO) -
Method Summary
Modifier and TypeMethodDescriptionabstract voidabstract ExecTOdeleteExecution(String executionKey) abstract List<BatchResponseItem> deleteExecutions(String key, OffsetDateTime before, OffsetDateTime after) protected voiddoActionJob(String jobName, JobAction action) doListJobs(boolean includeCustom) abstract ExecTOabstract JobTOgetReference(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
-