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