Interface ExternalWorkerJobEntityManager
-
- All Superinterfaces:
EntityManager<ExternalWorkerJobEntity>,JobInfoEntityManager<ExternalWorkerJobEntity>
- All Known Implementing Classes:
ExternalWorkerJobEntityManagerImpl
public interface ExternalWorkerJobEntityManager extends EntityManager<ExternalWorkerJobEntity>, JobInfoEntityManager<ExternalWorkerJobEntity>
EntityManagerresponsible for theExternalWorkerJobEntityclass.- Author:
- Filip Hrisafov
-
-
Method Summary
-
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.EntityManager
create, delete, delete, delete, findById, insert, insert, update, update
-
Methods inherited from interface org.flowable.job.service.impl.persistence.entity.JobInfoEntityManager
bulkUpdateJobLockWithoutRevisionCheck, findExpiredJobs, findJobsByExecutionId, findJobsByProcessInstanceId, findJobsToExecute, findJobsToExecuteAndLockInBulk, resetExpiredJob, updateJobTenantIdForDeployment
-
-
-
-
Method Detail
-
insertExternalWorkerJobEntity
boolean insertExternalWorkerJobEntity(ExternalWorkerJobEntity externalWorkerJobEntity)
Insert theExternalWorkerJobEntity, similar to insert(ExternalWorkerJobEntity), but returns a boolean in case the insert did not go through. This could happen if the execution related to theExternalWorkerJobEntityhas been removed.
-
findJobByCorrelationId
ExternalWorkerJobEntity findJobByCorrelationId(String correlationId)
Find the external worker job by the given correlationId
-
findJobsByScopeIdAndSubScopeId
List<ExternalWorkerJobEntity> findJobsByScopeIdAndSubScopeId(String scopeId, String subScopeId)
Returns allExternalWorkerJobEntityfor the given scope and subscope.
-
findJobsByQueryCriteria
List<ExternalWorkerJob> findJobsByQueryCriteria(ExternalWorkerJobQueryImpl jobQuery)
Executes aExternalWorkerJobQueryImpland returns the matchingExternalWorkerJobEntityinstances.- Returns:
-
findJobCountByQueryCriteria
long findJobCountByQueryCriteria(ExternalWorkerJobQueryImpl jobQuery)
Same asfindJobsByQueryCriteria(ExternalWorkerJobQueryImpl), but only returns a count and not the instances itself.
-
findExternalJobsToExecute
List<ExternalWorkerJobEntity> findExternalJobsToExecute(ExternalWorkerJobAcquireBuilderImpl builder, int numberOfJobs)
-
-