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 |
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) |
ProcessDefinition |
findProcessDefinitionByKeyVersionAndTenantId(String processDefinitionKey,
Integer processDefinitionVersion,
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) |
void |
insertProcessDefinition(ProcessDefinitionEntity processDefinition) |
void |
updateProcessDefinitionSuspensionStateById(String processDefinitionId,
SuspensionState suspensionState) |
void |
updateProcessDefinitionSuspensionStateByKey(String processDefinitionKey,
SuspensionState suspensionState) |
void |
updateProcessDefinitionSuspensionStateByKeyAndTenantId(String processDefinitionKey,
String tenantId,
SuspensionState suspensionState) |