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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidcheckAuthorization(CommandContext commandContext) protected abstract voidcheckParameters(CommandContext commandContext) voidexecute(CommandContext commandContext) protected Stringprotected StringgetDeploymentId(CommandContext commandContext) protected StringgetDeploymentIdByJobDefinition(CommandContext commandContext, String jobDefinitionId) protected StringgetDeploymentIdByProcessDefinition(CommandContext commandContext, String processDefinitionId) protected StringgetDeploymentIdByProcessDefinitionKey(CommandContext commandContext, String processDefinitionKey, boolean tenantIdSet, String tenantId) protected JobHandlerConfigurationprotected abstract Stringprotected abstract SuspensionStateprotected AbstractSetStateCmdprotected booleanprotected booleanprotected abstract voidlogUserOperation(CommandContext commandContext) protected voidscheduleSuspensionStateUpdate(CommandContext commandContext) protected voidtriggerHistoryEvent(CommandContext commandContext) protected abstract voidupdateSuspensionState(CommandContext commandContext, SuspensionState suspensionState)
-
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
executionDatecan 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)
-