Methods
Modifier and Type |
Method and Description |
protected void |
cascadeDeleteHistoryForProcessDefinition(String processDefinitionId)
Cascades the deletion of a process definition to the history, deletes the history.
|
protected void |
cascadeDeleteProcessInstancesForProcessDefinition(String processDefinitionId,
boolean skipCustomListeners)
Cascades the deletion of the process definition to the process instances.
|
protected ListQueryParameterObject |
configureParameterizedQuery(Object parameter) |
protected void |
configureProcessDefinitionQuery(ProcessDefinitionQueryImpl query) |
protected void |
createDefaultAuthorizations(ProcessDefinition processDefinition) |
void |
deleteProcessDefinition(ProcessDefinition processDefinition,
String processDefinitionId,
boolean cascadeToHistory,
boolean cascadeToInstances,
boolean skipCustomListeners)
Deletes the given process definition from the database and cache.
|
void |
deleteSubscriptionsForProcessDefinition(String processDefinitionId)
Deletes the subscriptions for the process definition, which is
identified by the given process definition id.
|
protected void |
deleteTimerStartEventsForProcessDefinition(ProcessDefinition processDefinition)
Deletes the timer start events for the given process definition.
|
ProcessDefinitionEntity |
findDefinitionByDeploymentAndKey(String deploymentId,
String definitionKey) |
ProcessDefinitionEntity |
findDefinitionByKeyVersionAndTenantId(String definitionKey,
Integer definitionVersion,
String tenantId) |
ProcessDefinitionEntity |
findDefinitionByKeyVersionTagAndTenantId(String definitionKey,
String definitionVersionTag,
String tenantId) |
List<ProcessDefinition> |
findDefinitionsByIds(Set<String> processDefinitionIds) |
List<ProcessDefinition> |
findDefinitionsByKeyAndTenantId(String processDefinitionKey,
String tenantId,
boolean isTenantIdSet) |
ProcessDefinitionEntity |
findLatestDefinitionById(String id) |
ProcessDefinitionEntity |
findLatestDefinitionByKey(String key) |
ProcessDefinitionEntity |
findLatestDefinitionByKeyAndTenantId(String definitionKey,
String tenantId) |
ProcessDefinitionEntity |
findLatestProcessDefinitionById(String processDefinitionId) |
ProcessDefinitionEntity |
findLatestProcessDefinitionByKey(String processDefinitionKey) |
ProcessDefinitionEntity |
findLatestProcessDefinitionByKeyAndTenantId(String processDefinitionKey,
String tenantId) |
String |
findPreviousProcessDefinitionId(String processDefinitionKey,
Integer version,
String tenantId) |
ProcessDefinitionEntity |
findProcessDefinitionByDeploymentAndKey(String deploymentId,
String processDefinitionKey) |
ProcessDefinitionEntity |
findProcessDefinitionByKeyVersionAndTenantId(String processDefinitionKey,
Integer processDefinitionVersion,
String tenantId) |
protected ProcessDefinitionEntity |
findProcessDefinitionByKeyVersionOrVersionTag(String processDefinitionKey,
Integer processDefinitionVersion,
String processDefinitionVersionTag,
String tenantId) |
ProcessDefinitionEntity |
findProcessDefinitionByKeyVersionTagAndTenantId(String processDefinitionKey,
String processDefinitionVersionTag,
String tenantId) |
long |
findProcessDefinitionCountByQueryCriteria(ProcessDefinitionQueryImpl processDefinitionQuery) |
List<ProcessDefinition> |
findProcessDefinitionsByDeploymentId(String deploymentId) |
List<ProcessDefinition> |
findProcessDefinitionsByKey(String processDefinitionKey) |
List<ProcessDefinition> |
findProcessDefinitionsByKeyIn(String... keys) |
List<ProcessDefinition> |
findProcessDefinitionsByQueryCriteria(ProcessDefinitionQueryImpl processDefinitionQuery,
Page page) |
List<ProcessDefinition> |
findProcessDefinitionsStartableByUser(String user) |
ProcessDefinitionEntity |
getCachedResourceDefinitionEntity(String definitionId) |
void |
insertProcessDefinition(ProcessDefinitionEntity processDefinition) |
void |
updateProcessDefinitionSuspensionStateById(String processDefinitionId,
SuspensionState suspensionState) |
void |
updateProcessDefinitionSuspensionStateByKey(String processDefinitionKey,
SuspensionState suspensionState) |
void |
updateProcessDefinitionSuspensionStateByKeyAndTenantId(String processDefinitionKey,
String tenantId,
SuspensionState suspensionState) |