public class DeleteProcessDefinitionsByIdsCmd extends Object implements Command<Void>, Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
cascadeToHistory |
protected boolean |
cascadeToInstances |
protected Set<String> |
processDefinitionIds |
protected boolean |
skipCustomListeners |
protected boolean |
skipIoMappings |
protected boolean |
writeUserOperationLog |
Constructor and Description |
---|
DeleteProcessDefinitionsByIdsCmd(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) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkAuthorization(org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup group) |
protected void |
deleteProcessDefinitions(org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup group) |
Void |
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) |
protected boolean cascadeToHistory
protected boolean cascadeToInstances
protected boolean skipCustomListeners
protected boolean writeUserOperationLog
protected boolean skipIoMappings
public DeleteProcessDefinitionsByIdsCmd(List<String> processDefinitionIds, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings)
public DeleteProcessDefinitionsByIdsCmd(List<String> processDefinitionIds, boolean cascadeToHistory, boolean cascadeToInstances, boolean skipCustomListeners, boolean writeUserOperationLog)
public Void execute(CommandContext commandContext)
protected ProcessDefinition getSingleProcessDefinition(CommandContext commandContext)
protected Set<org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup> groupByKeyAndTenant(List<ProcessDefinition> processDefinitions)
protected ProcessDefinitionEntity findNewLatestProcessDefinition(org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup group)
protected boolean isLatestProcessDefinition(ProcessDefinitionEntity processDefinition)
protected void checkAuthorization(org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup group)
protected void deleteProcessDefinitions(org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup group)
Copyright © 2019. All rights reserved.