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 CommandContext
commandContext
protected String
entityId
protected boolean
isLocal
protected boolean
preventLogUserOperation
-
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 AbstractVariableCmd
disableLogUserOperation()
Void
execute(CommandContext commandContext)
protected abstract void
executeOperation(AbstractVariableScope scope)
protected abstract ExecutionEntity
getContextExecution()
protected abstract AbstractVariableScope
getEntity()
protected abstract 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 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)
-
-