Package org.camunda.bpm.engine.impl.cmd
Class AbstractSetProcessInstanceStateCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
org.camunda.bpm.engine.impl.cmd.AbstractSetProcessInstanceStateCmd
- Direct Known Subclasses:
ActivateProcessInstanceCmd
,SuspendProcessInstanceCmd
- Author:
- Daniel Meyer, Joram Barrez, roman.smirnov
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected String
protected String
protected String
protected final String
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
executionDate, includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkAuthorization
(CommandContext commandContext) protected void
checkParameters
(CommandContext commandContext) protected UpdateJobSuspensionStateBuilderImpl
protected AbstractSetJobStateCmd
protected abstract AbstractSetJobStateCmd
getNextCommand
(UpdateJobSuspensionStateBuilderImpl jobCommandBuilder) protected void
logUserOperation
(CommandContext commandContext) protected List<ProcessInstance>
obtainProcessInstances
(CommandContext commandContext) protected void
triggerHistoryEvent
(CommandContext commandContext) protected void
updateSuspensionState
(CommandContext commandContext, SuspensionState suspensionState) Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
disableLogUserOperation, execute, getDelayedExecutionJobHandlerType, getDeploymentId, getDeploymentIdByJobDefinition, getDeploymentIdByProcessDefinition, getDeploymentIdByProcessDefinitionKey, getJobHandlerConfiguration, getLogEntryOperation, getNewSuspensionState, isIncludeSubResources, isLogUserOperationDisabled, scheduleSuspensionStateUpdate
-
Field Details
-
processInstanceId
-
processDefinitionId
-
processDefinitionKey
-
processDefinitionTenantId
-
isProcessDefinitionTenantIdSet
protected boolean isProcessDefinitionTenantIdSet
-
-
Constructor Details
-
AbstractSetProcessInstanceStateCmd
-
-
Method Details
-
checkParameters
- Specified by:
checkParameters
in classAbstractSetStateCmd
-
checkAuthorization
- Specified by:
checkAuthorization
in classAbstractSetStateCmd
-
updateSuspensionState
protected void updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState) - Specified by:
updateSuspensionState
in classAbstractSetStateCmd
-
triggerHistoryEvent
- Overrides:
triggerHistoryEvent
in classAbstractSetStateCmd
-
obtainProcessInstances
-
logUserOperation
- Specified by:
logUserOperation
in classAbstractSetStateCmd
-
createJobCommandBuilder
-
getNextCommand
- Overrides:
getNextCommand
in classAbstractSetStateCmd
-
getNextCommand
protected abstract AbstractSetJobStateCmd getNextCommand(UpdateJobSuspensionStateBuilderImpl jobCommandBuilder)
-