Package org.camunda.bpm.engine.impl.cmd
Class DeleteProcessDefinitionsByIdsCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd
- All Implemented Interfaces:
Serializable
,Command<Void>
Command to delete process definitions by ids.
- Author:
- Tassilo Weidner
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
protected boolean
-
Constructor Summary
ConstructorDescriptionDeleteProcessDefinitionsByIdsCmd
(List<String> processDefinitionIds, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings) DeleteProcessDefinitionsByIdsCmd
(List<String> processDefinitionIds, boolean cascadeToHistory, boolean cascadeToInstances, boolean skipCustomListeners, boolean writeUserOperationLog) DeleteProcessDefinitionsByIdsCmd
(List<String> processDefinitionIds, boolean cascadeToHistory, boolean cascadeToInstances, boolean skipCustomListeners, boolean skipIoMappings, boolean writeUserOperationLog) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkAuthorization
(org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup group) protected void
deleteProcessDefinitions
(org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup group) execute
(CommandContext commandContext) protected ProcessDefinitionEntity
findNewLatestProcessDefinition
(org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup group) protected ProcessDefinition
getSingleProcessDefinition
(CommandContext commandContext) protected Set<org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup>
groupByKeyAndTenant
(List<ProcessDefinition> processDefinitions) protected boolean
isLatestProcessDefinition
(ProcessDefinitionEntity processDefinition) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
Field Details
-
processDefinitionIds
-
cascadeToHistory
protected boolean cascadeToHistory -
cascadeToInstances
protected boolean cascadeToInstances -
skipCustomListeners
protected boolean skipCustomListeners -
writeUserOperationLog
protected boolean writeUserOperationLog -
skipIoMappings
protected boolean skipIoMappings
-
-
Constructor Details
-
DeleteProcessDefinitionsByIdsCmd
-
DeleteProcessDefinitionsByIdsCmd
-
DeleteProcessDefinitionsByIdsCmd
-
-
Method Details
-
execute
-
getSingleProcessDefinition
-
groupByKeyAndTenant
protected Set<org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup> groupByKeyAndTenant(List<ProcessDefinition> processDefinitions) -
findNewLatestProcessDefinition
protected ProcessDefinitionEntity findNewLatestProcessDefinition(org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup group) -
isLatestProcessDefinition
-
checkAuthorization
protected void checkAuthorization(org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup group) -
deleteProcessDefinitions
protected void deleteProcessDefinitions(org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup group)
-