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