public class OperationServiceImpl extends java.lang.Object implements OperationService
| Constructor and Description |
|---|
OperationServiceImpl(OperationExecutorStrategyProvider operationExecutorStrategyProvider,
LeftOperandHandlerProvider leftOperandHandlerProvider,
ExpressionResolverService expressionResolverService,
PersistRightOperandResolver persistRightOperandResolver,
TechnicalLoggerService logger) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
evaluateRightOperandExpression(SOperation operation,
SExpressionContext expressionContext,
SExpression sExpression) |
void |
execute(java.util.List<SOperation> operations,
long leftOperandContainerId,
java.lang.String leftOperandContainerType,
SExpressionContext expressionContext)
Execute the given operation in the given context and update data that are in the given data container
|
void |
execute(java.util.List<SOperation> operations,
SExpressionContext expressionContext)
Execute the given operation in the given context and update data that are in the same context
|
void |
execute(SOperation operation,
long containerId,
java.lang.String containerType,
SExpressionContext expressionContext)
Execute the given operation in the given context and update data that are in the given data container
|
public OperationServiceImpl(OperationExecutorStrategyProvider operationExecutorStrategyProvider, LeftOperandHandlerProvider leftOperandHandlerProvider, ExpressionResolverService expressionResolverService, PersistRightOperandResolver persistRightOperandResolver, TechnicalLoggerService logger)
public void execute(SOperation operation, long containerId, java.lang.String containerType, SExpressionContext expressionContext) throws SOperationExecutionException
OperationServiceexecute in interface OperationServiceoperation - the operation to executecontainerId - the id of the data container (used for left operand)containerType - the type of the data container (used for left operand)expressionContext - the context in which execute the operationSOperationExecutionExceptionpublic void execute(java.util.List<SOperation> operations, SExpressionContext expressionContext) throws SOperationExecutionException
OperationServiceexecute in interface OperationServiceSOperationExecutionExceptionpublic void execute(java.util.List<SOperation> operations, long leftOperandContainerId, java.lang.String leftOperandContainerType, SExpressionContext expressionContext) throws SOperationExecutionException
OperationServiceexecute in interface OperationServiceoperations - the operations to executeleftOperandContainerId - the id of the container (used for left operand)leftOperandContainerType - the type of the container (used for left operand)expressionContext - the context in which execute the operationSOperationExecutionExceptionprotected java.lang.Object evaluateRightOperandExpression(SOperation operation, SExpressionContext expressionContext, SExpression sExpression) throws SOperationExecutionException
SOperationExecutionException