Package org.camunda.bpm.engine.impl.cmd
Class AbstractVariableCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AbstractVariableCmd
-
- All Implemented Interfaces:
Serializable,Command<Void>
- Direct Known Subclasses:
AbstractRemoveVariableCmd,AbstractSetVariableCmd
public abstract class AbstractVariableCmd extends Object implements Command<Void>, Serializable
- Author:
- Stefan Hentschel.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CommandContextcommandContextprotected StringentityIdprotected booleanisLocalprotected booleanpreventLogUserOperation
-
Constructor Summary
Constructors Constructor Description AbstractVariableCmd(String entityId, boolean isLocal)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AbstractVariableCmddisableLogUserOperation()Voidexecute(CommandContext commandContext)protected abstract voidexecuteOperation(AbstractVariableScope scope)protected abstract ExecutionEntitygetContextExecution()protected abstract AbstractVariableScopegetEntity()protected abstract StringgetLogEntryOperation()protected abstract voidlogVariableOperation(AbstractVariableScope scope)protected voidonSuccess(AbstractVariableScope scope)-
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
-
commandContext
protected CommandContext commandContext
-
entityId
protected String entityId
-
isLocal
protected boolean isLocal
-
preventLogUserOperation
protected boolean preventLogUserOperation
-
-
Constructor Detail
-
AbstractVariableCmd
public AbstractVariableCmd(String entityId, boolean isLocal)
-
-
Method Detail
-
disableLogUserOperation
public AbstractVariableCmd disableLogUserOperation()
-
execute
public Void execute(CommandContext commandContext)
-
getEntity
protected abstract AbstractVariableScope getEntity()
-
getContextExecution
protected abstract ExecutionEntity getContextExecution()
-
logVariableOperation
protected abstract void logVariableOperation(AbstractVariableScope scope)
-
executeOperation
protected abstract void executeOperation(AbstractVariableScope scope)
-
getLogEntryOperation
protected abstract String getLogEntryOperation()
-
onSuccess
protected void onSuccess(AbstractVariableScope scope)
-
-