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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.impl.interceptor.CommandisRetryable
- 
Field Details- 
SUSPENSION_STATE_PROPERTY- See Also:
 
- 
includeSubResourcesprotected boolean includeSubResources
- 
isLogUserOperationDisabledprotected boolean isLogUserOperationDisabled
- 
executionDate
 
- 
- 
Constructor Details- 
AbstractSetStateCmd
 
- 
- 
Method Details- 
execute
- 
triggerHistoryEvent
- 
disableLogUserOperationpublic void disableLogUserOperation()
- 
isLogUserOperationDisabledprotected boolean isLogUserOperationDisabled()
- 
isIncludeSubResourcesprotected 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
- 
updateSuspensionStateprotected abstract void updateSuspensionState(CommandContext commandContext, SuspensionState suspensionState) 
- 
logUserOperation
- 
getLogEntryOperation
- 
getNewSuspensionState
- 
getDeploymentIdByProcessDefinitionprotected String getDeploymentIdByProcessDefinition(CommandContext commandContext, String processDefinitionId) 
- 
getDeploymentIdByProcessDefinitionKeyprotected String getDeploymentIdByProcessDefinitionKey(CommandContext commandContext, String processDefinitionKey, boolean tenantIdSet, String tenantId) 
- 
getDeploymentIdByJobDefinitionprotected String getDeploymentIdByJobDefinition(CommandContext commandContext, String jobDefinitionId) 
 
-