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
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected Stringprotected Stringprotected final StringFields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
executionDate, includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckAuthorization(CommandContext commandContext) protected voidcheckParameters(CommandContext commandContext) protected UpdateJobSuspensionStateBuilderImplprotected AbstractSetJobStateCmdprotected abstract AbstractSetJobStateCmdgetNextCommand(UpdateJobSuspensionStateBuilderImpl jobCommandBuilder) protected voidlogUserOperation(CommandContext commandContext) protected List<ProcessInstance>obtainProcessInstances(CommandContext commandContext) protected voidtriggerHistoryEvent(CommandContext commandContext) protected voidupdateSuspensionState(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, scheduleSuspensionStateUpdateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
Field Details
-
processInstanceId
-
processDefinitionId
-
processDefinitionKey
-
processDefinitionTenantId
-
isProcessDefinitionTenantIdSet
protected boolean isProcessDefinitionTenantIdSet
-
-
Constructor Details
-
AbstractSetProcessInstanceStateCmd
-
-
Method Details
-
checkParameters
- Specified by:
checkParametersin classAbstractSetStateCmd
-
checkAuthorization
- Specified by:
checkAuthorizationin classAbstractSetStateCmd
-
updateSuspensionState
protected void updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState) - Specified by:
updateSuspensionStatein classAbstractSetStateCmd
-
triggerHistoryEvent
- Overrides:
triggerHistoryEventin classAbstractSetStateCmd
-
obtainProcessInstances
-
logUserOperation
- Specified by:
logUserOperationin classAbstractSetStateCmd
-
createJobCommandBuilder
-
getNextCommand
- Overrides:
getNextCommandin classAbstractSetStateCmd
-
getNextCommand
protected abstract AbstractSetJobStateCmd getNextCommand(UpdateJobSuspensionStateBuilderImpl jobCommandBuilder)
-