Package org.camunda.bpm.engine.impl.cmd
Class AbstractSetStateCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractSetStateCmd
- Direct Known Subclasses:
AbstractSetJobDefinitionStateCmd
,AbstractSetJobStateCmd
,AbstractSetProcessDefinitionStateCmd
,AbstractSetProcessInstanceStateCmd
- Author:
- Roman Smirnov
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
checkAuthorization
(CommandContext commandContext) protected abstract void
checkParameters
(CommandContext commandContext) void
execute
(CommandContext commandContext) protected String
protected String
getDeploymentId
(CommandContext commandContext) protected String
getDeploymentIdByJobDefinition
(CommandContext commandContext, String jobDefinitionId) protected String
getDeploymentIdByProcessDefinition
(CommandContext commandContext, String processDefinitionId) protected String
getDeploymentIdByProcessDefinitionKey
(CommandContext commandContext, String processDefinitionKey, boolean tenantIdSet, String tenantId) protected JobHandlerConfiguration
protected abstract String
protected abstract SuspensionState
protected AbstractSetStateCmd
protected boolean
protected boolean
protected abstract void
logUserOperation
(CommandContext commandContext) protected void
scheduleSuspensionStateUpdate
(CommandContext commandContext) protected void
triggerHistoryEvent
(CommandContext commandContext) protected abstract void
updateSuspensionState
(CommandContext commandContext, SuspensionState suspensionState) 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 Details
-
SUSPENSION_STATE_PROPERTY
- See Also:
-
includeSubResources
protected boolean includeSubResources -
isLogUserOperationDisabled
protected boolean isLogUserOperationDisabled -
executionDate
-
-
Constructor Details
-
AbstractSetStateCmd
-
-
Method Details
-
execute
-
triggerHistoryEvent
-
disableLogUserOperation
public void disableLogUserOperation() -
isLogUserOperationDisabled
protected boolean isLogUserOperationDisabled() -
isIncludeSubResources
protected boolean isIncludeSubResources() -
scheduleSuspensionStateUpdate
-
getDelayedExecutionJobHandlerType
-
getJobHandlerConfiguration
-
getNextCommand
-
getDeploymentId
- Returns:
- the id of the associated deployment, only necessary if the command
can potentially be executed in a scheduled way (i.e. if an
executionDate
can be set) so the job executor responsible for that deployment can execute the resulting job
-
checkAuthorization
-
checkParameters
-
updateSuspensionState
protected abstract void updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState) -
logUserOperation
-
getLogEntryOperation
-
getNewSuspensionState
-
getDeploymentIdByProcessDefinition
protected String getDeploymentIdByProcessDefinition(CommandContext commandContext, String processDefinitionId) -
getDeploymentIdByProcessDefinitionKey
protected String getDeploymentIdByProcessDefinitionKey(CommandContext commandContext, String processDefinitionKey, boolean tenantIdSet, String tenantId) -
getDeploymentIdByJobDefinition
protected String getDeploymentIdByJobDefinition(CommandContext commandContext, String jobDefinitionId)
-