Interface ExternalWorkerJobEntityManager
- All Superinterfaces:
EntityManager<ExternalWorkerJobEntity>,JobInfoEntityManager<ExternalWorkerJobEntity>
- All Known Implementing Classes:
ExternalWorkerJobEntityManagerImpl
public interface ExternalWorkerJobEntityManager
extends EntityManager<ExternalWorkerJobEntity>, JobInfoEntityManager<ExternalWorkerJobEntity>
EntityManager responsible for the ExternalWorkerJobEntity class.- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionfindExternalJobsToExecute(ExternalWorkerJobAcquireBuilderImpl builder, int numberOfJobs) findJobByCorrelationId(String correlationId) Find the external worker job by the given correlationIdlongSame asfindJobsByQueryCriteria(ExternalWorkerJobQueryImpl), but only returns a count and not the instances itself.Executes aExternalWorkerJobQueryImpland returns the matchingExternalWorkerJobEntityinstances.findJobsByScopeIdAndSubScopeId(String scopeId, String subScopeId) Returns allExternalWorkerJobEntityfor the given scope and subscope.findJobsByWorkerId(String workerId) Returns allExternalWorkerJobEntityfor the given worker id.findJobsByWorkerIdAndTenantId(String workerId, String tenantId) Returns allExternalWorkerJobEntityfor the given worker and tenant id.booleaninsertExternalWorkerJobEntity(ExternalWorkerJobEntity externalWorkerJobEntity) Insert theExternalWorkerJobEntity, similar to insert(ExternalWorkerJobEntity), but returns a boolean in case the insert did not go through.Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.EntityManager
create, delete, delete, delete, findById, insert, insert, update, updateMethods inherited from interface org.flowable.job.service.impl.persistence.entity.JobInfoEntityManager
bulkUpdateJobLockWithoutRevisionCheck, findExpiredJobs, findJobsByExecutionId, findJobsByProcessInstanceId, findJobsToExecute, findJobsToExecuteAndLockInBulk, resetExpiredJob, updateJobTenantIdForDeployment
-
Method Details
-
insertExternalWorkerJobEntity
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
Find the external worker job by the given correlationId -
findJobsByScopeIdAndSubScopeId
Returns allExternalWorkerJobEntityfor the given scope and subscope. -
findJobsByWorkerId
Returns allExternalWorkerJobEntityfor the given worker id. -
findJobsByWorkerIdAndTenantId
Returns allExternalWorkerJobEntityfor the given worker and tenant id. -
findJobsByQueryCriteria
Executes aExternalWorkerJobQueryImpland returns the matchingExternalWorkerJobEntityinstances.- Returns:
-
findJobCountByQueryCriteria
Same asfindJobsByQueryCriteria(ExternalWorkerJobQueryImpl), but only returns a count and not the instances itself. -
findExternalJobsToExecute
List<ExternalWorkerJobEntity> findExternalJobsToExecute(ExternalWorkerJobAcquireBuilderImpl builder, int numberOfJobs)
-