Package org.camunda.bpm.engine.impl.cmd
Class AbstractSetBatchStateCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AbstractSetBatchStateCmd
-
- Direct Known Subclasses:
ActivateBatchCmd
,SuspendBatchCmd
public abstract class AbstractSetBatchStateCmd extends Object implements Command<Void>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
batchId
static String
SUSPENSION_STATE_PROPERTY
-
Constructor Summary
Constructors Constructor Description AbstractSetBatchStateCmd(String batchId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
checkAccess(CommandChecker checker, BatchEntity batch)
protected void
checkAccess(CommandContext commandContext, BatchEntity batch)
protected AbstractSetJobDefinitionStateCmd
createSetJobDefinitionStateCommand(String jobDefinitionId)
protected abstract AbstractSetJobDefinitionStateCmd
createSetJobDefinitionStateCommand(UpdateJobDefinitionSuspensionStateBuilderImpl builder)
Void
execute(CommandContext commandContext)
protected abstract SuspensionState
getNewSuspensionState()
protected abstract String
getUserOperationType()
protected void
logUserOperation(CommandContext commandContext, String tenantId)
protected void
setJobDefinitionState(CommandContext commandContext, String jobDefinitionId)
-
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
-
SUSPENSION_STATE_PROPERTY
public static final String SUSPENSION_STATE_PROPERTY
- See Also:
- Constant Field Values
-
batchId
protected String batchId
-
-
Constructor Detail
-
AbstractSetBatchStateCmd
public AbstractSetBatchStateCmd(String batchId)
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
getNewSuspensionState
protected abstract SuspensionState getNewSuspensionState()
-
checkAccess
protected void checkAccess(CommandContext commandContext, BatchEntity batch)
-
checkAccess
protected abstract void checkAccess(CommandChecker checker, BatchEntity batch)
-
setJobDefinitionState
protected void setJobDefinitionState(CommandContext commandContext, String jobDefinitionId)
-
createSetJobDefinitionStateCommand
protected AbstractSetJobDefinitionStateCmd createSetJobDefinitionStateCommand(String jobDefinitionId)
-
createSetJobDefinitionStateCommand
protected abstract AbstractSetJobDefinitionStateCmd createSetJobDefinitionStateCommand(UpdateJobDefinitionSuspensionStateBuilderImpl builder)
-
logUserOperation
protected void logUserOperation(CommandContext commandContext, String tenantId)
-
getUserOperationType
protected abstract String getUserOperationType()
-
-