Package org.flowable.cmmn.engine.impl
Class CmmnManagementServiceImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.service.CommonServiceImpl<C>
-
- org.flowable.common.engine.impl.service.CommonEngineServiceImpl<CmmnEngineConfiguration>
-
- org.flowable.cmmn.engine.impl.CmmnManagementServiceImpl
-
- All Implemented Interfaces:
CmmnManagementService
public class CmmnManagementServiceImpl extends CommonEngineServiceImpl<CmmnEngineConfiguration> implements CmmnManagementService
- Author:
- Joram Barrez
-
-
Field Summary
-
Fields inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
commandExecutor
-
Fields inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
configuration
-
-
Constructor Summary
Constructors Constructor Description CmmnManagementServiceImpl(CmmnEngineConfiguration engineConfiguration)
-
Method Summary
-
Methods inherited from class org.flowable.common.engine.impl.service.CommonEngineServiceImpl
getCommandExecutor, setCommandExecutor
-
Methods inherited from class org.flowable.common.engine.impl.service.CommonServiceImpl
getConfiguration
-
-
-
-
Constructor Detail
-
CmmnManagementServiceImpl
public CmmnManagementServiceImpl(CmmnEngineConfiguration engineConfiguration)
-
-
Method Detail
-
getTableCounts
public Map<String,Long> getTableCounts()
- Specified by:
getTableCountsin interfaceCmmnManagementService
-
getTableNames
public Collection<String> getTableNames()
- Specified by:
getTableNamesin interfaceCmmnManagementService
-
executeJob
public void executeJob(String jobId)
- Specified by:
executeJobin interfaceCmmnManagementService
-
executeHistoryJob
public void executeHistoryJob(String historyJobId)
- Specified by:
executeHistoryJobin interfaceCmmnManagementService
-
getHistoryJobHistoryJson
public String getHistoryJobHistoryJson(String historyJobId)
- Specified by:
getHistoryJobHistoryJsonin interfaceCmmnManagementService
-
deleteHistoryJob
public void deleteHistoryJob(String jobId)
- Specified by:
deleteHistoryJobin interfaceCmmnManagementService
-
moveTimerToExecutableJob
public org.flowable.job.api.Job moveTimerToExecutableJob(String jobId)
- Specified by:
moveTimerToExecutableJobin interfaceCmmnManagementService
-
moveJobToDeadLetterJob
public org.flowable.job.api.Job moveJobToDeadLetterJob(String jobId)
- Specified by:
moveJobToDeadLetterJobin interfaceCmmnManagementService
-
moveDeadLetterJobToExecutableJob
public org.flowable.job.api.Job moveDeadLetterJobToExecutableJob(String jobId, int retries)
- Specified by:
moveDeadLetterJobToExecutableJobin interfaceCmmnManagementService
-
bulkMoveDeadLetterJobs
public void bulkMoveDeadLetterJobs(Collection<String> jobIds, int retries)
- Specified by:
bulkMoveDeadLetterJobsin interfaceCmmnManagementService
-
bulkMoveDeadLetterJobsToHistoryJobs
public void bulkMoveDeadLetterJobsToHistoryJobs(Collection<String> jobIds, int retries)
- Specified by:
bulkMoveDeadLetterJobsToHistoryJobsin interfaceCmmnManagementService
-
moveDeadLetterJobToHistoryJob
public org.flowable.job.api.HistoryJob moveDeadLetterJobToHistoryJob(String jobId, int retries)
- Specified by:
moveDeadLetterJobToHistoryJobin interfaceCmmnManagementService
-
moveSuspendedJobToExecutableJob
public org.flowable.job.api.Job moveSuspendedJobToExecutableJob(String jobId)
- Specified by:
moveSuspendedJobToExecutableJobin interfaceCmmnManagementService
-
deleteJob
public void deleteJob(String jobId)
- Specified by:
deleteJobin interfaceCmmnManagementService
-
deleteTimerJob
public void deleteTimerJob(String jobId)
- Specified by:
deleteTimerJobin interfaceCmmnManagementService
-
deleteSuspendedJob
public void deleteSuspendedJob(String jobId)
- Specified by:
deleteSuspendedJobin interfaceCmmnManagementService
-
deleteDeadLetterJob
public void deleteDeadLetterJob(String jobId)
- Specified by:
deleteDeadLetterJobin interfaceCmmnManagementService
-
setJobRetries
public void setJobRetries(String jobId, int retries)
- Specified by:
setJobRetriesin interfaceCmmnManagementService
-
setTimerJobRetries
public void setTimerJobRetries(String jobId, int retries)
- Specified by:
setTimerJobRetriesin interfaceCmmnManagementService
-
createJobQuery
public org.flowable.job.api.JobQuery createJobQuery()
- Specified by:
createJobQueryin interfaceCmmnManagementService
-
createExternalWorkerJobQuery
public org.flowable.job.api.ExternalWorkerJobQuery createExternalWorkerJobQuery()
- Specified by:
createExternalWorkerJobQueryin interfaceCmmnManagementService
-
createTimerJobQuery
public org.flowable.job.api.TimerJobQuery createTimerJobQuery()
- Specified by:
createTimerJobQueryin interfaceCmmnManagementService
-
createSuspendedJobQuery
public org.flowable.job.api.SuspendedJobQuery createSuspendedJobQuery()
- Specified by:
createSuspendedJobQueryin interfaceCmmnManagementService
-
createDeadLetterJobQuery
public org.flowable.job.api.DeadLetterJobQuery createDeadLetterJobQuery()
- Specified by:
createDeadLetterJobQueryin interfaceCmmnManagementService
-
getJobExceptionStacktrace
public String getJobExceptionStacktrace(String jobId)
- Specified by:
getJobExceptionStacktracein interfaceCmmnManagementService
-
getTimerJobExceptionStacktrace
public String getTimerJobExceptionStacktrace(String jobId)
- Specified by:
getTimerJobExceptionStacktracein interfaceCmmnManagementService
-
getSuspendedJobExceptionStacktrace
public String getSuspendedJobExceptionStacktrace(String jobId)
- Specified by:
getSuspendedJobExceptionStacktracein interfaceCmmnManagementService
-
getDeadLetterJobExceptionStacktrace
public String getDeadLetterJobExceptionStacktrace(String jobId)
- Specified by:
getDeadLetterJobExceptionStacktracein interfaceCmmnManagementService
-
getExternalWorkerJobErrorDetails
public String getExternalWorkerJobErrorDetails(String jobId)
- Specified by:
getExternalWorkerJobErrorDetailsin interfaceCmmnManagementService
-
handleHistoryCleanupTimerJob
public void handleHistoryCleanupTimerJob()
- Specified by:
handleHistoryCleanupTimerJobin interfaceCmmnManagementService
-
createBatchQuery
public org.flowable.batch.api.BatchQuery createBatchQuery()
- Specified by:
createBatchQueryin interfaceCmmnManagementService
-
createBatchBuilder
public org.flowable.batch.api.BatchBuilder createBatchBuilder()
- Specified by:
createBatchBuilderin interfaceCmmnManagementService
-
createBatchPartQuery
public org.flowable.batch.api.BatchPartQuery createBatchPartQuery()
- Specified by:
createBatchPartQueryin interfaceCmmnManagementService
-
createBatchPartBuilder
public org.flowable.batch.api.BatchPartBuilder createBatchPartBuilder(org.flowable.batch.api.Batch batch)
- Specified by:
createBatchPartBuilderin interfaceCmmnManagementService
-
deleteBatch
public void deleteBatch(String batchId)
- Specified by:
deleteBatchin interfaceCmmnManagementService
-
createHistoryJobQuery
public org.flowable.job.api.HistoryJobQuery createHistoryJobQuery()
- Specified by:
createHistoryJobQueryin interfaceCmmnManagementService
-
createExternalWorkerJobAcquireBuilder
public org.flowable.job.api.ExternalWorkerJobAcquireBuilder createExternalWorkerJobAcquireBuilder()
- Specified by:
createExternalWorkerJobAcquireBuilderin interfaceCmmnManagementService
-
createExternalWorkerJobFailureBuilder
public org.flowable.job.api.ExternalWorkerJobFailureBuilder createExternalWorkerJobFailureBuilder(String externalJobId, String workerId)
- Specified by:
createExternalWorkerJobFailureBuilderin interfaceCmmnManagementService
-
createCmmnExternalWorkerTransitionBuilder
public CmmnExternalWorkerTransitionBuilder createCmmnExternalWorkerTransitionBuilder(String externalJobId, String workerId)
- Specified by:
createCmmnExternalWorkerTransitionBuilderin interfaceCmmnManagementService
-
createChangeTenantIdBuilder
public ChangeTenantIdBuilder createChangeTenantIdBuilder(String fromTenantId, String toTenantId)
- Specified by:
createChangeTenantIdBuilderin interfaceCmmnManagementService
-
executeCommand
public <T> T executeCommand(Command<T> command)
-
executeCommand
public <T> T executeCommand(CommandConfig config, Command<T> command)
-
-