public abstract class AbstractVariableCmd extends Object implements Command<Void>, Serializable
Modifier and Type | Field and Description |
---|---|
protected CommandContext |
commandContext |
protected String |
entityId |
protected boolean |
isLocal |
protected boolean |
preventLogUserOperation |
Constructor and Description |
---|
AbstractVariableCmd(String entityId,
boolean isLocal) |
Modifier and Type | Method and 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) |
protected CommandContext commandContext
protected String entityId
protected boolean isLocal
protected boolean preventLogUserOperation
public AbstractVariableCmd(String entityId, boolean isLocal)
public AbstractVariableCmd disableLogUserOperation()
public Void execute(CommandContext commandContext)
protected abstract AbstractVariableScope getEntity()
protected abstract ExecutionEntity getContextExecution()
protected abstract void logVariableOperation(AbstractVariableScope scope)
protected abstract void executeOperation(AbstractVariableScope scope)
protected abstract String getLogEntryOperation()
protected void onSuccess(AbstractVariableScope scope)
Copyright © 2019. All rights reserved.