org.camunda.bpm.engine.impl.cmd
Class AbstractVariableCmd

java.lang.Object
  extended by 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
protected  CommandContext commandContext
           
protected  String entityId
           
protected  boolean isLocal
           
protected  boolean preventLogUserOperation
           
 
Constructor Summary
AbstractVariableCmd(String entityId, boolean isLocal)
           
 
Method Summary
 AbstractVariableCmd disableLogUserOperation()
           
 Void execute(CommandContext commandContext)
           
protected abstract  void executeOperation(AbstractVariableScope scope)
           
protected abstract  AbstractVariableScope getEntity()
           
protected abstract  String getLogEntryOperation()
           
protected abstract  void logVariableOperation(AbstractVariableScope scope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)
Specified by:
execute in interface Command<Void>

getEntity

protected abstract AbstractVariableScope getEntity()

logVariableOperation

protected abstract void logVariableOperation(AbstractVariableScope scope)

executeOperation

protected abstract void executeOperation(AbstractVariableScope scope)

getLogEntryOperation

protected abstract String getLogEntryOperation()


Copyright © 2016 camunda services GmbH. All rights reserved.