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
public abstract class AbstractSetProcessInstanceStateCmd extends AbstractSetStateCmd
- Author:
 - Daniel Meyer, Joram Barrez, roman.smirnov
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected booleanisProcessDefinitionTenantIdSetprotected StringprocessDefinitionIdprotected StringprocessDefinitionKeyprotected StringprocessDefinitionTenantIdprotected StringprocessInstanceId- 
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
executionDate, includeSubResources, isLogUserOperationDisabled, SUSPENSION_STATE_PROPERTY 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AbstractSetProcessInstanceStateCmd(UpdateProcessInstanceSuspensionStateBuilderImpl builder) 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcheckAuthorization(CommandContext commandContext)protected voidcheckParameters(CommandContext commandContext)protected UpdateJobSuspensionStateBuilderImplcreateJobCommandBuilder()protected AbstractSetJobStateCmdgetNextCommand()protected 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, scheduleSuspensionStateUpdate 
- 
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 Detail
- 
processInstanceId
protected final String processInstanceId
 
- 
processDefinitionId
protected String processDefinitionId
 
- 
processDefinitionKey
protected String processDefinitionKey
 
- 
processDefinitionTenantId
protected String processDefinitionTenantId
 
- 
isProcessDefinitionTenantIdSet
protected boolean isProcessDefinitionTenantIdSet
 
 - 
 
- 
Constructor Detail
- 
AbstractSetProcessInstanceStateCmd
public AbstractSetProcessInstanceStateCmd(UpdateProcessInstanceSuspensionStateBuilderImpl builder)
 
 - 
 
- 
Method Detail
- 
checkParameters
protected void checkParameters(CommandContext commandContext)
- Specified by:
 checkParametersin classAbstractSetStateCmd
 
- 
checkAuthorization
protected void checkAuthorization(CommandContext commandContext)
- Specified by:
 checkAuthorizationin classAbstractSetStateCmd
 
- 
updateSuspensionState
protected void updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState)
- Specified by:
 updateSuspensionStatein classAbstractSetStateCmd
 
- 
triggerHistoryEvent
protected void triggerHistoryEvent(CommandContext commandContext)
- Overrides:
 triggerHistoryEventin classAbstractSetStateCmd
 
- 
obtainProcessInstances
protected List<ProcessInstance> obtainProcessInstances(CommandContext commandContext)
 
- 
logUserOperation
protected void logUserOperation(CommandContext commandContext)
- Specified by:
 logUserOperationin classAbstractSetStateCmd
 
- 
createJobCommandBuilder
protected UpdateJobSuspensionStateBuilderImpl createJobCommandBuilder()
 
- 
getNextCommand
protected AbstractSetJobStateCmd getNextCommand()
- Overrides:
 getNextCommandin classAbstractSetStateCmd
 
- 
getNextCommand
protected abstract AbstractSetJobStateCmd getNextCommand(UpdateJobSuspensionStateBuilderImpl jobCommandBuilder)
 
 - 
 
 -