Package org.camunda.bpm.engine.impl.cmd
Class SetTaskVariablesCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AbstractVariableCmd
-
- org.camunda.bpm.engine.impl.cmd.AbstractSetVariableCmd
-
- org.camunda.bpm.engine.impl.cmd.SetTaskVariablesCmd
-
- All Implemented Interfaces:
java.io.Serializable
,VariableInstanceLifecycleListener<VariableInstanceEntity>
,Command<java.lang.Void>
public class SetTaskVariablesCmd extends AbstractSetVariableCmd implements VariableInstanceLifecycleListener<VariableInstanceEntity>
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
taskLocalVariablesUpdated
-
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetVariableCmd
skipJavaSerializationFormatCheck, variables
-
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractVariableCmd
commandContext, entityId, isLocal, preventLogUserOperation
-
-
Constructor Summary
Constructors Constructor Description SetTaskVariablesCmd(java.lang.String taskId, java.util.Map<java.lang.String,? extends java.lang.Object> variables, boolean isLocal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkSetTaskVariables(TaskEntity task)
protected ExecutionEntity
getContextExecution()
protected TaskEntity
getEntity()
protected void
logVariableOperation(AbstractVariableScope scope)
void
onCreate(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope)
void
onDelete(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope)
protected void
onLocalVariableChanged()
protected void
onSuccess(AbstractVariableScope scope)
void
onUpdate(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope)
-
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetVariableCmd
executeOperation, getLogEntryOperation
-
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractVariableCmd
disableLogUserOperation, execute
-
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
-
-
-
-
Method Detail
-
getEntity
protected TaskEntity getEntity()
- Specified by:
getEntity
in classAbstractVariableCmd
-
onSuccess
protected void onSuccess(AbstractVariableScope scope)
- Overrides:
onSuccess
in classAbstractVariableCmd
-
getContextExecution
protected ExecutionEntity getContextExecution()
- Specified by:
getContextExecution
in classAbstractVariableCmd
-
logVariableOperation
protected void logVariableOperation(AbstractVariableScope scope)
- Specified by:
logVariableOperation
in classAbstractVariableCmd
-
checkSetTaskVariables
protected void checkSetTaskVariables(TaskEntity task)
-
onLocalVariableChanged
protected void onLocalVariableChanged()
-
onCreate
public void onCreate(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope)
- Specified by:
onCreate
in interfaceVariableInstanceLifecycleListener<VariableInstanceEntity>
-
onDelete
public void onDelete(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope)
- Specified by:
onDelete
in interfaceVariableInstanceLifecycleListener<VariableInstanceEntity>
-
onUpdate
public void onUpdate(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope)
- Specified by:
onUpdate
in interfaceVariableInstanceLifecycleListener<VariableInstanceEntity>
-
-