Class ExternalTaskManager
java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.persistence.entity.ExternalTaskManager
- All Implemented Interfaces:
Session
- Author:
- Thorben Lindhauer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ListQueryParameterObject
configureParameterizedQuery
(Object parameter) protected void
configureQuery
(ListQueryParameterObject parameter) protected void
void
delete
(ExternalTaskEntity externalTask) findDeploymentIdMappingsByQueryCriteria
(ExternalTaskQueryImpl externalTaskQuery) long
findExternalTaskCountByQueryCriteria
(ExternalTaskQueryImpl externalTaskQuery) findExternalTaskIdsByQueryCriteria
(ExternalTaskQueryImpl externalTaskQuery) findExternalTasksByProcessInstanceId
(String processInstanceId) findExternalTasksByQueryCriteria
(ExternalTaskQueryImpl externalTaskQuery) void
void
insert
(ExternalTaskEntity externalTask) selectExternalTasksForTopics
(Collection<TopicFetchInstruction> queryFilters, int maxResults, boolean usePriority) selectTopicNamesByQuery
(ExternalTaskQueryImpl externalTaskQuery) protected void
updateExternalTaskSuspensionState
(String processInstanceId, String processDefinitionId, String processDefinitionKey, SuspensionState suspensionState) void
updateExternalTaskSuspensionStateByProcessDefinitionId
(String processDefinitionId, SuspensionState suspensionState) void
updateExternalTaskSuspensionStateByProcessDefinitionKey
(String processDefinitionKey, SuspensionState suspensionState) void
updateExternalTaskSuspensionStateByProcessDefinitionKeyAndTenantId
(String processDefinitionKey, String processDefinitionTenantId, SuspensionState suspensionState) void
updateExternalTaskSuspensionStateByProcessInstanceId
(String processInstanceId, SuspensionState suspensionState) Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractManager
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCamundaFormDefinitionManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDecisionRequirementsDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricExternalTaskLogManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
-
Field Details
-
EXT_TASK_PRIORITY_ORDERING_PROPERTY
-
-
Constructor Details
-
ExternalTaskManager
public ExternalTaskManager()
-
-
Method Details
-
findExternalTaskById
-
insert
-
delete
-
findExternalTasksByExecutionId
-
findExternalTasksByProcessInstanceId
-
selectExternalTasksForTopics
public List<ExternalTaskEntity> selectExternalTasksForTopics(Collection<TopicFetchInstruction> queryFilters, int maxResults, boolean usePriority) -
findExternalTasksByQueryCriteria
-
findExternalTaskIdsByQueryCriteria
-
findDeploymentIdMappingsByQueryCriteria
public List<ImmutablePair<String,String>> findDeploymentIdMappingsByQueryCriteria(ExternalTaskQueryImpl externalTaskQuery) -
findExternalTaskCountByQueryCriteria
-
selectTopicNamesByQuery
-
updateExternalTaskSuspensionState
protected void updateExternalTaskSuspensionState(String processInstanceId, String processDefinitionId, String processDefinitionKey, SuspensionState suspensionState) -
updateExternalTaskSuspensionStateByProcessInstanceId
public void updateExternalTaskSuspensionStateByProcessInstanceId(String processInstanceId, SuspensionState suspensionState) -
updateExternalTaskSuspensionStateByProcessDefinitionId
public void updateExternalTaskSuspensionStateByProcessDefinitionId(String processDefinitionId, SuspensionState suspensionState) -
updateExternalTaskSuspensionStateByProcessDefinitionKey
public void updateExternalTaskSuspensionStateByProcessDefinitionKey(String processDefinitionKey, SuspensionState suspensionState) -
updateExternalTaskSuspensionStateByProcessDefinitionKeyAndTenantId
public void updateExternalTaskSuspensionStateByProcessDefinitionKeyAndTenantId(String processDefinitionKey, String processDefinitionTenantId, SuspensionState suspensionState) -
configureQuery
-
configureQuery
-
configureParameterizedQuery
-
fireExternalTaskAvailableEvent
public void fireExternalTaskAvailableEvent()
-