Class DeleteProcessDefinitionsByIdsCmd

  • All Implemented Interfaces:
    java.io.Serializable, Command<java.lang.Void>

    public class DeleteProcessDefinitionsByIdsCmd
    extends java.lang.Object
    implements Command<java.lang.Void>, java.io.Serializable
    Command to delete process definitions by ids.
    Author:
    Tassilo Weidner
    See Also:
    Serialized Form
    • Field Detail

      • processDefinitionIds

        protected final java.util.Set<java.lang.String> processDefinitionIds
      • cascadeToHistory

        protected boolean cascadeToHistory
      • cascadeToInstances

        protected boolean cascadeToInstances
      • skipCustomListeners

        protected boolean skipCustomListeners
      • writeUserOperationLog

        protected boolean writeUserOperationLog
      • skipIoMappings

        protected boolean skipIoMappings
    • Constructor Detail

      • DeleteProcessDefinitionsByIdsCmd

        public DeleteProcessDefinitionsByIdsCmd​(java.util.List<java.lang.String> processDefinitionIds,
                                                boolean cascade,
                                                boolean skipCustomListeners,
                                                boolean skipIoMappings)
      • DeleteProcessDefinitionsByIdsCmd

        public DeleteProcessDefinitionsByIdsCmd​(java.util.List<java.lang.String> processDefinitionIds,
                                                boolean cascadeToHistory,
                                                boolean cascadeToInstances,
                                                boolean skipCustomListeners,
                                                boolean writeUserOperationLog)
      • DeleteProcessDefinitionsByIdsCmd

        public DeleteProcessDefinitionsByIdsCmd​(java.util.List<java.lang.String> processDefinitionIds,
                                                boolean cascadeToHistory,
                                                boolean cascadeToInstances,
                                                boolean skipCustomListeners,
                                                boolean skipIoMappings,
                                                boolean writeUserOperationLog)
    • Method Detail

      • groupByKeyAndTenant

        protected java.util.Set<org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup> groupByKeyAndTenant​(java.util.List<ProcessDefinition> processDefinitions)
      • findNewLatestProcessDefinition

        protected ProcessDefinitionEntity findNewLatestProcessDefinition​(org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup group)
      • isLatestProcessDefinition

        protected boolean isLatestProcessDefinition​(ProcessDefinitionEntity processDefinition)
      • 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)